Command line command to move to layout and do other commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a drawing which does not have any printing intelligence inside it. In the drawings modelspace there are almost 100 sheets that needs to be printed. These drawings are located with same pattern. Now, I have created "zoom window command generator" with excel for zooming these areas to viewports inside each layout. Here is example of what my excel already does:
Zoom window 25.5,22.5 445.5,319.5 |
Zoom window 25.5,337.5 445.5,634.5 |
Zoom window 25.5,652.5 445.5,949.5 |
Zoom window 25.5,967.5 445.5,1264.5 |
Zoom window 466.5,22.5 886.5,319.5 |
This excel needs to know first sheet offset from origo (x and y coordinate), size of the windows and space between the windows. Thats all for now.
I would like to make it work so that I can just copy these commands from my excel to autocad without having to be in the same layout which the command was created for and without being "inside" the viewport. I am aware of things that these commands lack at moment but I dont have enough knowledge to fullfill them.
Steps that need to be added from my point of view are following:
1. Set current layout (move to layout with its name, these names are added to my excel)
2. Choose the viewport inside the chosen layout (double click the viewport to be active, these layouts have only one viewport which was created with mview fit command)