question

Patryk avatar image
0 Likes"
Patryk asked Jeanette F commented

Check server license

Is it possible to read the entered value in the server license ID using the code?

Or in some other way see the available server license but not whether it is there but its code

1708501716853.png

FlexSim 23.2.3
codelicenseslicesnse server
1708501716853.png (13.8 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jeanette F avatar image
1 Like"
Jeanette F answered Ben Wilson commented

Hello @Patryk,

You cannot see the server license information like the standalone license from the client PC.

The most similar things you could do is check license features with licensehasfeature() which will return a 1 or 0 if the software is licensed to have access to a particular feature. The features are all constraints that start with CLF_

1708534223367.png

You can also go to the help menu and select " About FlexSim". You will then see what modules are licensed.

You can also use a command to print the license type to a node in a tree. (The "so" is the text node in the tree that you want to write to).

  1. applicationcommand("getsysteminfo", 7, so);

1708534223367.png (23.1 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.