Notifications
Clear all

[Closed] [MaxScript] Length of a spline segment

Hi,

is it possible to compute the length of a curved spline segment with MaxScript?

Thank you,
Christian

2 Replies

Yes, you can use the function getSegLengths. It returns an array containing the length (fraction length and absolute length) for each segment of the spline and the length of the overall spline.

Take a look at the reference for more information.

Greets.

Thank you, this helped me a lot, because for some reason, I couldn’t find this function in the MaxScript Help…