Skip to content

ColumnAttachment.RemoveColumnAttachment(FamilyInstance, Int32)

Public Class

Removes an attachment at the top or base of a column, if there is one.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public static void RemoveColumnAttachment(
FamilyInstance column,
int baseOrTop
)

Parameters

column FamilyInstance

A column.

baseOrTopInt32

0 for base, 1 for top.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


ArgumentOutOfRangeException

baseOrTop must be either 0 or 1.


Remarks

This method modifies both column and target elements.