Creates a XYZ object representing coordinates in 3-space with supplied values.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- x
- Type: System Double
The first coordinate.
- y
- Type: System Double
The second coordinate.
- z
- Type: System Double
The third coordinate.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | Thrown when setting an infinite number to the X, Y or Z property. |