Function Entry: SETVIEW
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: SETVIEW
Name
setview
Class
Function
Syntax
(setview view_descriptor [vport_id])
Arguments and Values
- `viewdescriptor
: an entity-definition list similar to that returned bytblsearchfor theVIEW` symbol table. - `vportid
(optional): integer; the destination viewport.0selects the current viewport. The viewport identifier is held by theCVPORT` system variable.
Description
Establishes a view for a specified viewport.
Return Values
The `viewdescriptor on success, or nil` on failure.
Side Effects
Updates the named viewport's view to the supplied descriptor.
Examples
Not documented on the vendor page.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible.
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [setview (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-EEABEF66-423A-4D2B-BE16-AA6A56B08FBD.htm)
- Status: documented (Phase 3 body fill).