Go to: Synopsis. Return value. MEL examples.

Synopsis

greasePencilCtx

greasePencilCtx is undoable, queryable, and editable.

This is a tool context command for the grease pencil tool.

Return value

None

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

MEL examples

// Create a new grease pencil context, then switch to it
greasePencilCtx greasePencilCtx1;
setToolTo greasePencilCtx1;