SPLIT REBAR.dyn (45.8 KB)
Hi all, I tried modifying this to split rebar. But its not working. Any ideas on what could be the problem?
that happens if you try add the host id. Without it it runs fine
No it needs to be singular. You can use the area reinforcement tool but you need to remove the area
Please check every input type in Rebar.ByCurve.
-
hostElementId
needs an Id, not the element. -
startHookType
&endHookType
need Elements, not booleans. - You are mixing Curves with Polycurves
The script does further makes sense.
So what am I doing wrong here with the curves? What is the difference between polycurves and curves? Do I need to convert polycurves to curves?
You still need to tell the Rebar.ByCurve
how to handle hooks.
Use
Rebar Hook Orientation
& Rebar Hook Type
as inputs. For me, this generates Rebars properly.
What kind of errors? Could you send a Screenshot of the curve input?