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

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 →