RebarConstraintsManager.GetConstraintCandidatesForHandle
Description:
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.
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.
Remarks:
Will throw exception if the provided elementId is not a valid constraint target.
Will throw exception if the provided elementId is not a valid constraint target.
Overloads (3):
GetConstraintCandidatesForHandle(RebarConstrainedHandle,ElementId)
public IList<RebarConstraint> GetConstraintCandidatesForHandle(
RebarConstrainedHandle handle,
ElementId elementId
)
-
handleThe RebarConstrainedHandle for which constraint candidates are sought.
-
elementIdThe elementId ( host or rebar ) of the element in which the candidates are searched for. It can be any host in the model or any bar from any host.
-
elementId is not a valid RebarConstraint target element.
-
A non-optional argument was null
-
The RebarConstraintsManager does not manage a valid Rebar element.