Jump to content

Pausing menu for user interaction


Recommended Posts

I'm trying to get a menu command to, based on a dialog choice, pause for user interaction in the drawing.  I'm successfully calling RunTempTool(), but while the tool initializes immediately, the tool doesn't run until after the menu's DoInterface event completes.


Is there a way to either tell the menu to wait until the tool has completed or the tool to pause other actions until the tool is complete?


I suppose I could move the end of the menu call into a function that the tool could also call on completion, but there would be a lot of data to pass to the function when I only want to retrieve a point location and an angle.

Link to comment

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.

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...