I have the location and the base vectors of a coordinate system and I'd like to use this data to create a coordinate system in ANSYS Workbench (2023R1) using the Python ACT API.
I found various methods that provide the same functionality as the GUI, but nothing that would create the system simply using the origin and the bases.
Could someone give me a hint on this?
I am assuming here, that you are working inside Ansys Mechanical. I found this snippet in the docs and added the 90° counterclockwise rotation function around the y-axis:
As I am on 2022R2 the source in the docs looks like this: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/act_script/act_script_examples_arbitrary_cs.html?q=coordinate%20system
EDIT:
Added rotation matrix since I missed the keyword base vector.