2021 Method Back to 2021
M

GetOrCreateDefaultRebarShape

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2021).
Identical to 2021: 2020, 2022, 2023, 2024
2021 current
PathReinforcement.GetOrCreateDefaultRebarShape(Document, ElementId, ElementId, ElementId)
document Document The document.
rebarBarTypeId ElementId The id of the RebarBarType.
startRebarHookTypeId ElementId The id of the RebarHookType for the start of the bar. If this parameter is InvalidElementId, it means to create a rebar with no start hook.
endRebarHookTypeId ElementId The id of the RebarHookType for the end of the bar. If this parameter is InvalidElementId, it means to create a rebar with no end hook.
→ returns ElementId Rebar Shape id.
PathReinforcement.GetOrCreateDefaultRebarShape(Document, ElementId, ElementId, ElementId)
document Document The document.
rebarBarTypeId ElementId The id of the RebarBarType.
startRebarHookTypeId ElementId The id of the RebarHookType for the start of the bar. If this parameter is InvalidElementId, it means to create a rebar with no start hook.
endRebarHookTypeId ElementId The id of the RebarHookType for the end of the bar. If this parameter is InvalidElementId, it means to create a rebar with no end hook.
→ returns ElementId Rebar Shape id.
PathReinforcement.GetOrCreateDefaultRebarShape(Document, ElementId, ElementId, ElementId)
document Document The document.
rebarBarTypeId ElementId The id of the RebarBarType.
startRebarHookTypeId ElementId The id of the RebarHookType for the start of the bar. If this parameter is InvalidElementId, it means to create a rebar with no start hook.
endRebarHookTypeId ElementId The id of the RebarHookType for the end of the bar. If this parameter is InvalidElementId, it means to create a rebar with no end hook.
→ returns ElementId Rebar Shape id.
PathReinforcement.GetOrCreateDefaultRebarShape(Document, ElementId, ElementId, ElementId)
document Document The document.
rebarBarTypeId ElementId The id of the RebarBarType.
startRebarHookTypeId ElementId The id of the RebarHookType for the start of the bar. If this parameter is InvalidElementId, it means to create a rebar with no start hook.
endRebarHookTypeId ElementId The id of the RebarHookType for the end of the bar. If this parameter is InvalidElementId, it means to create a rebar with no end hook.
→ returns ElementId Rebar Shape id.