Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Rotating a selection of family instances around a specific axis.

1 ANTWORT 1
Antworten
Nachricht 1 von 2
1083759
2594 Aufrufe, 1 Antwort

Rotating a selection of family instances around a specific axis.

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. 

1 ANTWORT 1
Nachricht 2 von 2
L.Maas
als Antwort auf: 1083759

Unfortunately that node only rotates it around the centroid of the object and then in the Z-Axis

 

Here a starting point for you.

 

Dynamo Rotate Family Instance.png

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

EESignature

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.

In Foren veröffentlichen  

Autodesk Design & Make Report