setview
(setview View_definition [Viewport_ID])
The setview function establishes a 3D view for a specified Viewport of the current drawing.
Arguments
View_definition specifies a list formatted like a list returned by the tblnext function or the tblsearch function when applied to a VIEW drawing database table.
Viewport_ID determines the Viewport to apply the specified view on.
The Viewport ID number is like the number returned by the CVPORT system variable.
Return Value
If the function succeeds, it returns the description list of the view. If it fails, the function returns nil.
tblnext, tblsearch