Go to: Synopsis. Return value. Flags. Python examples.
bezierAnchorPreset([preset=int])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
bezierAnchorPreset is undoable, NOT queryable, and NOT editable.
This command provides a queryable interface for Bezier curve shapes.
int | (number of modified anchors) |
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
preset(p)
|
int
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Applies the "Bezier" anchor preset to all selected anchors cmds.bezierAnchorPreset( p=0 ) # Applies the "Bezier Corner" anchor preset to all selected anchors cmds.bezierAnchorPreset( p=1 ) # Applies the "Corner" anchor preset to all selected anchors cmds.bezierAnchorPreset( p=2 )