2021 Method Back to 2021
M

HookAngleMatchesRebarShapeDefinition

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, 2025, 2025.3
2021 current
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
iEnd Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
end Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
iEnd Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
end Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.