Look up a column attachment by specifying the target id.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ColumnAttachment GetColumnAttachment(
FamilyInstance column,
ElementId targetId
)
Parameters
- column FamilyInstance
-
A column.
- targetId ElementId
-
Id of a target element.
Return Value
ColumnAttachment
The column attachment attaching the column to the target, or
null if there
is no such attachment.
Exceptions
Remarks
May return either a top or base attachment.
See Also
Reference