This command extends a surface or creates a new surface as an extension.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
caching (cch) | bool | ||
|
|||
constructionHistory (ch) | bool | ||
|
|||
distance (d) | float | ||
|
|||
extendDirection (ed) | int | ||
|
|||
extendMethod (em) | int | ||
|
|||
extendSide (es) | int | ||
|
|||
extensionType (et) | int | ||
|
|||
join (jn) | bool | ||
|
|||
name (n) | unicode | ||
|
|||
noChanges (nc) | bool | ||
nodeState (nds) | int | ||
|
|||
object (o) | bool | ||
|
|||
replaceOriginal (rpo) | bool | ||
|
Derived from mel command maya.cmds.extendSurface
Example:
import pymel.core as pm
import maya.cmds as cmds
#Create a nurbs plane, then extend both sides of the plane by 10
pm.nurbsPlane(n='plane1')
# Result: [nt.Transform(u'plane1'), nt.MakeNurbPlane(u'makeNurbPlane1')] #
pm.extendSurface('plane1', d=10, es=2)
# Result: [nt.Transform(u'plane1'), nt.ExtendSurface(u'extendSurface1')] #