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

Synopsis

bluePencilStroke [-frameAdded] [-layerAdded int]

bluePencilStroke is undoable, NOT queryable, and NOT editable.

Command used to commit active blue pencil strokes.

Return value

None

Flags

frameAdded, layerAdded
Long name (short name) Argument types Properties
-frameAdded(-fa) create
The index of the frame added for the new stroke. This is set to remove it when undoing.
-layerAdded(-la) int create
Sets the index of the added layer to remove it when undoing.

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

// Commit active drawing stroke on the perspective camera.
bluePencilStroke -layerAdded 2 -frameAdded "perspective";