Creates an XYZ with the supplied coordinates.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public XYZ( double x, double y, double z )
Parameters
- x Double
- The first coordinate.
- y Double
- The second coordinate.
- z Double
- The third coordinate.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when setting an infinite number to the X, Y or Z property. |