ColumnAttachment.IsValidTarget
Description:
Says whether the element can be used as a target for a new attachment.
Says whether the element can be used as a target for a new attachment.
Remarks:
Valid targets are roofs, floors, and ceilings. Beams and braces are also valid targets, except for slanted columns.
Valid targets are roofs, floors, and ceilings. Beams and braces are also valid targets, except for slanted columns.
Overloads (2):
public static bool IsValidTarget(
FamilyInstance column,
Element target
)
-
columnThe 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.
-
targetA proposed target element for a column attachment.
-
A non-optional argument was null