Rebar.SetHookTypeId
Description:
Set the id of the RebarHookType to be applied to the rebar.
Set the id of the RebarHookType to be applied to the rebar.
public void SetHookTypeId(
int end,
ElementId hookTypeId
)
-
Int32end0 for the start hook, 1 for the end hook.
-
hookTypeIdThe id of a RebarHookType element, or invalidElementId if the rebar should have no hook at the specified end.
-
the rebar hook type id hookTypeId is not valid
-
A non-optional argument was null
-
end must be 0 or 1.