Go to: Synopsis. Return value. Flags. Python examples.
bluePencilStroke([frameAdded=boolean], [layerAdded=int])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
bluePencilStroke is undoable, NOT queryable, and NOT editable.
Command used to commit active blue pencil strokes.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
frameAdded(fa)
|
boolean
|
![]() |
||
|
||||
layerAdded(la)
|
int
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Commit active drawing stroke on the perspective camera. cmds.bluePencilStroke('perspective', layerAdded=2, frameAdded=True)