Revit 2026 API
RebarCan |
Checks if the first or last bar in rebar set can be hidden in the given view.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool CanSuppressFirstOrLastBar( View dBView, int end )
Public Function CanSuppressFirstOrLastBar ( dBView As View, end As Integer ) As Boolean
public: bool CanSuppressFirstOrLastBar( View^ dBView, int end )
member CanSuppressFirstOrLastBar : dBView : View * end : int -> bool
Parameters
- dBView View
- The view in which presentation mode will be applied.
- end Int32
- 0 for the first bar in rebar set, 1 for the last bar.
Return Value
BooleanTrue the first or last bar in rebar set can be hidden for this view, false otherwise.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also