Revit 2025.3 API
Rebar |
Identifies if a given bar in this rebar set is hidden in this view.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool IsBarHidden( View view, int barIndex )
Public Function IsBarHidden ( view As View, barIndex As Integer ) As Boolean
public: bool IsBarHidden( View^ view, int barIndex )
member IsBarHidden : view : View * barIndex : int -> bool
Parameters
- view View
- The view.
- barIndex Int32
- The index of the bar from this rebar set.
Return Value
BooleanTrue if the bar is hidden in this view, false otherwise.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | barIndex is not in the range [ 0, NumberOfBarPositions-1 ]. |
See Also