Rebar.SetHookTypeId
Description:
Set the id of the RebarHookType to be applied to the rebar. If an EndTreatmentType is present at the rebar end, it will automatically set to invalidElementId.
Set the id of the RebarHookType to be applied to the rebar. If an EndTreatmentType is present at the rebar end, it will automatically set to invalidElementId.
public void SetHookTypeId(
int end,
ElementId hookTypeId
)
-
the rebar hook type id hookTypeId is not valid
-
A non-optional argument was null
-
end must be 0 or 1.