Go to: Synopsis. Return value. Python examples.

Synopsis

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.

Return value

None

In query mode, return type is based on queried flag.

Python examples

import maya.cmds as cmds

// Create blue pencil draw context.
cmds.bluePencilDrawCtx('contextName')

// Flag the draw context as dirty.
cmds.bluePencilDrawCtx(e=True, 'contextName')