IsBarHidden Method


Rebar In System Is Bar Hidden Method

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
)

Parameters

view View
The view.
barIndex Int32
The index of the bar from this rebar set.

Return Value

Boolean
True if the bar is hidden in this view, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException barIndex is not in the range [ 0, NumberOfBarPositions-1 ].
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →