2027 Method
Changes 8
M

RebarConstraint.IsReferenceAValidEdgeForConstraint

Description:
Checks if the reference provided can be used in creating 'ToHostEdge' or 'ToHostEdgeCover' constraint.
public static bool IsReferenceAValidEdgeForConstraint(
	Document document,
	Reference targetReference
)
  • document
    The document that contains the reference.
  • targetReference
    The reference to be checked.
Return Value Boolean Returns true if reference can be used in a constraint of 'ToHostEdge' or 'ToHostEdgeCover' type, false otherwise.