How to rotate more than one element simultaneously?

Hello,

I’m trying to rotate more than one element together using dynamo.

I used the node “rotate family” from the package “Archi Lab” but it rotate only one element it doesn’t rotate them all.

How can I modify the python script of this node to be able to rotate all the elements selected?

Thank you.

Are you passing a list to the node?

Yes, with the node “Select Model Elements”.

Hi Nicole,

If you want to use same axis and angle for different families, you need to use list.map and map the list of families.

Otherwise I suggest thqt you get your input list structures to match, it should work fine :

 

 

Tank you, it worked.