GetRebarContainersInHost Method


Returns all RebarContainer elements hosted by the referenced element.

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

Syntax

C#
public IList<RebarContainer> GetRebarContainersInHost()
Visual Basic
Public Function GetRebarContainersInHost As IList(Of RebarContainer)
Visual C++
public:
IList<RebarContainer^>^ GetRebarContainersInHost()

Exceptions

Exception Condition
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 →