Load Assembly
load_assemblyOpen an existing SolidWorks assembly (.sldasm) from disk and make it the active document to start assembly work.
Instructions
Deprecated: use open_model.
Open an assembly (.sldasm) from disk and make it the active document.
Use it to start work on an existing assembly; 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 .sldasm is refused. Needs: the file on
disk. Changes: opens the assembly (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_assembly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The assembly. `file_path` (a .sldasm) is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||