Create customized desktop shortcuts for Tekla Structures
To use the correct .ini files for a specific project, you can create shortcuts to start teklastructures.exe with customized initializations.
You can create desktop shortcuts for different purposes, for example, to have customized setup files depending on the client that you are working for in a project. The Tekla Structures installation automatically creates shortcuts for the selected environments.
We recommend that only administrators create the customization and desktop shortcuts. Otherwise, your settings might differ from the settings defined for your firm, or for the particular project you are working for.
For more information about initialization files (.ini files), see initialization files (.ini files).
Create a desktop shortcut for Tekla Structures with customized initializations
Available parameters in desktop shortcuts for Tekla Structures
You can use these parameters in desktop shortcuts for Tekla Structures.
You can use the parameters in combinations. For example, you can set the parameters to automatically bypass the Tekla Structures - Choose setup dialog box, open a model, and run a macro.
Parameter | Description |
---|---|
|
The given .ini file is loaded before the environment .ini files. This parameter can be specified multiple times. This parameter can be used to bypass the Tekla Structures - Choose setup dialog (the login dialog). Example:
|
|
The given .ini file is loaded after the role .ini files. This parameter can be specified multiple times. Example:
|
To open an existing model
|
The given model is opened after start-up. Example:
|
To open an existing, autosaved model
|
The given autosaved model is opened after start-up. Example:
|
To create a new model without a model template
|
A new model is created after start-up. Example:
|
To create a new model using a model template
|
A new model using a model template is created after start-up. Example:
|
To create a new multi-user model
|
A new multi-user model is created after start-up. Example:
|
To run a macro after start-up
|
The given macro is executed after start-up. The example below opens Tekla Structures, sets the environment, role and configuration from the Bypass.ini file, opens the model, and reads in and saves the model by using the Example Macro: Model Sharing Read in and Save from the BIM Publisher tool that is available in Tekla Warehouse.
|
Example of an initialization file
This example shows a customized project initialization file that calls other initialization files.
MyProject.ini
//The project is based on the default UK settings
call C:\ProgramData\Trimble\Tekla Structures\2019.0\Environments\uk\env_UK.ini
//..but our company policy requires these changes
call c:\CompanySettings\OurPolicy.ini
//..and the fabricator requires something
call c:\Fabricators\Fabricator1.ini
//..and then we let users to make some changes (color etc.)
call c:\Users\user_%USERNAME%.ini
The project shortcut for this initialization file:
"C:\Program Files\Tekla Structures\<version>\bin\TeklaStructures.exe" -i "\\MyServer\MyProject\MyProject.ini" "\\MyServer\MyProject\MyModel\"
Bypass the sign in dialog box
You can bypass the sign in dialog box by creating a desktop shortcuts for Tekla Structures that uses a customized Bypass.ini file.