I want to get the outlines of a surface in RhinoCommon C#, which is getting me some problems at the moment.
I already got it selected with the GetObject():
GetObject object_selector = new GetObject(); object_selector.SetCommandPrompt(message); object_selector.GeometryFilter = ObjectType.Surface(); object_selector.Get(); return object_selector.Object(0).Surface;
When selecting the object in Rhino, I get a selection like this:
The Surface I get from Object(0).Surface() however is a rectangle (more exactly a BrepFace):
How can I get the outlines of the first selection?
Thank you a lot for your time.