Wall.RemoveAttachment(ElementId) Method

WallRemoveAttachment(ElementId) Method

Removes any attachment of the wall to the specified target.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void RemoveAttachment(
	ElementId targetId
)
Public Sub RemoveAttachment ( 
	targetId As ElementId
)
public:
void RemoveAttachment(
	ElementId^ targetId
)
member RemoveAttachment : 
        targetId : ElementId -> unit 

Parameters

targetId  ElementId
Target element id.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also