Go to: Synopsis. Return value. Flags. MEL examples.
duplicateSurface [-constructionHistory boolean]
[-local boolean] [-name string] [-object boolean]
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 be used more than once in a
command. |
nurbsPlane -u 4 -v 3;
duplicateSurface -ch true -o true nurbsPlane1.sf[1:2][0:1];
// Duplicates 4 faces of a nurbs plane.