Go to: Synopsis. Return value. Flags. MEL examples.
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".string | (name of the new curve sketch context) |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-degree(-d)
|
uint
|
|||
|
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. |
// 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;