@c.heck wrote:
Hi all,
I have a RhinoScript that operates directly from Rhino itself.
I am taking a list of all surfaces in the project (or a selection thereof), and for each surface I want to access the geometry of the border curve (ie all edit points of all edges around that border).My approach looked like this:
- Loop through all Surface objects
- Get the border through Rhino.DuplicateSurfaceBorder
- Loop on individual edges through Rhino.ExtractPolyCurveSegment
- Get the edit points through Rhino.CurveEditPoints
(those edit points are then extracted to an array, written to file to be used in another application).This worked fine with RhinoScript (an rvb script).
However, when I try to replicate this in a Grasshopper VB.NET component, I get the following error:
"Error (BC30456): ‘DuplicateSurfaceMember’ is not a member of ‘Rhino’.I spent a lot of time searching for hints in the online help, and apparently there seems to be something close to it using “Brep” objects instead of Surfaces. However, I am not sure how that would work.
Any recommendation on how to get to those edges & edit points in the most direct way, just in order to export that data?
Thanks !
Cyril
Posts: 5
Participants: 2