SetValueAsXYZ Method


Asset Property Double Array 3d Set Value As XYZ Method

Sets the value property as a vector or point XYZ.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetValueAsXYZ(
	XYZ xyz
)

Parameters

xyz XYZ
The new value.
Exceptions
Exception Condition
ArgumentException The input value is invalid for this AssetPropertyDoubleArray3d property.
ArgumentNullException A non-optional argument was null
InvalidOperationException The asset property is not editable.
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 →