@lawrenceyy wrote:
I'm using ghpython and running into an error with my script where the index is out of range. In cases like these, I can usually print() number variables to see what is wrong. Is there any way to print a list of curves or surfaces to see if there are any irregularities in those variables? When I print a curve, the curve does not visually appear in the Rhino viewport. Is there anyway to turn something like this to visible curves?
Array[Curve]((<Rhino.Geometry.NurbsCurve object at 0x000000000000008F [Rhino.Geometry.NurbsCurve]>, <Rhino.Geometry.NurbsCurve object at 0x0000000000000090 [Rhino.Geometry.NurbsCurve]>, <Rhino.Geometry.NurbsCurve object at 0x0000000000000091 [Rhino.Geometry.NurbsCurve]>, <Rhino.Geometry.NurbsCurve object at 0x0000000000000092 [Rhino.Geometry.NurbsCurve]>, <Rhino.Geometry.NurbsCurve object at 0x0000000000000093 [Rhino.Geometry.NurbsCurve]>, <Rhino.Geometry.NurbsCurve object at 0x0000000000000094 [Rhino.Geometry.NurbsCurve]>))
I don't want to have to """ just before the error and do a=mycurves just to check on my variables
Posts: 3
Participants: 2