Restore UCS
ucs_restoreRestore a named User Coordinate System (UCS) or set it to World. Switches the active coordinate system for consistent drawing orientation.
Instructions
Live: ActiveUCS for a named entry; world runs UCS World, which is
refused while AutoCAD has an active command (CMDACTIVE — press ESC).
Headless: the $UCSNAME/$UCSORG/$UCSXDIR/$UCSYDIR header variables.
Refusal: an unknown name (lists the saved ones). Tool coordinates stay
WCS. Pack: settings · lean: no.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name from ucs_list, or `world` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||