How to select the release version to launch pygeometry?


I am using this code
release = "251" modeler = pygeometry.launch_modeler(mode="discovery", hidden=True, version=release)
but in the processes I see that instead Discovery 2025 R2 gets started. How can I ensure the selected version gets started?
Ansys Python Manager 0.3.10
Installed packages:
Package Version
aiohappyeyeballs 2.4.6
aiohttp 3.11.13
aiosignal 1.3.2
annotated-types 0.7.0
ansys-acp-core 0.1.0
ansys-additive-core 0.19.0
ansys-additive-widgets 0.2.1
ansys-api-acp 0.2.0
ansys-api-additive 2.2.1
ansys-api-dbu 0.3.8
ansys-api-dyna 0.4.2
ansys-api-edb 1.0.10
ansys-api-fluent 0.3.35
ansys-api-geometry 0.4.27
ansys-api-mapdl 0.5.2
ansys-api-mechanical 0.1.2
ansys-api-meshing-prime 0.1.4
ansys-api-modelcenter 0.3.1
ansys-api-platform-instancemanagement 1.1.2
ansys-api-pyensight 0.4.2
ansys-api-sherlock 0.1.35
ansys-api-systemcoupling 0.2.0
ansys-api-tools-filetransfer 0.1.1
ansys-api-workbench 0.2.0
ansys-conceptev-core 0.8
ansys-dpf-composites 0.6.2
ansys-dpf-core 0.13.3
ansys-dpf-post 0.9.2
ansys-dyna-core 0.7.0
ansys-dynamicreporting-core 0.9.0
ansys-edb-core 0.1.9
ansys-engineeringworkflow-api 0.1.0
ansys-fluent-core 0.28.2
ansys-geometry-core 0.8.1
ansys-grantami-bomanalytics 2.2.0
ansys-grantami-bomanalytics-openapi 3.1.0
ansys-grantami-jobqueue 1.1.0
ansys-grantami-recordlists 1.3.0
ansys-grantami-serverapi-openapi 4.0.0
ansys-hps-client 0.9.1
ansys-mapdl-core 0.68.6
ansys-mapdl-reader 0.54.2
ansys-math-core 0.2.0
ansys-mechanical-core 0.11.12
ansys-mechanical-env 0.1.9
ansys-mechanical-stubs 0.1.6
ansys-meshing-prime 0.7.0
ansys-modelcenter-workflow 0.1.1
ansys-motorcad-core 0.7.0
ansys-openapi-common 2.2.0
ansys-optislang-core 0.9.2
ansys-platform-instancemanagement 1.1.2
ansys-pyensight-core 0.9.2
ansys-pythonnet 3.1.0rc6
ansys-rocky-core 0.3.1
ansys-seascape 0.2.0
ansys-sherlock-core 0.8.1
ansys-simai-core 0.2.5
ansys-sound-core 0.1.3
ansys-systemcoupling-core 0.8.0
ansys-tools-filetransfer 0.1.1
ansys-tools-local-product-launcher 0.1.1
ansys-tools-path 0.7.1
ansys-tools-visualization-interface 0.8.3
ansys-turbogrid-api 0.4.3
ansys-turbogrid-core 0.4.1
ansys-units 0.3.5
ansys-workbench-core 0.7.0
...
Best Answer
-
Solution is to use the argument "product_version" instead and assigning the release number as integer value:
release= 251 modeler = pygeometry.launch_modeler(mode="discovery", hidden=True, product_version=release)
This is currently getting fixed. In future "version" will be consistently used same as for PyFluent etc.
0
Answers
-
Do you have the 2025R2 version? As far as I know, it hasn't been released yet.
Try to change "hidden = False", then discovery will be opened in GUI mode, Verify it
FYR:
0 -
Hello @Naveen Kumar Begari , yes I have a Preview of 2025 R2 installed and this is what is getting started. But
version="251"
should not start any other version then the selected, correct?0