Message 1 of 6
Scale Objects On Screen Within Function
Not applicable
10-07-2010
11:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a function that uses AcadApplication.ActiveDocument.SendCommand to allow the user to scale the inserted lines and text before the next step of the process, but AutoCAD does not display the scale prompt until after the entire program finishes. The prompt works well, but needs to be displayed before I end the sub.
How do I get the command to be sent immediately? Is there another way to allow users to scale the items I insert? The screen needs to be refreshed before the scale command is called, so that the lines and text I just added shows up. I have attached the code for the SendCommand call and for the function that calls it. Please let me know if additional information is needed.