CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSA (https://www.cfd-online.com/Forums/ansa/)
-   -   Ansa version check (https://www.cfd-online.com/Forums/ansa/226183-ansa-version-check.html)

sumpate April 19, 2020 23:20

Ansa version check
 
How to check ansa version of file i.e. is it ansa 16 or ansa 18...using script?

rmaries April 21, 2020 00:38

Quote:

Originally Posted by sumpate (Post 766438)
How to check ansa version of file i.e. is it ansa 16 or ansa 18...using script?

Code:


print(constants.app_version)    #prints ansa version as string
print(constants.app_version_int) # prints  ansa version as int


sumpate April 25, 2020 02:35

Quote:

Originally Posted by rmaries (Post 766644)
Code:


print(constants.app_version)    #prints ansa version as string
print(constants.app_version_int) # prints  ansa version as int


Thank you for the reply...

sumpate April 27, 2020 03:33

But without opening file..can we check the ANSA version ??

rmaries April 27, 2020 04:22

Quote:

Originally Posted by sumpate (Post 767519)
But without opening file..can we check the ANSA version ??

Yes that is possible.

Check the script in ansa installation folder. there is a script in config folder named ansatoc.py.

With this script you can find the ansa version without opening ansa.


All times are GMT -4. The time now is 03:26.