Jump to content
ILoveMadoka

How do I CHSPace??

Recommended Posts

ILoveMadoka

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..

Share this post


Link to post
Share on other sites
ILoveMadoka

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!

 

 

 

Share this post


Link to post
Share on other sites
Lee Mac
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.

Share this post


Link to post
Share on other sites
Cad64
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.

Share this post


Link to post
Share on other sites
Lee Mac

No worries Rod! Jimmy's stuff over at JTBWorld is great 👍

Share this post


Link to post
Share on other sites
ILoveMadoka

Thanks so much guys...

 

Will test these out on Monday when I get back to the office.

 

I appreciate the replies.

Share this post


Link to post
Share on other sites
ILoveMadoka

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 by ILoveMadoka

Share this post


Link to post
Share on other sites
Lee Mac

You're welcome! 👍

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×