Hi. I've modelled a row of sunshades in a roof overhang, over a large window section.
I'm trying to use Dynamo to rotate these sunshades around their midpoint, to vary the amount of sun they let in. But I'm quite new to Dynamo, and the only sequence I've gotten to somewhat work rotates the families around the Z axis, while I need to rotate them around their X axis. Is there a way to change the rotation axis?
I've looked around for a while, but has been unable to find a way to solve this (Apart from perhaps remaking the model). But I hope this isn't a duplicate thread.
Unfortunately that node only rotates it around the centroid of the object and then in the Z-Axis
Here a starting point for you.
Note that it makes use of the archi-lab.net package
Script rotates the family around a line. Line is created here on 0,0,0 and in the direction of the Z-axis.
Also note that if you can not rotate an object in plain revit (around a certain axis) Dynamo also will fail.
Other approach might be to create the rotation as parameter inside the family. Then you only would have to set the rotation aporameter with Dynamo
Louis
Please mention Revit version, especially when uploading Revit files.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.