PathReinforcement.GetOrCreateDefaultRebarShape
Description:
Creates a new RebarShape object with a default name or returns existing one which fulfills Path Reinforcement bending data requirements.
Creates a new RebarShape object with a default name or returns existing one which fulfills Path Reinforcement bending data requirements.
-
documentThe document.
-
rebarBarTypeIdThe id of the RebarBarType.
-
startRebarHookTypeIdThe 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.
-
endRebarHookTypeIdThe 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.
-
rebarBarTypeId should refer to an RebarBarType element. -or- startRebarHookTypeId should be invalid or refer to an RebarHookType element. -or- endRebarHookTypeId should be invalid or refer to an RebarHookType element.
-
A non-optional argument was NULL