viewport_set_scale
Sets a paper-space viewport’s positive custom architectural or engineering scale by handle, then returns the verified scale and derived view height.
Instructions
Set a paper-space viewport's positive custom scale by handle and return the verified scale and derived view height.
Side-effects: Updates viewport magnification and view height. Disambiguation: Adjusts architectural/engineering scale (e.g. 1:50, 1:100).
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": {
"handle": "<handle>",
"scale": "<scale>"
},
"name": "viewport_set_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | Positive scale factor (paper units / model units) | |
| handle | Yes | Persistent CAD handle of the viewport entity |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||