Hi.
I’m trying to display a TextDot object in a rhino viewport.
Surface surface = null;
DA.GetData("Surface", ref surface);
Point3d northPoint = surface.PointAt(surface.Domain(0).Mid, surface.Domain(1).Max);
Point3d southPoint = surface.PointAt(surface.Domain(0).Mid, surface.Domain(1).Min);
Point3d eastPoint = surface.PointAt(surface.Domain(0).Max, surface.Domain(1).Mid);
Point3d westPoint = surface.PointAt(surface.Domain(0).Min, surface.Domain(1).Mid);
TextDot northDot = new TextDot("North", northPoint);
TextDot southDot = new TextDot("South", southPoint);
TextDot eastDot = new TextDot("East", eastPoint);
TextDot westhDot = new TextDot("West", westPoint);
I fount some info here and here. But I’m not able to implement it into my C# code. Can somebody help me?