.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Good Command Prompt Method

1 REPLY 1
Reply
Message 1 of 2
CADKarasu
383 Views, 1 Reply

Good Command Prompt Method

Anyone know of a good clean command prompt method in VB.NET without using COM?  Looking for something like the old, friendly Thisdrawing.Utility.Prompt and it turns out that SendStringToExecute calls are asynchronous and are not invoked until the .NET command  has ended. Really wouldn't have been such a great solution anyway.

 

Need  some way to inform the user when events occur or processes are happening.

 

Any ideas?

 

1 REPLY 1
Message 2 of 2
chiefbraincloud
in reply to: CADKarasu

For simple status messages or error messages at the command prompt, you obtain a reference to the Document.Editor and call the Editor.WriteMessage method.

 

For showing progress during long operations, you can use the Autodesk.Autocad.Runtime.ProgressMeter to display a progress bar in the Status bar at the bottom of the AutoCAD window.

Dave O.                                                                  Sig-Logos32.png

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost