2025 Method
Changes 1
M

RebarConstraintsManager.GetConstraintCandidatesForHandle

Description:
For shape driven rebar returns all possible RebarConstraints that will constrain RebarConstrainedHandle to the provided reference.For free form rebar will return an empty list.
Remarks:
Will throw exception if the provided reference cannot be used to constrain the provided rebar handle.
Overloads (3):
public IList<RebarConstraint> GetConstraintCandidatesForHandle(
	RebarConstrainedHandle handle,
	Reference reference
)
  • handle
    The RebarConstrainedHandle for which constraint candidates are sought.
  • reference
    The reference you want to constrain to. It can be a reference to any host in the model or any bar from any host.
Return Value IList<RebarConstraint> A collection of RebarConstraints