Hi
hope you can help me understand
when i try to retrieve points of a curve using:
i get this kind of output :Python Code:
polyline_id = rs.GetObject("Select Polyline", 4, True, True)vertices = rs.PolylineVertices(polyline_id)
<Rhino.Geometry.Point3d object at 0x0000000000000030 [0,0,0]>,...... (for each point)
while using
the output is :Python Code:
pickPts = rs.GetObjects("Select Points:",1)
<System.Guid object at 0x0000000000000035 [d4c2609e-74e0-40d0-8fb6-f332fa21f90a]>,...... (for each point)
the end result should be a curve (following the Nurbs-curves exaple of the primer) but the first example data (rs.PolylineVertices) creates an error : Specified cast is not valid
can i convert the data ? or, is there is a way to read bits of it somehow - i can see the coordinates are there... but i just can't reach...
Thanks
Tamir


Reply With Quote
