I am working on a parametric geometry in which the positioning angle of some composite stiffeners has to change at every realization of the model. As the result, I need to define the orientation direction of the oriented element sets as a funtion of the rotation angle. So far, I have been trying to write a piece of script that can use the rotation angle parameter (defined in Workbench) and generate the orientation direction vector automatically, but it has not been successful. I will truly appreciate your help.

Kind regards