XS_MACRO_DIRECTORY

Tekla Structures
2022
Tekla Structures

XS_​MACRO_​DIRECTORY

Category: File Locations

Specifies a global and a local folder for recorded macro files. Macro files are usually language and environment dependent and will not run in any other environment or language. This advanced option is system-specific.

Use a semicolon (;) as a separator. Do not define more than two macro folders.

First define the global folder, and then the local folder, for example:

set XS_MACRO_DIRECTORY=%XSDATADIR%environments\common\macros;%XSDATADIR%environments\uk\General\user-macros

This advanced option is by default set to ..\ProgramData\Trimble\Tekla Structures\<version>\environments\common\macros.

Note:

Do not change the global folder. If necessary, you may change the local folder.

When you click the Access advanced features button in Applications & components, you can select whether to create a global or local macro by selecting New macro > Local or > Global. The option Local is not displayed, if you have not specified the folder.

Note:

The macro folder must contain subfolders modeling and drawings.

Was this helpful?
Previous
Next