I’m trying to create hair-pin bars in Dynamo for Revit.
When creating a bar with a 180 degree hook at one end, the Rebar.ByCurve node assumes the standard tangent hook/extension lengths (see image). I need to extend this end such that the length of bar on each side of the hook is of equal length (i.e. the 180 degree hook needs to be in the middle of the bar).
I’ve connected the rebar container to an Elements.Parameters node and tried altering the shape code from 32 to 39 and adding dimensions to the empty “B” and “C” parameters, but with no luck.
The hook dimensions, including the extension lengths, are parameters of the bar types and can be set in Revit through a pop up window, but I can’t figure out how to access them from Dynamo.
When you query the parameters of the bar type in Dynamo, you get this:
Is it possible to access the hook length parameters from within Dynamo?