For shape driven rebar returns all possible RebarConstraints belonging to references from the provided element that could be used for a specified RebarConstrainedHandle.
For free form rebar will return an empty list.
public IList<RebarConstraint> GetConstraintCandidatesForHandle( RebarConstrainedHandle handle, ElementId elementId )
| Exception | Condition |
|---|---|
| ArgumentException | elementId is not a valid RebarConstraint target element. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The RebarConstraintsManager does not manage a valid Rebar element. |