How to rotate array group along x-axis

Hello everyone,

I have problem to rotate an array group along x-axis. I created a ceiling array group and try to rotate the group along x-axis by using FamilyInstance.Set Rotation node. But, the warning error shows “No function called SetRotation on a Revit.Elements.Element that takes __array,int could be found”.

I understand this node is to rotate family instance around its local Z-axis. Can anyone show how to rotate array group along the x-axis?

Thank you.

Rotate Array Group Dynamo

Rotate Array Group PDF File

Rotate Array Group Revit