Jump to content

Recommended Posts

Posted

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,

  • 10 years later...
Posted

 

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?

Posted (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 by BIGAL

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...