Tekla Macro

why i cant load recorded macro in component or any macro dosen’t shown
is there is any way to load it ?

Hi,

Macro’s won’t show up in the Component catalog, but you could trigger your macro from a scripting component with this line:

Tekla.Structures.Model.Operations.Operation.RunMacro("MyMacro.cs");

You’d need to add a reference to Tekla.Structures.Model.dll (right-click the C# component > Manage assemblies…), the file is located in the \bin or \bin\plugins folder of your Tekla Structures install folder.

Cheers,

Sebastian

3 Likes

Thank You Very Much It’s Worked
I Want To Ask How I Can Create Dump Model In Tekla 2021 ?

2 Likes