pyAnsys Geometry errors opening file
willblatt
Member Posts: 13
**
Trying to open an existing SpaceClaim file using ansys.geometry and no matter what I do, I get this error:
from ansys.geometry.core import launch_modeler_with_spaceclaim modeler = launch_modeler_with_spaceclaim() modeler.open_file("airfoil.scdoc")
CRITICAL - - logger - handle_exception - Uncaught exception Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\mambaforge\envs\ansys\Lib\site-packages\ansys\geometry\core\errors.py", line 101, in wrapper raise GeometryExitedError( ansys.geometry.core.errors.GeometryExitedError: Geometry service connection terminated:
That file exists (and is in the working directory) and SpaceClaim opens fine when launched but I get that error every time.
Tagged:
0
Answers
-
and just to check, the same error appears when I give it the full path to the .scdoc file.
0 -
Hi @willblatt! Quick questions before anything...
- What version of SpaceClaim are you using?
- What version of PyAnsys Geometry are you using (ansys-geometry-core)?
0 -
SpaceClaim: 2023R2 (2023.2.0.05153)
ansys.geometry.core.__version__
'0.4.3'
0 -
And reading deeper into the docs after your question, I see:
Downloading the latest version to test with now.
1