Get Custom Properties
get_custom_propertiesReads the active SolidWorks document's custom properties, including PartNo, Description, Revision, and resolved $PRP links, with optional configuration-specific values for title blocks and BOMs.
Instructions
Read the active document's custom properties, such as PartNo, Description or Revision.
File-level properties (the default) are what drawing title blocks and BOMs
usually read; give configuration for that configuration's own. Needs: an open,
active document. Read-only. Returns: data with properties, each name mapped
to its value and resolved value (a $PRP link evaluated).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_custom_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | Nothing is required: `configuration` reads that configuration's properties instead of the file's. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||