Creates a new sketch on the specified planar entity.
"sketches_var" is a variable referencing a Sketches object.
|
"sketches_var" is a variable referencing a Sketches object.
|
Type | Description |
Sketch | Returns the newly created Sketch or null if the creation failed. |
Name | Type | Description |
planarEntity | Base | A construction plane or planar face that defines the sketch plane |
occurrenceForCreation | Occurrence | A creation occurrence is needed if the planarEntity is in another component AND the sketch is not in the root component. The occurrenceForCreation is analogous to the active occurrence in the UI. This is an optional argument whose default value is null. |
Name | Description |
API Sample that demonstrates creating sketch lines in various ways. | Demonstrates several ways to create sketch lines, including as the result of creating a rectangle. |
Loft Feature API Sample | Demonstrates creating a new loft feature. |
Patch Feature API Sample | Demonstrates creating a new patch feature. |
Simple Extrusion Sample | Creates a new extrusion feature, resulting in a new component. |
Simple Revolve Feature Sample | Creates a new revolve feature, resulting in a new component. |
Sketches.add | Demonstrates the Sketches.add method. |