For ShapeDriven: Returns the RebarConstraint that has been set as preferred for the specified RebarConstrainedHandle.
For FreeForm: Returns the RebarConstraint that acts on the specified RebarConstraintHandle.
public RebarConstraint GetPreferredConstraintOnHandle( RebarConstrainedHandle handle )
| Exception | Condition |
|---|---|
| ArgumentException | handle is no longer valid. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The RebarConstraintsManager does not manage a valid Rebar element. |