setview

AutoCad AutoLISP Functions

 
setview
 
 
 

Establishes a view for a specified viewport

(setview view_descriptor [vport_id]) 

Arguments

view_descriptor

An entity definition list similar to that returned by tblsearch when applied to the VIEW symbol table.

vport_id

An integer identifying the viewport to receive the new view. If vport_id is 0, the current viewport receives the new view.

You can obtain the vport_id number from the CVPORT system variable.

Return Values

If successful, the setview function returns the view_descriptor.