I have a tunnel segment adaptive family that I can manually place on a normal plane of a model line and it then stays attached to it (moves accordingly when the line gets moved or rotated, see gif).
I want to place multiple segments in this manner using Dynamo, but I’m struggling to get there. I have tried multiple ways of placing the family but always end up with it being inserted in the right location, but on a horizontal plane (attempts are attached). What am I doing wrong? Do I have to use the API to get there or, preferably, is there a way just using nodes?
Thanks for the answer. I changed the family setting, but I still don’t see how you managed to place the family via Dynamo. Did you actually manage to make it dependent on the model line? Can you elaborate?
I think selet family types,than put them into the place where you want them to be is better than select exsiting family instances then change their locations.
Hi @vancikv
first to host adaptvie family to line by using dynamo has a problem in API, yes you can do that maual but from API you can not for bug in revit API.
secand: if you add adaptive point host by line you will face problem in the torsion angle (twist) and it is very difficult to solve and avoid this rotation.
for that i do not inset adaptive family host by line. I insert it in global and defiend it to be Z global and instant XY plan as @Draxl_Andreas wrote.
also you can use “BriMohareb_2023” to create the model and calculate the angle
Thanks for the reply. It seems odd, though, because I have actually achieved what I wanted using a code snippet from the post of yours that you’re refering to. At least I think so. You’re saying there’s some problem with a twist? I’m posting my solution, can you pinpoint that problem?
Btw @Draxl_Andreas actually suggests Instance(Z) if my german’s still OK, not Global(Z) as you’re claiming. Instance(Z) worked for me