MSasu Posted February 12, 2010 Posted February 12, 2010 I have the following scenario: call AutoCAD in background (hidden) from a stand-alone process (a Visual Basic application), perform some draw operations and call Zoom Extend just before save in order to have the entire content shown. What I’m trying to achieve is to keep AutoCAD window permanently hidden from user to ensure that he don’t close it or intervene in processing accidentally. But using zooming while the window is not visible it will raise a fatal error so I’m forced to bring it back visible for a while. Is there a way to perform a Zoom Extend operation while still prevents the user to see or interact with AutoCAD’s main window? Thank you! Regards, Quote
sanok7 Posted June 19, 2020 Posted June 19, 2020 On 2/12/2010 at 11:53 AM, MSasu said: I have the following scenario: call AutoCAD in background (hidden) from a stand-alone process (a Visual Basic application), perform some draw operations and call Zoom Extend just before save in order to have the entire content shown. What I’m trying to achieve is to keep AutoCAD window permanently hidden from user to ensure that he don’t close it or intervene in processing accidentally. But using zooming while the window is not visible it will raise a fatal error so I’m forced to bring it back visible for a while. Is there a way to perform a Zoom Extend operation while still prevents the user to see or interact with AutoCAD’s main window? Thank you! Regards, Have the same problem. Have you solved this issue? Quote
BIGAL Posted June 19, 2020 Posted June 19, 2020 (edited) Look at your code can you speed up the process if its visible ? Often here in lisp people provide code does same thing and is so much faster should be same in VBA. There may be something with turn off Regen just not sure. Edited June 19, 2020 by BIGAL Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.