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
-extensionType(-et) int createqueryedit
The type of extension (0 - tangent, 2 - extrapolate)
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
-extendDirection(-ed) int createqueryedit
Which parametric direction of the surface to extend ( 0 - U, 1 - V, 2 - both )
Default: 0
-join(-jn) boolean createqueryedit
Join extension to original
Default: true
-distance(-d) linear createqueryedit
The distance to extend (for by distance only)
Default: 1
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.
Common flags
-name(-n) string create
Name the resulting object
-constructionHistory(-ch) boolean create
Turn the construction history on or off
-object(-o) boolean create
Create the result, or just the dependency node
-replaceOriginal(-rpo) boolean create
Create "in place" (i.e., replace)

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;