Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: Re: Convert Regular Text to Data Field....

$
0
0

[quote user="chris call"]Private Sub ILocateCommandEvents_Accept(ByVal Element As Element, Point As Point3d, ByVal View As View)
    ...
    ActiveModelReference.UnselectAllElements
    CommandState.StartDefaultCommand
   
End Sub[/quote]

You're mixing MicroStation idoms, which will confuse your user.

  1. It doesn't make sense to call UnselectAllElements from a Locate function.  It certainly is not expected behaviour
  2. MicroStation commands continue to operate until another command is called.  Deliberately terminating your command with StartDefaultCommand will surprise users

Viewing all articles
Browse latest Browse all 105279

Trending Articles



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