Share

ColumnAttachment.GetColumnAttachment(FamilyInstance, Int32) Method

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

ColumnAttachment
The column attachment for the base or top of the column, or nullptr if that end of the column is unattached.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException baseOrTop must be either 0 or 1.

See Also

Reference

Was this information helpful?