Revit 2026 API
RebarGet |
Gets the ids of the RebarShapes elements that defines the shapes of the rebar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public IList<ElementId> GetAllRebarShapeIds()
Public Function GetAllRebarShapeIds As IList(Of ElementId)
public: IList<ElementId^>^ GetAllRebarShapeIds()
member GetAllRebarShapeIds : unit -> IList<ElementId>
Return Value
IListElementIdReturns the ids of the RebarShapes elements that defines the shapes of the rebar.

If multiple bars in the set has the same shape id, this id will be reported only one in the resulted array.
See Also