The function
mixing_elbow = prime.examples.download_elbow_fmd()
fails with an error
Traceback (most recent call last):
File "D:\...\PyMesh_Elbow.py", line 65, in <module>
mesh_util.read(file_name=mixing_elbow)
File "C:\Users\...\.ansys_python_venvs\Py3119_PyAnsys241\Lib\site-packages\ansys\meshing\prime\lucid\mesh_util.py", line 92, in read
prime.FileIO(self._model).import_cad(
File "C:\Users\...\.ansys_python_venvs\Py3119_PyAnsys241\Lib\site-packages\ansys\meshing\prime\core\fileio.py", line 504, in import_cad
import_result = super().import_cad(temp_file_name, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\...\.ansys_python_venvs\Py3119_PyAnsys241\Lib\site-packages\ansys\meshing\prime\autogen\fileio.py", line 650, in import_cad
result = self._comm.serve(self._model, command_name, self._object_id, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\...\.ansys_python_venvs\Py3119_PyAnsys241\Lib\site-packages\ansys\meshing\prime\internals\error_handling.py", line 535, in wrapper_error_code
raise PrimeRuntimeError(
ansys.meshing.prime.internals.error_handling.PrimeRuntimeError: CAD import failed.
CAD Import and tutorial works well when instead using this call:
mixing_elbow = prime.examples.download_elbow_pmdat()
π Before submitting the issue
π Description of the bug
The function
mixing_elbow = prime.examples.download_elbow_fmd()
fails with an error Traceback (most recent call last):CAD Import and tutorial works well when instead using this call:
mixing_elbow = prime.examples.download_elbow_pmdat()
π Steps to reproduce
Download and run tutorial
python PyMesh_Elbow.py
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
2024 R1
π Which Python version are you using?
3.11
π¦ Installed packages