Hi Guys,
The title kind of says it all. I found this code from Mitch’s old topic and am trying to select the edge of a polysurface which is inside a block. Is this possible?
import Rhino
def GetCurvesAndEdges():
filter=Rhino.DocObjects.ObjectType.EdgeFilter | Rhino.DocObjects.ObjectType.Curve
rc, objrefs = Rhino.Input.RhinoGet.GetMultipleObjects("Select curves or surface edges", False, filter)
if rc != Rhino.Commands.Result.Success: return rc
return [objref.Curve().ToNurbsCurve() for objref in objrefs]