Creates a new sketch on the specified planar entity. If a BRepFace is provided, the edges of the face are not projected into the sketch so the result of creating a new sketch with this method will always be a new empty sketch.
"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. |