Command Question

Hello guys,

I am trying to use GH Python Command to call function in Rhino7.
The case is using ‘Dupborder’ to get brep naked edges. The code is simple as below:

The issue is I don`t want jump out GH canvas then select from Rhino viewport. I simply want the data can be passed directly into another component. is there any way to achieve that?

Many thanks,

Hi Lei - rs.DuplicateSurfaceBorder((brep Id) will add the curves to the document. If you want to get the curves without adding them to the document, Rhino Common’s Brep.DuplicatenakedEdgeCurve() should help.


Thanks Pascal.
Just what I need.