Login | Sign Up

AutoLISP Function Detail
Name: setview

(setview viewtbl [vport_id])

Sets the viewport to the called view. The called view must be saved in the AutoCAD drawing. The Viewport ID is optional and is a value generated from the Cvport system variable. The viewtbl value is from a stored view in the View table. You can use either the tblsearch or tblnext functions to get this value.

(setq tblen (tblsearch "view" "plan"))
(setview tblen)
[varies results]