I am trying to create a script which will automatically create a clearance area (Adaptive Component family) on top of the Cable Trays but I encountered a problem at placing this clearance on vertical CT. The problem is that the clearance family has a strange rotation and it’s not always on top of the CT. I have attached pictures with my problem and also the dyn file.
Can you guys please guide me to solve this issue ? I would really apreciate your help! Thank you !
Nest your adaptive family in another adaptive family.
When you start your adaptive family, place one point and make it adaptive, click the point and see the rotation angle parameter. Place your already created adaptive family on this point and lock it.
Now you can rotate it. If needed nest it again for rotation in another direction (Z)
Make sure the family is shared so you can access nested families with Dynamo.
(This applies to one-point adaptives)
Use Element.Location and Line.Direction to get the Cable trays direction and match.
The adaptive family I am using in this case has two adaptive points, but you mentioned above that the worklow you sugested is working only for families with one adaptive point, so I think it;s not helping me.
Did you ever figure out a solution for this problem? I’m working on a very similar situation where my 2-point adaptive components are placing in the wrong orientation when they are placed vertically. Thanks!
Hi @athompsonMCS8M
Unfortunately I didn’t had the time to further invetigate this issue. please let me know if you find a way to place the adaptive components with the right rotation.
Can you pls explain a bit more? I have same Problem and I want to rotate 3 Points adaptive family arround 2 Axises. I can set rotation for plane XY but not for other planes.