Returns the U value at a certain percentage along the curve.
Double NurbsCurve.GetUFromPercentage( Double in_dPercenetage ); |
oDouble = NurbsCurve.GetUFromPercentage( Percentage ); |
Parameter | Type | Description |
---|---|---|
Percentage | Double | A percentage (with values between 0.0 and 100.0 inclusive) of the length of the curve. |
set oRoot = Application.ActiveProject.ActiveScene.Root set oArc = oRoot.AddGeometry( "Arc", "NurbsCurve" ) UValue = oArc.ActivePrimitive.Geometry.Curves(0).GetUFromPercentage( 70.0 ) logmessage "The U value at 70%% of the curve is :" & UValue |