RemoveItem Method


Removes Item from the Rebar Container.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2016

Syntax

C#
public void RemoveItem(
	RebarContainerItem pItem
)
Visual Basic
Public Sub RemoveItem ( _
	pItem As RebarContainerItem _
)
Visual C++
public:
void RemoveItem(
	RebarContainerItem^ pItem
)

Parameters

pItem
Type: Autodesk.Revit.DB.Structure RebarContainerItem
Item to be removed from this Rebar Container

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException The item is not a member of this Rebar Container element.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions DisabledDisciplineException None of the following disciplines is enabled: Structural.

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 →