Creates an XYZ with the supplied coordinates.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- x
- Type: SystemDouble
The first coordinate.
- y
- Type: SystemDouble
The second coordinate.
- z
- Type: SystemDouble
The third coordinate.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | Thrown when setting an infinite number to the X, Y or Z property. |