save_body_as_part
Extracts a single named solid body from the active multibody part and saves it as a standalone .sldprt file, confirming success by checking the file on disk.
Instructions
Extract one solid body from the active multibody part to a new file.
Runs SolidWorks' Save Bodies on a single named body, writing a
standalone part to file_path. The body is matched by name against
the active part's solid bodies; the response lists every solid body
found, so an unknown name reports the real options. Success is
confirmed by the file existing on disk afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The body name and target path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||