Getting all points of a curve using a script

 From:  Michael Gibson
6257.5 In reply to 6257.1 
Hi Martin, I'm sorry but there isn't any way currently for a script to access those points.

I've added in something for the next beta so that the start and end of curve _segments_ can also be retrieved. Right now they can only be gotten for the full curve, not for individual segments. Once this is in place then you would be able to get the segments by doing var segs = crv.getSubObjects(); , then each segment will respond to getStartPt() and getEndPt() in the next beta.

I guess one possible work around at the moment might be to run the polyline curve through the separate factory, then retrieve the results of that, that will be a bunch of individual curve objects generated for each segment in the original curve, since those are full curve objects the start and end points of those would be accessible now.

- Michael