Look up a column attachment by specifying the target id.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static ColumnAttachment GetColumnAttachment( FamilyInstance column, ElementId targetId )
Parameters
- column FamilyInstance
- A column.
- targetId ElementId
- Id of a target element.
Return Value
ColumnAttachmentThe column attachment attaching the column to the target, or nullptr if there is no such attachment.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |