GetUFromPercentage (NurbsCurve) *
Description
Returns the U value at a certain percentage along the curve.
Scripting Syntax
NurbsCurve.GetUFromPercentage( Percentage )
C# Syntax
Double NurbsCurve.GetUFromPercentage( Double in_dPercenetage );Parameters
|
Parameter |
Type |
Description |
|
Percentage |
A percentage (with values between 0.0 and 100.0 inclusive) of the length of the curve. |
Return Value
Examples
VBScript Example
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 See Also
Autodesk Softimage v7.5