Search the Community
Showing results for tags 'layout'.
Layout Tab Selection
magic_man1 posted a topic in AutoLISP, Visual LISP & DCLIt seems that I am .lsp illiterate, but hey, I'm trying to learn. Hopefully you can help me. I am looking for a piece of .lsp code that will allow me to go between layout tabs one at a time. The catch is that I need this to function like the keyboard stroke: Ctrl+Page Up or Ctrl+Page Down, where it simply jumps up/down one layout at a time, without needing to know the layout name. Extra credit: To have this function start with the first layout tab and progresses through to the last layout tab (say, 20 layout tabs) Does anyone know if this is possible? I will be performing other tasks for each "current" layout as they are active, so I imagine that I would simply repeat a piece of code after I inject my code for each layout. Again... trying to teach myself how to do this. Thanks in advance for your help.
Switch fast between Model and Layout tabs.
GVR posted a topic in AutoCAD Drawing Management & OutputHello everybody, I'm working on a drawing that has around the 150 layout-tabs. So switching between a specific Layout-tab and the Model-tab and back is very iritating. You need to scroll everytime through all the Layout-tabs to find the right one. So is there a simple and fast way to switch again and again? I'm using autocad 2009 LT Already thanks for a answer.
Specific project sheet and layer management
lfe011969 posted a topic in AutoCAD Drawing Management & OutputWhen I came on to my current company a few months ago, CAD management was completely absent and when I informed my manager I thought we should have some type of CAD policy users can look to for guidance, he promptly made me the de facto CAD Manager As such, I'm trying to research the best way to manage the various projects we currently have in development. Specifically we have two specific contracts with completely different drawing requirements (i.e. different Layers, Title Blocks, etc.) and one of those contracts has different requirements depending on the type of drawing (electrical, piping, structure, etc). I have setup read-only drawing templates for each specific discipline of each project and currently the designer will just open the relevant drawing and save it with a new name. There are several drawbacks to this, the first being that for one project, the zone numbers on each sheet of the format are continuous (i.e. Sheet 01 has zones 1 thru 8, Sheet 2 has zones 9 thru 16, etc.). I've manually created 10 sheets thinking none of the drawings currently being worked would have more than that. Our electrical lead just informed me he has a wiring table drawing that he anticipates will have upwards of 50 sheets. I know there is a better way to create the necessary sheets and I do have some experience with lsp files but not enough to figure out what I should do. I have created a lsp routine and associated dcl that displays the various projects we are working on. The user selects the project and clicks the 'OK' button which in turn loads the lsp file linked to the selection. That lsp file starts a new drawing and loads the correct layers. I'd like to add a sheet function that either asks the user how many sheets they want to create or load just the first two sheets. If it only loads the first two sheets, I'd like to create an add/subtract sheet routine that when ran will detect how many sheets are currently in the drawing, then add or subtract sheets based on what is needed. I'd appreciate some opinions on how I could go about doing all or some of this. Thanks in advance. Lonnie