Hi there,
I just discovered the Drafting > Section function Rhino 8, which is great and works very well for some use case of ours. However, I noticed there’s no Section class or similar in RhinoCommon. Investigating I noticed the section is represented as a ClippingPlaneObject in the RhinoDoc.ActiveDoc.Objects.
Now what I am trying to achieve is relate the objects that are being cut by the section to the section object itself. More specifically: Whenever I make a Section, I am trying to find that ClippingPlaneObject instance in C# (GH plugin to be precise, I can identifiy the section by name), detect which objects are being cut and then further annotate the section with additional information held by the geometric objects I am cutting.
Investigating a bit I saw no field or property of ClippingPlaneObject that contains a reference to any geometric objects it intersects. Is there another way of achieving this?
In general I wondered if someone has a bit more info on how exactly Sections work and how to make use of them programmatically. Like, are the cutting curves and hatches created inside a View object? Is this is where I could find references to my geometry?
Thanks a lot
Ben