Revit 2025.3 API
Column |
Look up a column attachment by specifying the target id.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ColumnAttachment GetColumnAttachment( FamilyInstance column, ElementId targetId )
Public Shared Function GetColumnAttachment ( column As FamilyInstance, targetId As ElementId ) As ColumnAttachment
public: static ColumnAttachment^ GetColumnAttachment( FamilyInstance^ column, ElementId^ targetId )
static member GetColumnAttachment : column : FamilyInstance * targetId : ElementId -> ColumnAttachment
Parameters
- column FamilyInstance
- A column.
- targetId ElementId
- Id of a target element.
Return Value
ColumnAttachmentThe column attachment attaching the column to the target, or if there is no such attachment.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

May return either a top or base attachment.
See Also