This method will remove the association for the element with the given ElementId.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void RemoveAssociation(
ElementId id
)
Parameters
- id ElementId
-
Id of the element for which we want to remove the association.
Exceptions
Remarks
If the id does not have any association, an exception is thrown.
See Also
Reference