- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found several links discussing viewports and layouts and found it a bit confusing. I managed to get what I wanted but am left with some questions. We are planning for a base coordinate system change which means all of our CAD data will move. The ultimate goal is to check scales, then pan and zoom each floating modelspace viewport as required, in potentially 1000s of dwg files.
The dwg file I am testing has 45 layouts and 1 viewport on each. The code attached is what I used to get the numbers to match. I understand that viewport 1 on the layout is the paperspace layout itself. But, I had several viewport numbers of -1 on each layout. I thought -1 represented an empty list, like nothing selected in a listbox.
Questions
1 - What does viewport number -1 mean?
2 - What is the purpose of viewporttable?
3 - Why doesn't viewporttable contain viewporttablerecords that have this information - or does it?
There might be more later - now I need a vacation.
TIA
Solved! Go to Solution.