Hi probotix,
re:
> Okay, maybe I dont understand how SavePointFile works. If I create just raw points,
> it works fine. But what I want to do is find the points of a polyline or curve and
> export those points.
Yes SavePointFile will only export point objects, not "edit points".
To export those you can convert selected curve edit points to point objects by copy/paste (ctrl+c/ctrl+v).
In v5 it's also possible to access the edit points by script, that would go like this:
var numpoints = crv.numEditPoints;
for ( var i = 0; i < numpoints; i++ )
{
var pt = crv.getEditPoint( i );
// use pt.x, pt.y, pt.z
}
- Michael
|