Go to: Synopsis. Return value. Flags. MEL examples.
bezierAnchorPreset [-preset int]
bezierAnchorPreset is undoable, NOT queryable, and NOT
editable.
This command provides a queryable interface for Bezier curve
shapes.
int |
(number of modified anchors) |
preset
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 appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can be used more than once in a
command. |
// Applies the "Bezier" anchor preset to all selected anchors
bezierAnchorPreset -p 0;
// Applies the "Bezier Corner" anchor preset to all selected anchors
bezierAnchorPreset -p 1;
// Applies the "Corner" anchor preset to all selected anchors
bezierAnchorPreset -p 2;