RVTDocs.com

RebarConstraint.IsReferenceValidForConstraint

Method
Description:
Checks if the reference provided can be used in creating Rebar constraints
Remarks:
Reference is valid if it points to an uncut face of a structural that can host rebar.
Syntax
public bool IsReferenceValidForConstraint(
	Reference targetReference
)
Parameters
Parameter Type Description
targetReference Reference The reference to be checked
Return Value
Type Description
Boolean returns true if reference can be used in a constraint, false otherwise
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null