How to get WB version?
Ayush Kumar
Member, Moderator, Employee Posts: 450
✭✭✭✭
Answers
-
GetFrameworkVersion() '20.1'
Only from 2021R1:
GetFrameworkVersion() '21.1' GetPersistedExternalVersionString() '2021 R1' GetPersistedProjectVersion() '211'
0 -
-
In Mechanical you can try this (2022r2 at least):
import ansys
import Ansys.Utilities
version = Ansys.Utilities.ApplicationConfiguration.DefaultConfiguration.VersionInfo.VersionString
1