GetItem Method


Rebar Container Get Item Method

Gets the item stored in the RebarContainer at the associated index.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public RebarContainerItem GetItem(
	int itemIndex
)

Parameters

itemIndex Int32
Item index in the Rebar Container

Return Value

RebarContainerItem
Rebar Container Item
Exceptions
Exception Condition
ArgumentException The item index is either less than 0 or graeter than or equal to number of items in this Rebar Container element.
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 →