I want to change the body color using RGB settings. Even if I set it with RGB like in this example, the recorded script ends up showing it differently.
Convert RGB as follows. Colors are displayed in RGB on the color palette, but they are actually represented in BGR, so caution is required.https://developer.ansys.com/docs/mechanical-scripting-interface/api/ansys/mechanical/stubs/v242/Ansys/Mechanical/DataModel/Constants/Colors.md
R = 255 G = 255 B = 192
N = B*256**2 + G*256 + R
body.Color = N
I solved it myself. No response needed. Thank you!
Hi @Akane Ito, Could you please post the solution so that others may benefit?
Many thanks @Akane Ito