Currently we run Cubit with the --batch command and point it to a old python script However we can import Cubit into the system python https://coreform.com/cubit_help/cubithelp.htm?#t=appendix%2Fpython%2Fimporting_cubit_into_python.htm