Load Part
load_partOpens a .sldprt part file from disk and makes it the active document so you can start work on an existing part. Deprecated: use open_model instead.
Instructions
Deprecated: use open_model.
Open a part (.sldprt) from disk and make it the active document.
Use it to start work on an existing part; for any document type, use
open_model, and to switch to a document that is already open, use
activate_document. A path that isn't a .sldprt is refused. Needs: the file on
disk. Changes: opens the part (no file is written). Returns: model with
name, type, path and configuration (the one SolidWorks opened, or
null when it can't be read).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_data": "<input_data>"
},
"name": "load_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The part. `file_path` (a .sldprt) is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||