ILoveMadoka Posted December 7, 2018 Share Posted December 7, 2018 Change space requires a pick (dbl-click) inside of a viewport. I do not know how to accomplish this in simple lisp. I tried pre-selecting the desired viewport with <entsel> and it is inconsistent.. (Command "CHSpace" "L" "" "") I want to move the Last object to MS from PS. Help please.. Quote Link to comment Share on other sites More sharing options...
ILoveMadoka Posted December 8, 2018 Author Share Posted December 8, 2018 I have a drawing with about 20 tabs. Each tab can have anywhere from 1 to 6 Viewports. I am drawing a boundary around each viewport then executing my CHSPACE routine. I have to do them one at a time because the orientation of each view in modelspace is so convoluted in relation to the orientation in paperspace. I don''t know how to perform a double click inside the desired viewport within a lisp routine. I'm not asking anyone to write a whole routine. I'm asking how to perform a double click or somehow set a particular viewport as "active" or current in PS within a lsp routine. (Is this even possible?) the MSPACE command <run next> shows which viewport was used in the CHSpace command. If it's the wrong one, the boundary is copied into the wrong place! Quote Link to comment Share on other sites More sharing options...
Cad64 Posted December 8, 2018 Share Posted December 8, 2018 Here's a routine that does exactly what you're asking. Just double click inside a viewport and then run the routine. https://jtbworld.com/autocad-vp-outline-lsp Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted December 8, 2018 Share Posted December 8, 2018 1 hour ago, ILoveMadoka said: I am drawing a boundary around each viewport then executing my CHSPACE routine. My Viewport Outline program offers another option. Quote Link to comment Share on other sites More sharing options...
Cad64 Posted December 8, 2018 Share Posted December 8, 2018 28 minutes ago, Lee Mac said: My Viewport Outline program offers another option. Sorry Lee. If I knew you had a routine I would have linked him to your page instead of the other one. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted December 8, 2018 Share Posted December 8, 2018 No worries Rod! Jimmy's stuff over at JTBWorld is great Quote Link to comment Share on other sites More sharing options...
ILoveMadoka Posted December 8, 2018 Author Share Posted December 8, 2018 Thanks so much guys... Will test these out on Monday when I get back to the office. I appreciate the replies. Quote Link to comment Share on other sites More sharing options...
ILoveMadoka Posted December 10, 2018 Author Share Posted December 10, 2018 (edited) Lee, Your program works perfectly. Exactly what I was looking for. I'm embarrassed that I did not see it on your site... Thank you once again Sir. ps: Thanks also to Cad64. Edited December 10, 2018 by ILoveMadoka Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted December 10, 2018 Share Posted December 10, 2018 You're welcome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.