Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

bezierAnchorPreset [-preset int]

bezierAnchorPreset is undoable, NOT queryable, and NOT editable.

This command provides a queryable interface for Bezier curve shapes.

Return value

int(number of modified anchors)

Flags

preset
Long name (short name) Argument types Properties
-preset(-p) int create
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.

MEL examples

// 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;