ApplicationNewXYZ(Double, Double, Double) Method |
Creates a XYZ object representing coordinates in 3-space with supplied values.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic XYZ NewXYZ(
double x,
double y,
double z
)
Public Function NewXYZ (
x As Double,
y As Double,
z As Double
) As XYZ
public:
XYZ^ NewXYZ(
double x,
double y,
double z
)
member NewXYZ :
x : float *
y : float *
z : float -> XYZ
Parameters
- x Double
- The first coordinate.
- y Double
- The second coordinate.
- z Double
- The third coordinate.
Return Value
XYZ
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when setting an infinite number to the X, Y or Z property.
|
See Also