lisp for changing view in viewport

lisp for changing view in viewport

Anonymous
Not applicable
1,837 Views
2 Replies
Message 1 of 3

lisp for changing view in viewport

Anonymous
Not applicable
Does anyone know if it's suitable/possible to do with lisp the following? I have multiple items drawn, in model space, 1 of which needs to be shown in paper space at a time. Iv got these objects saved in views, I'd like to run some lisp then click on a viewport and a list of saved views from model space be displayed to then be selected.

Thanks in advance
Dan
0 Likes
Accepted solutions (1)
1,838 Views
2 Replies
Replies (2)
Message 2 of 3

paullimapa
Mentor
Mentor
Accepted solution

When you save Views in Model Space and you want to restore them in Paper Space Vports, just use the standard AutoCAD VIEW command.

Inside View Manager window, select the Model Space View name and click Set Current or Double Click on the saved View name and click OK.

AutoCAD will automatically follow the command with a request for you to select a Pspace Vport to restore the View.

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales |Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 3 of 3

Anonymous
Not applicable
Thanks for that, it wasn't for me to use or I would use the view command, so I wrote it out in a couple of different macros and also created some dynamic blocks to get round what was needed.
0 Likes