Rotation 2 point adaptive component

Hi,

i place a 2 point adaptive component family via Dynamo in Revit but the i need to rotate the created family. In Revit this works easily but selected a reference plane and then the family will get placed on that reference plane. How can i do that in Dynamo? Or how can i rotate the family created by AdaptiveComponent.ByPoints2


The red marked family needs to be referenced to the yellow marked surface. In 3D it looks like:

The blue group is the right node i am talking about and you can download the files here:
https://uibkacat-my.sharepoint.com/:f:/g/personal/laurin_ernst_student_uibk_ac_at/EhHdRB-rlvxJjk8DOTYEh_MBtdCFXt5r0B1Vwy_dDbpAwQ?e=6wIUYv

Thanks! :slight_smile: