Go to: Synopsis. Return value. Python examples.
bluePencilDrawCtx()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
bluePencilDrawCtx is undoable, queryable, and editable.
Command to create the blue pencil drawing context.None
In query mode, return type is based on queried flag.
import maya.cmds as cmds // Create blue pencil draw context. cmds.bluePencilDrawCtx('contextName') // Flag the draw context as dirty. cmds.bluePencilDrawCtx(e=True, 'contextName')