CanSuppressFirstOrLastBar 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: 17.0.0.0 (17.0.1090.0)
Since: 2017

Syntax

C#
public bool CanSuppressFirstOrLastBar(
	View dBView,
	int end
)
Visual Basic
Public Function CanSuppressFirstOrLastBar ( _
	dBView As View, _
	end As Integer _
) As Boolean
Visual C++
public:
bool CanSuppressFirstOrLastBar(
	View^ dBView, 
	int end
)

Parameters

dBView
Type: Autodesk.Revit.DB View
The view in which presentation mode will be applied.
end
Type: System Int32
0 for the first bar in rebar set, 1 for the last bar.

Return Value

True the first or last bar in rebar set can be hidden for this view, false otherwise.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions 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 →