Can not import geometry remotely. #490
Replies: 2 comments 2 replies
-
|
@narnia-mason Hi, What Operating Systems are you using for |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Hi @narnia-mason - just guessing here, but is the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm working on accessing Mechanical remotely.
I have two machines:
ansys_host: Remote machine that Ansys has been installed.client: Local machine that I'm working on with Python andansys-mechanical-core.Case I (directly executing
ansys-mechanical)First, I have run
ansys-mechanical --port <port>directly onansys_host.Then
mech = launch_mechanical(ip=ansys_host, port=port)works.I have a IronPython script for importing geometry as follows:
So I can import a geometry by:
I've checked if the geometry was imported.
It gave me
It means the geometry has been successfully imported!
Case II (remotely executing
ansys-mechanicalusing SSH)Secend, I have run
ansys-mechanical --port <port>remotely onansys_hostusing SSH, and did the same thing.But I got
It means, the
Geometry Importhas been added (geo_import = Model.GeometryImportGroup.AddGeometryImport()),but the importing itself has failed (
geo_import.Import(r"{cad_path:s}", geo_import_format, geo_import_preferences)).Why this happen and how can I resolve this problem?
Beta Was this translation helpful? Give feedback.
All reactions