journal to get nx version
journal to get nx version
(OP)
NX8.0.3.4
NX8.5.1.3
Native
I know how to do this with grip, but in trying to upgrade to newer tools I'm looking for a different way to get the version of NX being run into an expression or attribute. Can this be done with journals or other included tools? It's most likely embarassingly simple but the doc's haven't been installed by IT........yet.
Thanks in advance.
NX8.5.1.3
Native
I know how to do this with grip, but in trying to upgrade to newer tools I'm looking for a different way to get the version of NX being run into an expression or attribute. Can this be done with journals or other included tools? It's most likely embarassingly simple but the doc's haven't been installed by IT........yet.
Thanks in advance.





RE: journal to get nx version
- NX 8.0.3.4: major = 8, minor = 0
- NX 8.5.1.3: major = 8, minor = 5
then you can use:CODE
Dim majorVersion As String = theSession.GetEnvironmentVariableValue("UGII_MAJOR_VERSION") Dim minorVersion As String = theSession.GetEnvironmentVariableValue("UGII_MINOR_VERSION")It gets a bit trickier if you need to differentiate patch levels (MR's and MP's). One journal that I've seen saved the NX log file to disk then parsed the log file to get the info.
www.nxjournaling.com
RE: journal to get nx version