Jump to content

Recommended Posts

Posted

I usually work in the three viewports left configuration with the left window in top, the right in sw iso and the bottom right in front. is there a way to save this somewhere so when I open a new drawing I can go straight to it? or maybe a lisp routine to set it all up? I already made some lisp routings to get there but it takes about 4 steps.

 

 

thanks

Posted

Why wouldn't you already have this setup in your template file?

Posted

Most of the drawings I work in are already started by somebody else. but I could do that for when I start new dwg

Posted
Most of the drawings I work in are already started by somebody else. but I could do that for when I start new dwg

 

OK, that's what I thought you asked in your first post. Then you went and changed the criteria. Looks like you're still in need of that lisp routine.

Posted

ive made 1 lisp to get the view port configuration, and 3 other lisp to get to the view I want, I just don't know how to tie them all together and make it on command

Posted

Sounds like too much work to me. I would have used the Action Recorder and skipped the whole lisp thing. Record a macro, save it, play it back.

Posted

ok ive never messed with the action recorder, ill give that a shot

Posted

It will give you something to do until one of the lisp gurus show up to assist you with your custom routine.

Posted

that action recorder is awesome! it worked first try.. is there a way to turn your recording into a command or have a lisp activate it?

Posted

never mind I figured out how to make a lisp out of it! im going to have lots of fun with this action recorder thing!

Posted

I've absolutely no clue. Minor parlor tricks I can handle. For real magic you have to wait for a professional.

Posted

Score a good idea is to post code it may be useful for some one else and others will other suggestions on how to improve.

Posted

well here is my lisps I made, there pretty simple

 

 

(defun C:v3 ()

(command "-Vports" "3" "l")

)

 

 

(defun C:1 ()

(command "-VIEW" "SW")

)

 

 

(defun C:5 ()

(command "-VIEW" "TOP")

)

 

 

 

(defun C:6 ()

(command "-VIEW" "FRONT")

)

 

 

I figured out after you make you action recorder whatever you name it you can type that into the command line and it will play the action. so I named it v12, it works like a charm. im still going to try and figure out how to make a lisp to do everything

Posted

is there a command to toggle viewports in model space? I think I would need that to make my lisp..

Posted
is there a command to toggle viewports in model space? I think I would need that to make my lisp..

 

Ctrl + R will cycle through viewports in both model and paper space

Posted

I wouldn't know how to implement ctrl + R into a lisp. is there a command? my ctrl + R is set up as a hot key for something else

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...