[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Toggle between Paper Space and Model Space
Tip# 4164 By Adrian Betana On 22-Jul-2013
0
Rated By 0 users Downloaded : 128
Categories : Model Space
Software type : AutoCAD 2014
Rename File To : AUTO-TILEMODE.lsp
This LISP routine will help you switch between AutoCAD's Paper and Model Space tabs.

Tipster Adrian Betana shares a LISP routine and other tricks that will help you switch between AutoCAD's Paper and Model Space tabs.

"Tired of switching tilemode from model space to layouts? When you enter the command TI, it prompts from 0 to 1, and if sometimes you're in model space, you can press Ctrl+Page Down and Ctrl+Page Up because you are wizard of layouts."

Notes from Cadalyst tip reviewer Brian Benton: The LISP routine provided is a quick and easy way to toggle between the different tabs. Load the routine and type TT on the Command line. It will switch you from model to paper or from paper to model space tabs. Typing TI on the Command line will bring up the TILEMODE variable settings, allowing you to make the change there. Type 0 for paper space and 1 for model space.

As stated, you can press Ctrl+Page Up or Ctrl+Page Down to toggle between the current file’s tabs. (Page Up or Down will toggle in a different direction, to the left or to the right.)

 

Average Rating:
0


User comments
Comment by CAD,BlackBox
Posted on 2013-07-22 13:35:55
Not sure if it was the author, or the admin who is responsible, but the attachement's Command is "TT" ("Toggle TileMode") and not "TI" as listed above. Also, the attached code file includes a series of "-" characters that are not commented out, and the description above mentions nothing about how the attached routine changes the LTSCALE system variable (which is probably only applicable to a select few users as coded). Instead, to actually perform only the action specified by the title of this routine, consider the attached .LSP file. Cheers
Comment by Dunn,Mike
Posted on 2013-07-22 14:02:08
Been an avid LISP user for yrs, one of my daily uses is 'T1T0'. I'm lazy though, & only type in '1' or '0' to toggle between 'Tilemode 1' & 'Tilemode 0'. LISP attached for those that would like a try.
Comment by Dunn,Mike
Posted on 2013-07-22 14:04:33
I can do LISP but I can't apparently do Comment Attachments!
Comment by Maeding,James
Posted on 2013-07-22 14:07:39
hardcoded ltscales? We did one a while back that asks you the ltscales yopu want for ms and ps, and remembers them in dwg dictionary. TT toggles tilemode, and TTS runs settings. Basing things on dimscale or anything else can be useful but means you must babysit that other thing. The code attached has dictionary routines obtained from the DG's, I do not claim credit for them. They are useful for saving anything in the dictionary, like lists of names of people who have saved the drawing in the past :) One thing we could do in future is make the routine handle multiple tabs. Maybe we remember the last paperspace tab and switch to that from MS. We could laso make a "next PS" command to cycle through tabs and have the ltscale handled per tab. I always use ltscale 1 in ps so don't need that but could be easily done.
Comment by Maeding,James
Posted on 2013-07-22 14:10:07
btw, the original tip of ctrl-page down and up is slick, thanks for that. Maybe a reactor coiuld be used to incorporate ltscale switching...


Log In