SMP Posted February 10, 2012 Share Posted February 10, 2012 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. Quote Link to comment Share on other sites More sharing options...
bill_borec Posted February 10, 2012 Share Posted February 10, 2012 Make sure the check box is selected in the Options window (OP) on the Display tab (bottom left in the layout elements). Quote Link to comment Share on other sites More sharing options...
BlackBox Posted February 10, 2012 Share Posted February 10, 2012 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)) Quote Link to comment Share on other sites More sharing options...
SMP Posted February 10, 2012 Author Share Posted February 10, 2012 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? Quote Link to comment Share on other sites More sharing options...
BlackBox Posted February 10, 2012 Share Posted February 10, 2012 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 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.