XS_SYSTEM
This advanced option specifies the location of the Tekla Structures system folder.
Category in Advanced options dialog: File locations
This advanced option is only meant for administrators.
The system folder contains files that define the default settings for Tekla Structures, such as:
-
standard files
-
data files (.dat)
-
property files
-
hatch pattern files
-
drawing files
-
template files
-
report files.
This system-specific advanced option has the type SYSTEM. The type cannot be changed to MODEL(SYSTEM).
Specifying more than one folder in the XS_SYSTEM path
If you specify only one folder in the XS_SYSTEM path, only files at the root level of that folder are read. To read files in subfolders, you must also include the subfolders in the XS_SYSTEM path. For example:
set XS_SYSTEM=%XSDATADIR%\environments\common\system\ConstructionManagement\;%XSDATADIR%\environments\common\system\Steel\;%XSDATADIR%\environments\common\system\
Tekla Structures searches the folders from right to left, starting with the folder at the end of the path.
In this example, the %XSDATADIR%\environments\common\system\ folder is searched first, and the XS_STEEL folder is searched last:
set XS_SYSTEM=%XS_STEEL%;%XS_ENGINEERING%;%XS_CONTRACTOR%;%XS_GENERAL%;%XSDATADIR%\environments\common\system\
If there are files with the same name and extension in several folders, the folder that is closest to the beginning of the path has the highest priority. In the example above, files in the XS_STEEL folder are used instead of files with identical names in other folders.
Using multiple system folders for different roles
You can specify more than one system folder to define different settings for different roles. Use the role options defined in the env_<environment>.ini file to specify system folders for each role in XS_SYSTEM. Enter the role options separated by semicolons.
For example, each of these role options specifies the folders that contain the settings specific to that role:
-
XS_STEEL(\Steel) -
XS_CONCRETE(\Concrete) -
XS_ENGINEERING(\Engineering) -
XS_PRECAST(\Precast)
This example shows the option for the steel role in the env_<environment>.ini file:
set XS_STEEL=%XSDATADIR%\environments\Steel\master_drawings\;%XSDATADIR%\environments\Steel\model_filters\;%XSDATADIR%\environments\Steel\model_settings\