Creates a XYZ object representing coordinates in 3-space with supplied values.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public XYZ NewXYZ( double x, double y, double z )
Parameters
Return Value
XYZExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when setting an infinite number to the X, Y or Z property. |