Moves an edge loop selection along the edges connected to the sides of its vertices.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
absolute (a) | bool | ||
This flag specifies whether or not the command uses absolute mode If in absolute then all vertices will move the same distance (the specified percentage of the smallest edge)C: Default is offFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
direction (d) | int | ||
|
|||
edgeDirection (ed) | float | ||
|
Derived from mel command maya.cmds.polySlideEdge
Example:
import pymel.core as pm
import maya.cmds as cmds
# Moves the selected edge loops to the left by 50% of their neighbouring left edges
pm.polySlideEdge(edgeDirection=0.5, direction=1)
# Moves the selected edge loops to the right by 200% of the length of the shortest neighbouring right edge
pm.polySlideEdge(edgeDirection=2, absolute=True)