Says whether the element can be used as a target for a new attachment.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool IsValidTarget( FamilyInstance column, Element target )
Parameters
- column FamilyInstance
- The column to attach. If the target is a beam or brace, the column will be checked to see if it is slanted. Otherwise, this argument is not used and may be omitted.
- target Element
- A proposed target element for a column attachment.
Return Value
BooleanExceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |