The bezierAnchorState command provides an easy interface to modify anchor states: - Smooth/Broken anchor tangents - Even/Uneven weighted anchor tangents
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
even (ev) | bool | ||
Sets selected anchors (or attached tangent handles) to even weighting when true, uneven otherwise. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
smooth (sm) | bool | ||
|
Derived from mel command maya.cmds.bezierAnchorState
Example:
import pymel.core as pm
# Sets all selected anchors (or attached tangent handles) to smooth and uneven
pm.bezierAnchorState( sm=1, ev=0 )