Indexed access to coordinates.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public double this[ int idx ] { get; }
Parameters
- idx Int32
- Use 0 for X, 1 for Y and 2 for Z.
Property Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when an attempt is made to access the coordinate with an index that is larger than 2. |