Lock Viewport
viewport_lockLock or unlock a viewport's display scale by providing its entity handle. Prevents accidental zoom changes in AutoCAD layouts.
Instructions
Lock or unlock a viewport's display scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Viewport entity handle (from viewport_list). | |
| locked | No | True to lock the display scale, False to unlock. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||