RVTDocs.com

AnalyticalToPhysicalAssociationManager.RemoveAssociation

Method
Description:
This method will remove the association for the element with the given ElementId.
Remarks:
If the id does not have any association, an exception is thrown.
Syntax
public void RemoveAssociation(
	ElementId id
)
Parameters
Parameter Type Description
id ElementId Id of the element for which we want to remove the association.
Return Value
Exceptions
Exception Condition
ArgumentException This element doesn't have an association defined.
ArgumentNullException A non-optional argument was null