RebarConstraint.IsReferenceValidForConstraint
Description:
Checks if the reference provided can be used in creating 'ToFace' or 'ToCover' Rebar constraints
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.
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
)
-
A non-optional argument was null
-
The RebarConstraint is not of RebarConstraintType 'FixedDistanceToHostFace' or 'ToCover'.