Look up a column attachment. There is at most one attachment on
the base and one on the top.
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, int baseOrTop )
Parameters
- column FamilyInstance
- A column.
- baseOrTop Int32
- 0 for base, 1 for top.
Return Value
ColumnAttachmentThe column attachment for the base or top of the column, or nullptr if that end of the column is unattached.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | baseOrTop must be either 0 or 1. |