Rebar.GetCrankTypeId
Description:
Gets the id of the Crank Type id that is applied to the rebar.
Gets the id of the Crank Type id that is applied to the rebar.
Remarks:
Interactions with Rebar Crank Types can be done with the functions in [!:Autodesk::Revit::DB::Structure::RebarCrankTypeUtils].
Interactions with Rebar Crank Types can be done with the functions in [!:Autodesk::Revit::DB::Structure::RebarCrankTypeUtils].
public ElementId GetCrankTypeId(
int end
)
-
Int32end0 for the start Crank, 1 for the end Crank.
Return Value
ElementId
Returns the id of a Crank Type, or invalidElementId if the rebar has no crank at the specified end.
-
end must be 0 or 1.