Share

RebarInSystem.FindMatchingPredefinedPresentationMode Method

Determines if there is a matching RebarPresentationMode for the current set of selected hidden and unhidden bars assigned to the given view.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public RebarPresentationMode FindMatchingPredefinedPresentationMode(
	View dBView
)

Parameters

dBView  View
The view.

Return Value

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

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

If the presentation mode is not PresentationMode.Select for the view, this function returns the current mode.

See Also

Reference

Was this information helpful?