CurveLength

Abstract: Simply returns the length of any selected curve.

Description: This tool logs the length of any selected curve and overcomes cases where the curve is scaled.

Working Scenarios: This tool is mostly used in conjunction with other scripts where you need to get the length of curves without getting faked results for scaled curves.

User Usage: Select the curve and run the script.

Developer Usage: You can call this tool from any other script using the following function call:
CurveLength( oCurve )

Where oCurve is an XSI curve object.
This tool returns the curve’s length if it succeeds and empty if it failed for any reason.

Nature: Script

Applies To: XSI 3.5 on NT,Win2K,XP

Languages: VBScript