This command provides a queryable interface for Bezier curve shapes.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
preset (p) | int | ||
Selects a preset to apply to selected Bezier anchors. Valid arguments are: 0: Bezier 1: Bezier Corner 2: Corner Flag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.bezierAnchorPreset
Example:
import pymel.core as pm
# Applies the "Bezier" anchor preset to all selected anchors
pm.bezierAnchorPreset( p=0 )
# Applies the "Bezier Corner" anchor preset to all selected anchors
pm.bezierAnchorPreset( p=1 )
# Applies the "Corner" anchor preset to all selected anchors
pm.bezierAnchorPreset( p=2 )