- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I don't think setting up the zoom level of the page and saving it that way, without ever seeing the drawing file is possible. I know it can be done when visible is set to true, because it is active at the time. I have used a code that 'cleans-up' a drawing before saving, which collapses everything on the Model tab, then loops through each sheet, and zoom all, then saves the drawing file at the end.
All zoom type commands deal with with the 'visual' size/scale difference between your specific monitor (its usable screen size, and its resolution), compared to the virtual size of what you're looking at. When dealing with a drawing, the best you can hope for is knowing the ratio of the drawings Paper Size vs available screen area size (less the ribbon, side docked dialogs, bottom status bar, bottom tabs bar, etc. Then you would have to use a zoom-to-secified-scale type command (which I don't know of one, for this context). Model files have views & cameras that can be set-up. DrawingViews have a scales and a camera, that can be set-up. But I don't think the display size of the drawing sheet can be set-up this way without visually activating the sheet, and using those zoom tools in that setting.
Wesley Crihfield
(Not an Autodesk Employee)