2023 Method Back to 2023
M

RebarShapeMatchesCurvesAndHooks

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2023).
Identical to 2023: 2020, 2021, 2022, 2024, 2025, 2025.3
Not present in: 2027
2023 current
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation)
No longer obsolete in 2023 (was obsolete in 2026)
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
norm XYZ The normal to the plane that the rebar curves lie on.
curves IList<Curve> An array of curves that define the shape of the rebar curves. They must belong to the plane defined by the normal and origin. Bends and hooks should not be included in the array of curves.
startHook RebarHookType A RebarHookType element that defines the hook for the start of the bar.
endHook RebarHookType A RebarHookType element that defines the hook for the end of the bar.
startHookOrient RebarHookOrientation Defines the orientation of the hook plane at the start of the rebar with respect to the orientation of the first curve and the plane normal. Only two values are permitted: Value = Right: The hook is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." Value = Left: The hook is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."
endHookOrient RebarHookOrientation Defines the orientation of the hook plane at the end of the rebar with respect to the orientation of the last curve and the plane normal. Only two values are permitted: Value = Right: The hook is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." Value = Left: The hook is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."
→ returns Boolean True if rebarShape matches curves and hooks.