Go to: Synopsis. Return value. Flags. Python examples. 
      
       duplicateSurface([constructionHistory=boolean], [local=boolean], [name=string], [object=boolean])  
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
      duplicateSurface is undoable, queryable, and editable.
      The duplicateSurface command takes a surface patch (face) and
and returns the 3D surface. Connected patches are returned
as a single surface.
	  
      
      | string[] | Object name and node name | 
In query mode, return type is based on queried flag.
      
      
      
    
      constructionHistory, local, name, object
      
		
		  | Long name (short name) | 
		  Argument types | 
		  Properties | 
		
		| Common flags | 
	
	  
	    
	      name(n)
	   | 
	  
	    string
	   | 
	  
 
	   | 
	
	
	  
	    
	      
		 | 
		  
Name the resulting object
      
		   | 
	       
	     
	   | 
	
	
	  
	    
	      constructionHistory(ch)
	   | 
	  
	    boolean
	   | 
	  
 
	   | 
	
	
	  
	    
	      
		 | 
		  
Turn the construction history on or off (where applicable)
      
		   | 
	       
	     
	   | 
	
	
	  
	    
	      object(o)
	   | 
	  
	    boolean
	   | 
	  
 
	   | 
	
	
	  
	    
	      
		 | 
		  
Create the result, or just the dependency node (where applicable)
      
		   | 
	       
	     
	   | 
	
	
	  
	    
	      local(l)
	   | 
	  
	    boolean
	   | 
	  
 
	   | 
	
	
	  
	    
	      
		 | 
		  
Copy the transform of the surface and connect to the local
space version instead.
      
		   | 
	       
	     
	   | 
	
      
      
		
		  
			 
				Flag can appear in Create mode of command
			 | 
			 
				Flag can appear in Edit mode of command
			 | 
		  
		  
			 
				Flag can appear in Query mode of command
			 | 
			 
				Flag can have multiple arguments, passed either as a tuple or a list.
			 | 
		  
		
import maya.cmds as cmds
cmds.nurbsPlane( u=4, v=3 )
cmds.duplicateSurface( 'nurbsPlane1.sf[1:2][0:1]', ch=True, o=True )
# Duplicates 4 faces of a nurbs plane.