Getting all points of a curve using a script

 From:  Martin (MARTIN3D)
6257.1 
How can I get the x and y coordinates of the three points that are between the start and the endpoint of the curve below?



code:
script:
var crvs = moi.geometryDatabase.getSelectedObjects().getCurves();
for ( var i = 0; i < crvs.length; i++ )
{
	var crv = crvs.item(i);
	moi.ui.alert( crv.getStartPt().x );
	moi.ui.alert( crv.getStartPt().y );
	moi.ui.alert( crv.getEndPt().x );
	moi.ui.alert( crv.getStartPt().y );
}



-Martin
Attachments: