Revit 2025.3 API
XYZDivide Method |
Divides this vector by the specified value and returns the result.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public XYZ Divide( double value )
Public Function Divide ( value As Double ) As XYZ
public: XYZ^ Divide( double value )
member Divide : value : float -> XYZ
Parameters
- value Double
- The value to divide this vector by.
Return Value
XYZThe divided vector.

Exception | Condition |
---|---|
ArgumentException | Thrown when the specified value is an infinite number or zero. |

The divided vector is obtained by dividing each coordinate of
this vector by the specified value.
See Also