Revit 2025.3 API
Rebar |
Gets all the Rebar Splice Types elements from the document.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static IList<ElementId> GetAllRebarSpliceTypes( Document document )
Public Shared Function GetAllRebarSpliceTypes ( document As Document ) As IList(Of ElementId)
public: static IList<ElementId^>^ GetAllRebarSpliceTypes( Document^ document )
static member GetAllRebarSpliceTypes : document : Document -> IList<ElementId>
Parameters
- document Document
- The document.
Return Value
IListElementIdReturns all the Rebar Splice Types elements from the document.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

Internally this function is returning all element ids from a FilteredElementCollector of category BuiltInCategory.OST_RebarSpliceType.
See Also