I never did this kind of script but i think you need to use some nodes from this post [ How to place revit groups at point - #8 by swohlgemuth ] and after this you need to rotate the group. You can use something like this:
I never did this kind of script but i think you need to use some nodes from this post [ How to place revit groups at point - #8 by swohlgemuth ] and after this you need to rotate the group. You can use something like this: