fluxcontrol/automation.py
2025-03-26 10:26:29 +01:00

11 lines
298 B
Python

import numpy as np
import pandas as pd
import json
import h5py
pyenv("Version", "3.9", "ExecutionMode","OutOfProcess")
pymotorcad = py.importlib.import_module('ansys.motorcad.core')
pymotorcad.set_motorcad_exe('D:\Ansys_Motor-CAD\2024_2_2_1\Motor-CAD_2024_2_2_1.exe')
mcApp=pymotorcad.MotorCAD()