solidworks_api
Invoke SOLIDWORKS COM API methods, get or set properties, and pass arguments to automate parts, assemblies, drawings, and CAM operations.
Instructions
Invoke any exposed COM member. Use {$ref:handle}, {$variant:'I4',byref:true,value:0}, typed arrays with array:true, {$missing:true}, or {$bytes:base64}. Returns value and out_args. Get managers with action=get. Explicit action avoids confusing methods and properties. This is full API access: calls may modify documents, execute macros, or access local files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| value | No | ||
| action | No | call | |
| member | Yes | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||