/ENCRYPT

/ENCRYPT, Key, Fname, Ext
Controls encryption of command input.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

Key

Encryption key used to encrypt the data (32-character maximum). A character parameter may be used. If the key is unspecified, encryption is turned off.

Fname

Name of file (including directory path) where the encrypted commands are written (248-character maximum for both file name and directory). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.

Ext

File name extension (eight-character maximum).

Notes

This command opens the encrypted file specified by Fname and Ext for writing encrypted input commands.

Issuing this command results in a new file that overwrites any data in an existing file by the same name. When the encrypted file is written, the first line in the file is /DECRYPT,PASSWORD,OPENSSL and the last line is /DECRYPT.

See Encrypting Command Input and Other Data in the Ansys Parametric Design Language Guide for more information about using /ENCRYPT and performing encryption and decryption.

Menu Paths

This command cannot be accessed from a menu.