Returns a normal vector at the given index
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public XYZ GetNormal( int idx )
Parameters
- idx Int32
- A zero-based index
Return Value
XYZXYZ value representing a normal vector
Exceptions
Exception | Condition |
---|---|
ArgumentException | The given value is not a valid index of a normal of the polymesh. A valid valure is not negative and is smaller than the number of normals in the polymesh. |