Lock Viewport
viewport_lockLock or unlock a viewport's display scale in AutoCAD to prevent accidental zoom changes and maintain consistent views.
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 | |||