Sets the value property as a vector or point XYZ.
Namespace: Autodesk.Revit.DB.VisualAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public void SetValueAsXYZ( XYZ xyz ) |
| Visual Basic |
|---|
Public Sub SetValueAsXYZ ( _ xyz As XYZ _ ) |
| Visual C++ |
|---|
public: void SetValueAsXYZ( XYZ^ xyz ) |
Parameters
- xyz
- Type: Autodesk.Revit.DB..::..XYZ
The new value.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The input value is invalid for this AssetPropertyDoubleArray3d property. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | The asset property is not editable. |