I am trying to retrieve text dot’s “display text” in C# component. Below is the code that I was working on, and I am having trouble in getting display text from the object. Any help will be much appreciated.
var objArr = Rhino.RhinoDoc.ActiveDoc.Objects.FindByObjectType(Rhino.DocObjects.ObjectType.TextDot);
foreach(Rhino.DocObjects.TextDotObject rhObj in objArr)
var txt = rhObj.Geometry.UserData; // how to retrieve “display text”?