Return Plot window coordinates

Return Plot window coordinates

Anonymous
Not applicable
482 Views
2 Replies
Message 1 of 3

Return Plot window coordinates

Anonymous
Not applicable
How can I return the world or current ucs coordinates for the last or default plot window. I found the methods to set it but I want to return it without first setting it through vba. AutoCAD must remember it somewhere. Where can I find that property?

Thanks in advance
0 Likes
483 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
The last window can be found via the GetWindowToPlot Method, but there is no default if the window to plot has not been set at least once. HTH, Jeff "mgray" wrote in message news:[email protected]... > How can I return the world or current ucs coordinates for the last or default plot window. I found the methods to set it but I want to return it without first setting it through vba. AutoCAD must remember it somewhere. Where can I find that property? > > Thanks in advance
0 Likes
Message 3 of 3

Anonymous
Not applicable
> The last window can be found via the GetWindowToPlot Method, but there > is no default if the window to plot has not been set at least once. While Jeff is correct, you could get the window even if it has never been set depending upon what the *expected* window is. In other words, if your office always plots Extents, Limits, or a View you can retrieve these through their respective variables [or coords if the View]. This would make the assumption that no one uses Window to plot with. It all depends on why you are trying to get it. ___________________________ Mike Tuersley AutoCAD Clinic Rand IMAGINiT Technologies
0 Likes