Revit 2025.3 API
Repeater |
Returns the coordinate in the given dimension.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public int GetCoordinate( int dimension )
Public Function GetCoordinate ( dimension As Integer ) As Integer
public: int GetCoordinate( int dimension )
member GetCoordinate : dimension : int -> int
Parameters
- dimension Int32
- The dimension.
Return Value
Int32The coordinate.

Exception | Condition |
---|---|
ArgumentException | The dimension is invalid for these coordinates. |
InvalidOperationException | The coordinates must have at least one dimension. |

The dimension begins at 0 and must be in the range [0, number of dimensions in the bounds - 1].
This method does not apply to zero dimensional coordinates.
See Also