Jump to content

Recommended Posts

Posted

Not sure what's happened here, but I am in an active Viewport on my Layout tab, but I must have been zoomed in to the point where I can't see the Viewport borders before I entered the Viewport, and now it's 'stuck' and I can't zoom out... like it needs to Regen but that doesn't help. So, I'm stuck at the very zoomed in level in my Viewport and can't get out. Any ideas? THANKS!!!

Posted

Nevermind world, it fixed itself!

Posted
Not sure what's happened here, but I am in an active Viewport on my Layout tab, but I must have been zoomed in to the point where I can't see the Viewport borders before I entered the Viewport, and now it's 'stuck' and I can't zoom out... like it needs to Regen but that doesn't help. So, I'm stuck at the very zoomed in level in my Viewport and can't get out. Any ideas? THANKS!!!

 

was it VPMAX/VPMIN

Posted

I really don't know... it just wouldn't let me zoom out anymore from within the viewport like it was "stuck" wanting a Regen and I could see anything on the screen outside the viewport to get out of it. Closed/reopened, no change. Cussed at it and got distracted reading some BBQ stuff on the internet and went back a few minutes later and it had stopped freaking out.

 

It was either the cursing or the tri-tip that did it ;)

Posted

For next time, one way is to type PS to get out of the viewport.

Posted

Yeah I was having a bit of a moment. I might have had rum poisoning from the night before and I wasn't thinking Undo... I had just figured something was wrong with the .dwg LOL. Thanks folks, and also thanks for the heads up on PS.

 

Y'all have a great day!

Posted

That reminds me. Somebody left a bottle of Kraken at the house. What is it, besides rum. It tastes sort of ok, but feels like swallowing a rose bush dry.

Posted

I have been on a rum kick lately. Always avoided the Kraken as it looked a little scary. Based on your dry rose bush comparison, I think I'll continue to ignore it! The Ron Zacapa and Don Q Gran Anejo are both pretty nice.

Posted

howdy neighbor,

rum good vodka better, imho

here is a handy lisp i use for unlocking and locking viewports, I don't remember where i found it.

 


(defun C:vpLocks (/ kw kval doc adoc lao cnt inc cvprt blk pw)
(vl-load-com)
(initget 1 "Lock Unlock")
(setq kw (getkword "\nLock or Unlock all PViewports [Lock/Unlock]: "))
(setq kw (strcase kw))
(if (= kw "LOCK")
(setq kval :vlax-true)
(if (= kw "UNLOCK")
(setq kval :vlax-false)
)
)
(setq doc (vlax-get-object "AutoCad.Application")
adoc (vla-get-ActiveDocument doc)
lao (vla-get-Layouts adoc)
cnt (vla-get-Count lao)
inc 0
)
(repeat cnt
(setq cvprt (vla-Item lao inc)
inc (+ inc 1)
blk (vla-get-Block cvprt)
)
(vlax-for itm blk
(if
(vlax-property-available-p itm 'DisplayLocked)
(progn
(vla-put-DisplayLocked itm kval)
(vla-update itm)
)
)
)
)
(princ)
)

Posted

Oh, cool, thanks!

It sounds lousy, but I was in CA for about 4 months for work and got hooked on vodka and Dr. Pepper; it's really a pretty good drink as far as a booze+coke type drink goes. Thanks for the LISP.

  • 2 weeks later...
Posted

Hey Colin, I'm glad you figured out the solution to your immediate problem. For anyone else that finds this thread...

 

If you have entered model space by dbl clicking on a viewport and can not get back to paperspace on your layout.

Typing: PS (or paperspace) in the command line will get you back to paperspace.

I have to remind my project managers of this all the time (they aren't in CAD regularly)

 

Remember, PS brings you back to Paperspace from being in a viewport.

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