Go to: Synopsis. Return value. MEL examples.
greasePencilCtx
greasePencilCtx is undoable, queryable, and editable.
This is a tool context command for the grease pencil tool.None
In query mode, return type is based on queried flag.
// Create a new grease pencil context, then switch to it greasePencilCtx greasePencilCtx1; setToolTo greasePencilCtx1;