pymel.core.modeling.bezierAnchorState

bezierAnchorState(*args, **kwargs)

The bezierAnchorState command provides an easy interface to modify anchor states: - Smooth/Broken anchor tangents - Even/Uneven weighted anchor tangents

Flags:

Long Name / Short Name Argument Types Properties
even / ev bool ../../../_images/create.gif
  Sets selected anchors (or attached tangent handles) to even weighting when true, uneven otherwise.
smooth / sm bool ../../../_images/create.gif
  Sets selected anchors (or attached tangent handles) to smooth when true, broken otherwise. Flag can have multiple arguments, passed either as a tuple or a list.

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 )