assembly_activate
Sets the active occurrence or component in an assembly so new sketches and features are created in that component. Call without arguments to return to the root component.
Instructions
Activate an occurrence (new sketches and features then go into its component) or, without argument, the root component again.
Returns {"active_component": "component:", "active_occurrence": "occurrence:" | null}.
Example: assembly_activate(occurrence="occurrence:Lid:1") -> {"active_component": "component:Lid", "active_occurrence": "occurrence:Lid:1"}; assembly_activate() -> back to root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| occurrence | No | Occurrence ref; omit to activate the root component |