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.
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
System.Object
Autodesk.Revit.DB.Structure.RebarCrankTypeUtils
public static class RebarCrankTypeUtils
| Name | Return Type | Description |
|---|---|---|
| CreateRebarCrankType(Document, String) | ElementType | Creates a Rebar Crank Type element. |
| GetAllRebarCrankTypes(Document) | IList<ElementId> | Gets all the Rebar Crank Types elements from the document. |
| GetCrankLengthMultiplier(Document, ElementId) | Double | Gets the crank length multiplier value. |
| GetCrankOffsetMultiplier(Document, ElementId) | Double | Gets the crank offset multiplier value. |
| GetCrankRatio(Document, ElementId) | Double | Gets the crank ratio value. |
| SetCrankLengthMultiplier(Document, ElementId, Double) | None | Sets the crank length multiplier value. |
| SetCrankOffsetMultiplier(Document, ElementId, Double) | None | Sets the crank offset multiplier value. |
| SetCrankRatio(Document, ElementId, Double) | None | Sets the crank ratio value. |