Evaluate Method

Evaluates and returns the point that matches a parameter along the curve.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: (


public XYZ Evaluate(
	double parameter,
	bool normalized
Visual Basic
Public Function Evaluate ( _
	parameter As Double, _
	normalized As Boolean _
) As XYZ
Visual C++
XYZ^ Evaluate(
	double parameter, 
	bool normalized


Type: System Double
The parameter to be evaluated.
Type: System Boolean
If false, param is interpreted as natural parameterization of the curve. If true, param is expected to be in [0,1] interval mapped to the bounds of the curve. Setting to true is valid only if the curve is bound.

Return Value

The point evaluated along the curve.


Exception Condition
Autodesk.Revit.Exceptions ArgumentException The given value for parameter is not finite
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The curve cannot be evaluated as normalized because it is unbound. -or- The parameter is not a valid value for normalized evaluation.

See Also