RebarConstraintsManager.GetPreferredConstraintOnHandle
Method
Description:
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.
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| handle | RebarConstrainedHandle | The RebarConstrainedHandle for which the RebarConstraint is to be returned. |
Return Value
| Type | Description |
|---|---|
| RebarConstraint | The user preferred RebarConstraint applied to the RebarConstrainedHandle. |
Exceptions
| 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. |