Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

curveSketchCtx [-degree uint] [object]

curveSketchCtx is undoable, queryable, and editable.

The curveSketchCtx command creates a new curve sketch context, also known as the "pencil context".

Return value

string(name of the new curve sketch context)

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

Flags

degree
Long name (short name) Argument types Properties
-degree(-d) uint createqueryedit
Valid values are 1 or 3

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// To create a new sketch context, which creates degree 3 curves:
curveSketchCtx -degree 3;
// To query the degree of an existing context:
curveSketchCtx -q -degree pencilContext;
// To edit the degree of an existing context:
curveSketchCtx -e -degree 1 pencilContext;