I’ve got a list of Rhino.DocObjects
how can I extract only curves and points of this list?
I tried in Python with
if rs.IsPoint(obj) or rs.IsCurve(obj) or rs.IsPolyline(obj):
objetretour.append(obj)
it return "Message: unable to convert 8106539c-7807-4598-9970-5a7ac165b7e9 into Curve geometry
" when obj is a Brep…
thank’s
4 posts - 2 participants