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. Flag can have multiple arguments, passed either as a tuple or a list.

smooth (sm) bool ../../../_images/create.gif
 
Sets selected anchors (or attached tangent handles) to smooth when true, broken otherwise.

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 )

Previous topic

pymel.core.modeling.bezierAnchorPreset

Next topic

pymel.core.modeling.bezierCurveToNurbs

Core

Core Modules

Other Modules

This Page