CanSuppressFirstOrLastBar Method


Rebar Can Suppress First Or Last Bar Method

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: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanSuppressFirstOrLastBar(
	View dBView,
	int end
)

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

Boolean
True the first or last bar in rebar set can be hidden for this view, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →