RebarSetCrankTypeId Method |
Sets the id of the Crank Type to be applied to the rebar.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic void SetCrankTypeId(
int end,
ElementId crankTypeId
)
Public Sub SetCrankTypeId (
end As Integer,
crankTypeId As ElementId
)
public:
void SetCrankTypeId(
int end,
ElementId^ crankTypeId
)
member SetCrankTypeId :
end : int *
crankTypeId : ElementId -> unit
Parameters
- end Int32
-
0 for the start Crank, 1 for the end Crank.
- crankTypeId ElementId
-
The id of a Crank Type element, or invalidElementId if the rebar should have no crank at the specified end.
Exceptions
See Also