RemoveConnectedAsset Method


Removes the connected asset attached to this asset property if any.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2018.1

Syntax

C#
public void RemoveConnectedAsset()
Visual Basic
Public Sub RemoveConnectedAsset
Visual C++
public:
void RemoveConnectedAsset()

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException The asset property is not editable. -or- Cannot check validity for a property not being edited in AppearanceAssetEditScope.

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 →