IsItemHidden Method


Identifies if a given RebarContainerItem is hidden in this view.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

Syntax

C#
public bool IsItemHidden(
	View view,
	int itemIndex
)
Visual Basic
Public Function IsItemHidden ( _
	view As View, _
	itemIndex As Integer _
) As Boolean
Visual C++
public:
bool IsItemHidden(
	View^ view, 
	int itemIndex
)

Parameters

view
Type: Autodesk.Revit.DBView
The view.
itemIndex
Type: SystemInt32
Item index in the Rebar Container.

Return Value

True if the RebarContainerItem is hidden in this view, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The item index is either less than 0 or graeter than or equal to number of items in this Rebar Container element.
Autodesk.Revit.ExceptionsArgumentNullException 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 →