2027 Method
Changes 8
M

RebarConstraint.IsReferenceValidForConstraint

Description:
Checks if the reference provided can be used in creating 'ToFace' or 'ToCover' Rebar constraints
Remarks:
Reference is valid if it points to an uncut face of a structural that can host Rebar.
[ObsoleteAttribute("This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().")]
public bool IsReferenceValidForConstraint(
	Reference targetReference
)
  • targetReference
    The reference to be checked.
Return Value Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.