Answer Question
Rotate and Mirror Components using Python
Is it possible to rotate or mirror a component's orientation using the PSCAD Python API?
For example after running the line below to add a new 2-winding transformer to the canvas, I would like to rotate the transformer 90 degrees counter clockwise.
newxfmr = main.add_component(library='master', name='xfmr-3p2w', x=200, y=200)
Please share an example of how to do this.
For example after running the line below to add a new 2-winding transformer to the canvas, I would like to rotate the transformer 90 degrees counter clockwise.
newxfmr = main.add_component(library='master', name='xfmr-3p2w', x=200, y=200)
Please share an example of how to do this.