2027 Class
Changes 7
C

RebarCrankTypeUtils

Description:
Utility class for dealing with Rebar Crank Type operations. To find all Rebar Crank Types in the document can be done using FilteredElementCollector of category BuiltInCategory.OST_RebarCrankType.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarCrankTypeUtils
public static class RebarCrankTypeUtils
Name Return Type Description
M CreateRebarCrankType(Document, String) ElementType Creates a Rebar Crank Type element.
M GetAllRebarCrankTypes(Document) IList<ElementId> Gets all the Rebar Crank Types elements from the document.
M GetCrankLengthMultiplier(Document, ElementId) Double Gets the crank length multiplier value.
M GetCrankOffsetMultiplier(Document, ElementId) Double Gets the crank offset multiplier value.
M GetCrankRatio(Document, ElementId) Double Gets the crank ratio value.
M SetCrankLengthMultiplier(Document, ElementId, Double) None Sets the crank length multiplier value.
M SetCrankOffsetMultiplier(Document, ElementId, Double) None Sets the crank offset multiplier value.
M SetCrankRatio(Document, ElementId, Double) None Sets the crank ratio value.