GetUFromPercentag e (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 | Double | A percentage (with values between 0.0 and 100.0 inclusive) of the length of the curve.

Return Value

Double

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

NurbsCurve.EvaluatePositionFromPercentage | NurbsCurve.GetPercentageFromU

Autodesk Softimage v7.5