Rotation 2 point adaptive component


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:

Thanks! :slight_smile: