catia_activate_body
Sets a specified body as the active in-work object, so subsequent feature creation (sketch, pad, pocket) adds geometry to that body rather than MainBody. Call after creating a new body to work in it.
Instructions
Set a Body as the active 'in work object' (Part.InWorkObject) — the 'Define In Work Object' right-click action from the CATIA GUI. After calling this, catia_create_sketch/catia_pad/catia_pocket/etc. create their features inside this body instead of MainBody. Call this right after catia_new_body to start working in it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_name | Yes | Name of the body to activate, e.g. 'Body.2' or 'Rough'. |