Start a new topic

External python code for vortex studio

I plan to use a vortex studio as a simulating plant for machine learning. Is it possible to call and co-simulate a vortex studio scenario from an external python SDK code? If it is possible, please recommend some reference document.


Python can indeed be used to script an external application that loads and simulates content. Said content can be created via the Vortex Studio Editor or by code, be it C++ or even Python. 


Check the online Vortex Studio documentation for more information:  https://www.cm-labs.com/vortexstudiodocumentation/Vortex_User_Documentation/Content/VortexStudioSDK/SDK_pything_scripting.html



3 people like this

Some examples of how Python can implement Vortex are available via our tutorials. The "Tutorials" folder is installed along with Vortex and should be available in your installation folder.  The Python tutorials are named beginning with "Py", eg "PyContentCreation".


"PyContentCreation" will demonstrate how to create assets using the Python API, and "PyMechanismViewer" will demonstrate how to load and simulate assets.


3 people like this
Login to post a comment