I see two problems...
[quote user="minion"]
Set td = GetTagSet.TagDefinitions.Add(TagName, msdTagTypeCharacter) td.IsConstant = True
[/quote]
You've defined a tag as constant, but without giving it a default value. The tag value is empty.
[quote user="minion"]
TagMyElement someline, "testTagName", "TestTagValue"
[/quote]
- In your _DataPoint event, you attach the tag to the element (successfully). However, since the tag definition is constant, you can't assign the value and the tag remains blank.
- Remove CommandState.StartDefaultCommand from that _DataPoint event to resume normal MicroStation behaviour.