I'm trying to apply the concept of a digital twin and would like to update my CAD model in CATIA using real-time data. e.g. a servo motor cad model in CATIA/solidworks would continuously be receiving data such as speed and acceleration and I would be able to see the kinematics in CATIA/solidworks like the end result of this video https://www.youtube.com/watch?v=tbVXumMtH1A . I would also like to see the stress on the motor parts like the end result of this video https://youtu.be/9glRJyWWXZw
I want to do all of this using a script that sends commands to catia/solidworks, it updates the model and returns updated parameters. Since I want it to work continuously, the state of the model must be preserved between consecutive commands.
From all the information I have come across online I'm pretty sure that it is possible but I can't figure out how to do it. I've tried using pycatia but the documentation only mentions very basic functionality nothing about analysis or simulations.