Bypass the login dialog and immediately open your model with a customized short cut

Tekla Structures
2023
Tekla Structures
2022
Tekla Structures
2021
Tekla Structures
2020
Tekla Structures
2019i
Tekla Structures
2019
Tekla Structures
2018i
Tekla Structures
2018
Tekla Structures
Bypass
shortcut
login
open model
Environment
Not environment-specific

Bypassing the login screen and immediately open a specific model with a customized shortcut is possible. There are two steps to achieve this:

  1. Customize the Bypass.ini file. For complete information see the Bypassing the login screen section of Implementation guide for administrators the Product guide.
  2. Create start-up shortcuts with customized initializations. For complete information see the Product guide Create start-up shortcuts with customized initializations.

Tip:
If you only want to bypass the login dialog — but not open a specific model — simply exclude the model path in the shortcut Target field. 

Bypass the login dialog by customizing the the Bypass.ini

Image
Screenshot of the Bypass.ini file highlighting the XS_DEFAULT_ENVIRONMENT, & XS_DEFAULT_LICENSE lines. XS_DEFAULT_ROLE, &

Customizing the shortcut

  • Open the properties of the Tekla Structures shortcut and add the full path to the customized Bypass.ini file. For example:

-I "<path>\Bypass.ini"

Tip:
For the Bypass.ini to work, the capital -I must be used. If additional ini files are needed to set other advanced options, a lowercase -i can be used. See the Available parameters in shortcuts section of the Create start-up shortcuts with customized initializations Product guide for further information.

  • In the Target field of Tekla Structures shortcut, add the full path to the the model folder that you want to open after the full path to the customized Bypass.ini file. For example:

"<path>\Model_Name"

Tip:
It is recommended to place all file paths in double quotes ("). Encapsulating the file paths in double quotes (") prevents spaces from causing the target to fail.

An example of a complete modified target:

"C:\Program Files\Tekla Structures\2022\bin\TeklaStructures.exe" -I 
"C:\ProgramData\Tekla Structures\2022\Environments\uk\Bypass.ini"

 

Esta informação foi útil?