OS: Linux, Windows
Use the MGLS_INCLUDE_LICENSES and MGLS_EXCLUDE_LICENSES client-side environment variables to control access to certain licenses.
These environment variables are similar to the FlexNet options file INCLUDE and EXCLUDE functionality, except that the restriction occurs on the client side instead of the server side.
Do not mix the use of client-side variables with server-side restrictions (the FlexNet options file), at least for the same feature name. This could result in failure to check out the required licenses.
While the MGLS_INCLUDE_LICENSES and MGLS_EXCLUDE_LICENSES environment variables are useful for controlling whether users can access certain licenses (for example: expadvpack_c), you should be careful when setting these variables. You could unknowingly restrict your machine from accessing any licenses. When possible, set these variables inside a script that invokes the application (for example: Xpedition® xPCB Layout) so that the restriction does not impact all Mentor applications.
The following example specifies to request only the expadvpack_c license.
Linux:
#!/bin/sh
MGLS_INCLUDE_LICENSES=expadvpack_c
export MGLS_INCLUDE_LICENSES
$SDD_HOME/common/linux/bin/ExpeditionPCBWindows:
SET MGLS_INCLUDE_LICENSES=expadvpack_c
START %SDD_HOME%\common\win32\bin\ExpeditionPCB.exeWhen you set the MGLS_INCLUDE_LICENSES environment variable, only the specified feature names can be requested. Set MGLS_INCLUDE_LICENSES inside a script instead of an environment variable so that the value does not impact all Mentor applications.
Linux:
The following example specifies to invoke xPCB Layout and have the tool ignore (exclude) the expadvpack_c license.
#!/bin/sh
MGLS_EXCLUDE_LICENSES=expadvpack_c
export MGLS_EXCLUDE_LICENSES
$SDD_HOME/common/linux/bin/ExpeditionPCBWindows:
The following example has a mix of atomic xPCB Layout licenses (wgpcb, wgascentl2, wgascentlx, and so on), as well as the expadvpack_c composite. The example specifies to ignore the expadvpack_c composite and request the atomic licenses instead.
SET MGLS_EXCLUDE_LICENSES=expadvpack_c
START %SDD_HOME%\common\win32\bin\ExpeditionPCB.exeWhen you set the MGLS_EXCLUDE_LICENSES environment variable, the specified feature names cannot be checked out. Set MGLS_EXCLUDE_LICENSES inside a script instead of an environment variable so that the value does not impact all Mentor applications.
Linux:
The following example specifies to never request an expadvpack_c or expadvtech_c license.
#!/bin/sh
MGLS_EXCLUDE_LICENSES=expadvpack_c:expadvtech_c
export MGLS_EXCLUDE_LICENSES
$SDD_HOME/common/linux/bin/ExpeditionPCBWindows:
The following example specifies to never request a padses_c, padsls_c or dxdesigner040_c license.
SET MGLS_EXCLUDE_LICENSES=padses_c;padsls_c;dxdesigner040_c
START %SDD_HOME%\common\win32\bin\ExpeditionPCB.exeWhen including a list of features, use the colon (Linux) or semi-colon (Windows) as the delimiter.