Specify licensing information for Alias translators
Alias includes several file translators that you can execute from the command line. To access these translators, browse to the translator folder in the Alias installation directory. For example:
C:\Program Files\Autodesk\AliasAutoStudio2021.1\bin\translators
.
Many of these translators require that you specify license information before you can use them. This licensing information includes the following:
- ALIAS_PRODUCT_KEY - Product keys are specific to the Alias product you are using and its release version. For example is "966M1"
- ALIAS_PRODUCT_VERSION -The release version you are using. For example 2021.0.0.F.
- ALIAS_PRODUCT_LICENSE_TYPE - The type of license are you using, such USER for subscription users, SA for stand-alone licenses or NW for network license servers or flex tokens.
- ALIAS_PRODUCT_LICENSE_PATH - You must specify the full path to the LIC file in use. This information must be provided even when you are using a subscription user license type (USER). In this case, even if a LIC file does not exist, you can provide a path to the most likely location of a LIC file.
There are two ways to specify the license information: using environment variables or by explicitly passing them as command line parameters.
Use environment variables to specify license information
Use these environment variables to specify licence information:
ALIAS_PRODUCT_KEY=<your_product_key>
ALIAS_PRODUCT_VERSION=<your_product_version>
ALIAS_PRODUCT_LICENSE_TYPE=<your_license_type>
ADSKFLEX_LICENSE_FILE=<your_path_to_network_license_file>
Information in the "<" / ">" bracket pairs must be replaced by values from your specific installation.
Use the command line to specify license information
Licensing parameters can be passed to the translator like other arguments. Using the syntax below, create a single command line to specify your license information.
-productKey <your_product_key> -productVersion <your_product_version> -productLicenseType <your_license_type> -productLicensePath <your_path_to_network_license_file>