RemoveColumnAttachment Method (FamilyInstance, ElementId)


Removes any attachment of the column to the specified target.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)

Syntax

C#
public static void RemoveColumnAttachment(
	FamilyInstance column,
	ElementId targetId
)
Visual Basic
Public Shared Sub RemoveColumnAttachment ( _
	column As FamilyInstance, _
	targetId As ElementId _
)
Visual C++
public:
static void RemoveColumnAttachment(
	FamilyInstance^ column, 
	ElementId^ targetId
)

Parameters

column
Type: Autodesk.Revit.DB FamilyInstance
A column.
targetId
Type: Autodesk.Revit.DB ElementId
Id of a target element.

Remarks

This method modifies both column and target elements.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

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 →