Any API to distinguish between Hyperworks X and Hyperworks classic version?
Ajay Prabhakaran
Altair Community Member
Hello all,
I have two scripts (Script 1 and Script 2) that need to be executed specifically in HyperWorks X version and HyperWorks Classic version. Script 1 should be executed only in the Classic version, while Script 2 should be executed only in the X version. We can automatically execute the scripts by adding them to hmcustom.tcl
. However, I’m not sure which version (Classic or X) the user will open. Is there an API available to determine which version of HyperWorks the user has opened?
0
Best Answer
-
Hi Ajay,
You can use
::hw::IsUnityFramework
Thanks,
Michal1
Answers
-
Hi Ajay,
You can use
::hw::IsUnityFramework
Thanks,
Michal1 -
Michal Stefuca_21473 said:
Hi Ajay,
You can use
::hw::IsUnityFramework
Thanks,
MichalHello Michal,
A big thank you..... as it solves our major issue.
0