Modifies edges of a polygonal object. Translate, move, rotate or scale edges.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
caching (cch) | bool | ||
|
|||
constructionHistory (ch) | bool | ||
Turn the construction history on or off (where applicable). If construction history is on then the corresponding node will be inserted into the history chain for the mesh. If construction history is off then the operation will be performed directly on the object.Note:If the object already has construction history then this flag is ignored and the node will always be inserted into the history chain. |
|||
gain (ga) | float | ||
localCenter (lc) | int | ||
|
|||
localDirection (ld) | float, float, float | ||
|
|||
localDirectionX (ldx) | float | ||
|
|||
localDirectionY (ldy) | float | ||
|
|||
localDirectionZ (ldz) | float | ||
|
|||
localRotate (lr) | float, float, float | ||
|
|||
localRotateX (lrx) | float | ||
|
|||
localRotateY (lry) | float | ||
|
|||
localRotateZ (lrz) | float | ||
|
|||
localScale (ls) | float, float, float | ||
|
|||
localScaleX (lsx) | float | ||
|
|||
localScaleY (lsy) | float | ||
|
|||
localScaleZ (lsz) | float | ||
|
|||
localTranslate (lt) | float, float, float | ||
|
|||
localTranslateX (ltx) | float | ||
|
|||
localTranslateY (lty) | float | ||
|
|||
localTranslateZ (ltz) | float | ||
|
|||
name (n) | unicode | ||
|
|||
nodeState (nds) | int | ||
Defines how to evaluate the node. 0: Normal1: PassThrough2: Blocking3: Internally disabled. Will return to Normal state when enabled4: Internally disabled. Will return to PassThrough state when enabled5: Internally disabled. Will return to Blocking state when enabledFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
pivot (pvt) | float, float, float | ||
|
|||
pivotX (pvx) | float | ||
|
|||
pivotY (pvy) | float | ||
|
|||
pivotZ (pvz) | float | ||
|
|||
random (ran) | float | ||
|
|||
rotate (ro) | float, float, float | ||
|
|||
rotateX (rx) | float | ||
|
|||
rotateY (ry) | float | ||
|
|||
rotateZ (rz) | float | ||
|
|||
scale (s) | float, float, float | ||
|
|||
scaleX (sx) | float | ||
|
|||
scaleY (sy) | float | ||
|
|||
scaleZ (sz) | float | ||
|
|||
translate (t) | float, float, float | ||
|
|||
translateX (tx) | float | ||
|
|||
translateY (ty) | float | ||
|
|||
translateZ (tz) | float | ||
|
|||
worldSpace (ws) | bool | ||
This flag specifies which reference to use. If on : all geometrical values are taken in world reference. If off : all geometrical values are taken in object reference.C: Default is off.Global Values |
Derived from mel command maya.cmds.polyMoveEdge
Example:
import pymel.core as pm
import maya.cmds as cmds
# Create a sphere.
pm.polySphere( n='plg', r=5 )
pm.select( 'plg.e[200:219]', 'plg.e[560:599]' )
# Translate selected edges along Z in local coordinates.
pm.polyMoveEdge( ltz=1.0 )
# Scale selected edges by (0.5 0.5 0.5)
pm.polyMoveEdge( 'plg.e[100:119]', s=(0.5, 0.5, 0.5) )