RVTDocs.com

ColumnAttachment.IsValidTarget(Boolean, Element)

Method
Description:
Says whether the element can be used as a target for a new attachment.
Remarks:
Valid targets are roofs, floors, ceilings, levels. Beams and braces are valid targets, except for slanted columns.
Syntax
public static bool IsValidTarget(
	bool forSlantedColumn,
	Element target
)
Parameters
Parameter Type Description
forSlantedColumn Boolean If true, check whether the target is valid for a slanted column; if false, check whether the target is valid for a vertical column.
target Element A proposed target element for a column attachment.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null