Divide Method


XYZ Divide Method

Divides this vector by the specified value and returns the result.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public XYZ Divide(
	double value
)

Parameters

value Double
The value to divide this vector by.

Return Value

XYZ
The divided vector.
Exceptions
Exception Condition
ArgumentException Thrown when the specified value is an infinite number or zero.
Remarks
The divided vector is obtained by dividing each coordinate of this vector by the specified value.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →