Set Viewport Scale
viewport_set_scaleRescale a viewport to a given paper-to-model scale. Applies geometric scale only, leaving annotative text and dimensions unchanged, and rejects the layout's main viewport.
Instructions
Rescale a viewport by adjusting its view height.
Geometric scale only: annotative text and dimensions do not resize with it. Refuses the layout's main viewport, whose view height is the tab's own pan/zoom state rather than a drafting scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | Paper:model scale (1.0 = 1:1, 0.5 = 1:2, 0.02 = 1:50). | |
| handle | Yes | Viewport entity handle (from viewport_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||