Create Assembly
create_assemblyCreates a new empty SolidWorks assembly document and makes it active, ready for inserting components; accepts an optional .asmdot template and requires SolidWorks running.
Instructions
Create a new, empty assembly document and make it active, ready for insert_component.
Uses template (an .asmdot) or the default assembly template. It is not saved
until save_file. Needs: SolidWorks running. Changes: opens a new assembly
document. Returns: assembly with name and template. Then call
insert_component for each part.
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": "create_assembly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The assembly. `name` is required but only a label: the reply gives SolidWorks' own name (Assem1, ...); `template` has a default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||