Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

extendSurface [-caching boolean] [-constructionHistory boolean] [-distance linear] [-extendDirection int] [-extendMethod int] [-extendSide int] [-extensionType int] [-join boolean] [-name string] [-nodeState int] [-object boolean] [-replaceOriginal boolean] surface [surface]

extendSurface is undoable, queryable, and editable.

This command extends a surface or creates a new surface as an extension.

Return value

string[]Object name and node name

In query mode, return type is based on queried flag.

Flags

caching, constructionHistory, distance, extendDirection, extendMethod, extendSide, extensionType, join, name, nodeState, object, replaceOriginal
Long name (short name) Argument types Properties
-distance(-d) linear createqueryedit
The distance to extend (for by distance only)
Default: 1
-extendDirection(-ed) int createqueryedit
Which parametric direction of the surface to extend ( 0 - U, 1 - V, 2 - both )
Default: 0
-extendMethod(-em) int createqueryedit
The extend method (0 - distance)
Default: 0
-extendSide(-es) int createqueryedit
Which end of the surface to extend ( 0 - end, 1 - start, 2 - both )
Default: 1
-extensionType(-et) int createqueryedit
The type of extension (0 - tangent, 2 - extrapolate)
Default: 0
-join(-jn) boolean createqueryedit
Join extension to original
Default: true
Common flags
-constructionHistory(-ch) boolean create
Turn the construction history on or off.
-name(-n) string create
Sets the name of the newly-created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created.
-object(-o) boolean create
Create the result, or just the dependency node.
-replaceOriginal(-rpo) boolean create
Create "in place" (i.e., replace).
Advanced flags
-caching(-cch) boolean createqueryedit
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
-nodeState(-nds) int createqueryedit
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.

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.

MEL examples

//Create a nurbs plane, then extend both sides of the plane by 10
nurbsPlane -n plane1;
extendSurface -d 10 -es 2 plane1;