How to reverse the orientation

How can I reverse the orientation in a script, as shown in the figure below?
Best Answers
-
Hi @Akane Ito
You are showing a picture of the coordinate system definition/details.
See here how to set that up (coordinate system):
https://discuss.ansys.com/discussion/1302/create-and-rotate-coordinate-system
Let us know if this helps or if you refer to something else (explain more if that is the case, e.g., if you refer to a force direction)
If it is a force we can get the current direction (force_33 is the defined force object) and then flip it (by vector multiplication):
Vec=force_33.Direction # current direction
Nvec=Ansys.ACT.Math.Vector3D( float(Vec.X) * -1.00,float(Vec.Y) * -1.00, float(Vec.Z)*-1.00) # flip Vec
force_33.Direction=Nvec
0 -
Hope the above helps
0
Answers
-
Hello, @Akane Ito , I think @AKD-Scripting-Team might be able to help you!
0