Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

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

Return value

int (number of modified anchors)

Flags

even, smooth
Long name (short name) Argument types Properties
smooth(sm) boolean create
Sets selected anchors (or attached tangent handles) to smooth when true, broken otherwise.
even(ev) boolean create
Sets selected anchors (or attached tangent handles) to even weighting when true, uneven otherwise.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# Sets all selected anchors (or attached tangent handles) to smooth and uneven
cmds.bezierAnchorState( sm=1, ev=0 )