Is it possible to figure out programatically what license FME is using?
i.e. if I have multiple versions of FME on a machine to check using Python if 'c:\\fme2013\\fme.exe' is using a professional or oracle license.
Cheers
-James
Is it possible to figure out programatically what license FME is using?
i.e. if I have multiple versions of FME on a machine to check using Python if 'c:\\fme2013\\fme.exe' is using a professional or oracle license.
Cheers
-James
Best answer by david_r
the easiest way is probably this, using Python:
lm = fmeobjects.FMELicenseManager() if lm.isReaderLicensed('ORACLE8I'): print "Oracle is licensed" else: print "Oracle is NOT licensed"
The parameter for isReaderLicensed() corresponds to the short name of any FME format. The format short name is listed in the FME reader gallery:
Note that the getLicenseType() method will only tell you the if the license if floating or node locked, etc.
David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.