RebarInSystem.FindMatchingPredefinedPresentationMode
Method
Description:
Determines if there is a matching RebarPresentationMode for the current set of selected hidden and unhidden bars assigned to the given view.
Determines if there is a matching RebarPresentationMode for the current set of selected hidden and unhidden bars assigned to the given view.
Remarks:
If the presentation mode is not PresentationMode.Select for the view, this function returns the current mode.
If the presentation mode is not PresentationMode.Select for the view, this function returns the current mode.
Parameters
| Parameter | Type | Description |
|---|---|---|
| dBView | View | The view. |
Return Value
| Type | Description |
|---|---|
| RebarPresentationMode | The presentation mode that matches the current set of selected hidden and unhidden bars. If there is no better match, this returns RebarPresentationMode.Select. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |