Revit 2025 API
RebarIs |
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.0.0.0 (25.0.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
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