Skip to main content

Sketch

Extends SceneObject

Inherited from SceneObject

name()

name(value: string): this

Sets a custom display name for this object, overriding the default type-based name.

ParameterTypeDescription
valuestringThe display name to assign.

reusable()

reusable(): this

Marks this object as reusable. Reusable objects retain their shapes when consumed by features (e.g., extrude, revolve), allowing multiple features to reference the same source geometry. Use remove(obj) to force-remove shapes from a reusable object.

Methods

close()

close(): this

Marks the sketch finished. The editor stays in sketch mode while the timeline ends in an open sketch; a closed sketch ends that without a consuming feature, so a profile can be left unconsumed and the model still opens as a 3D scene. The Finish Sketch button adds this chain and removes it again when the sketch is reopened for editing.