Did you know that logged in users can see a lot more content?

Macro Player

Last updated December 3, 2018 by Sascha Hamanke sascha.hamanke@trimble.com

Software version: 
Not version-specific
Not environment-specific

Macro Player

Purpose and description

The macrosaved series of actions that includes instructions for a program

Macros are located in the applications and components catalog. They are recorded or created manually and stored as .cs file in a folder defined with the advanced option XS_MACRO_DIRECTORY.

Macros can, for example, be used for creating drawings or reports.

Macros are sometimes used to run an application.

player enables the user to play multiple macros behind each other. Each macro will have an own selection filterfilter used for defining which object types can be selected

Selection filter chooses model objects according to object properties.

Selection filters can be standard or user-defined.

For example, selection filters can be used to select parts for drawings or analysis.


Installing the Macro player Extension

The installation package can be found here.

After the installation, the Macro player Extension can be found in the component catalogcatalog that contains all system components and custom components, and the macros and applications

The term component catalog is used in Tekla Structures until version 21.1.



Using the Macro Player Extension

The extension is started from the component cataloguser interface for displaying or modifying information in categorized lists

For example, profile catalog and shape catalog are catalogs.

by double-clicking on the icon. The following dialog box opens:


Select the model objects which you want to include in the object selection. Set up the macros and the corresponding selection filters and start the macro player by pushing either the "All" or "Selected" button.



Standard file

You can select your saved settingsmaster drawing where the drawing settings are saved in a drawing property file and used when creating a new drawing of a specific drawing type

and load them or you type something new and save it under this name.


The filter defines on which of the model objects selected by the user will the corresponding macro run on.


The macro shown runs on the model objects which have been selected by the user and at the same time pass the corresponding filter.


If you hover over the row, you will get additional icons shown. With these icons, you can move a row up or done or delete it.


Here the user can add new macros and corresponding filters.

Run for selected or all

The user can select to run the macro player for all parts in the model or for the current selection.


The user can close the user interface without running the macro player.

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
No votes yet