Go to: Synopsis. Return value. Flags. Python examples.
bezierAnchorState([even=boolean], [smooth=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
bezierAnchorState is undoable, NOT queryable, and NOT editable.
The bezierAnchorState command provides an easy interface to modify anchor states:- Smooth/Broken anchor tangents - Even/Uneven weighted anchor tangents
int | (number of modified anchors) |
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
even(ev)
|
boolean
|
![]() |
||
|
||||
smooth(sm)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Sets all selected anchors (or attached tangent handles) to smooth and uneven cmds.bezierAnchorState( sm=1, ev=0 )