ColumnAttachment.GetColumnAttachment(FamilyInstance, ElementId)
Method
Description:
Look up a column attachment by specifying the target id.
Look up a column attachment by specifying the target id.
Remarks:
May return either a top or base attachment.
May return either a top or base attachment.
Syntax
public static ColumnAttachment GetColumnAttachment(
FamilyInstance column,
ElementId targetId
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| column | FamilyInstance | A column. |
| targetId | ElementId | Id of a target element. |
Return Value
| Type | Description |
|---|---|
| ColumnAttachment | The column attachment attaching the column to the target, or if there is no such attachment. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |