Jump to content

Model Space / Paperspace tabs...


SMP

Recommended Posts

I created a customized workspace in Civil3D using the Task-Based Geospatial workspace but for some reason my model space and paper space tabs have gone missing?

 

they are also missing in the Tool-Based and Task-Based Geospatial workspaces.

 

I would like to have access to these with out having to swith to different workspaces. How can i do this??

 

If i can not what is the reasoning behind this.

Link to comment
Share on other sites

For fun :):

 

(defun c:LayoutTabs  ()
 (vl-load-com)
 (princ "\rLAYOUTTABS: ")
 ((lambda (oDisplay)
    (if (= :vlax-false (vla-get-displaylayouttabs oDisplay))
      (progn (vla-put-displaylayouttabs oDisplay :vlax-true)
             (princ "ON "))
      (progn (vla-put-displaylayouttabs oDisplay :vlax-false)
             (princ "OFF "))))
   (vla-get-display (vla-get-preferences (vlax-get-acad-object))))
 (princ))

Link to comment
Share on other sites

Brilliant...

 

thank you kindly gents.

 

the code is beyond me. But i will trust that it works the same? What would i do just copy and paste that into the command line?

Link to comment
Share on other sites

The code posted above is basically a toggle, which looks for the current state (i.e., On, or Off), then sets the opposite current.

 

To test this, simply copy and paste the code at the command line, and hit enter, which will load the function into the Active drawing's memory. Then invoke the command typing "LayoutTabs" (without the quotes) at the command line, and hit enter. Lemon Squeezy. ;)

 

There are many ways of adding LISP routines to your setup, Lee's been kind enough to write some great tutorials so I don't have to. LoL

 

HTH

Link to comment
Share on other sites

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