save_body_as_part
Extract a named solid body from the active multibody SOLIDWORKS part and save it as a standalone .sldprt file at a specified path.
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 | |||