RebarCrankTypeUtils.GetAllRebarCrankTypes Method

RebarCrankTypeUtilsGetAllRebarCrankTypes Method

Gets all the Rebar Crank Types elements from the document.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static IList<ElementId> GetAllRebarCrankTypes(
	Document document
)
Public Shared Function GetAllRebarCrankTypes ( 
	document As Document
) As IList(Of ElementId)
public:
static IList<ElementId^>^ GetAllRebarCrankTypes(
	Document^ document
)
static member GetAllRebarCrankTypes : 
        document : Document -> IList<ElementId> 

Parameters

document  Document
The document.

Return Value

IListElementId
Returns all the Rebar Crank Types elements from the document.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
Remarks
Internally this function is returning all element ids from a FilteredElementCollector of category BuiltInCategory.OST_RebarCrankType.
See Also