Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [v8i ss3 c#] How to "clean" CadInputQueue

$
0
0

Hi Manko,

[quote user="Manko"]I tried CommandState.StartDefaultCommand but it did not help.[/quote]

Where exactly do you use StartDefaultCommand method?

Personally I treat GetInput method as a "last chance" and prefer to implement own primitive or modification commands instead of it, specifically because of what is mentioned in the method description: There can only be one outstanding call to GetInput at a time. GetInput raises an error if it is called while there is another caller blocked waiting for input. For me it seems it's quite easy to get such state, on the other hand StartDefaultCommand should work.

What do you receive (how are you notified) when GetInput is interrupted?

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>