How to Set Up a Tekla API Project (Tekla API Application)

Posted on Posted in Tekla API

Work faster with the Tekla API

The object of a Tekla Application is to ensure that things go smoothly on the construction site. You can see the organised chaos that is here. Avoid the real chaos. Plan ahead. 

For the newbie this post shows how to set up a Tekla Project.

Let us assume that you are creating a WPF desktop Application. You could also just as easily create a console application – I often do this if I simply want a quick and dirty way to test code.

  1. Go to Visual Studio.
  2. Create a new WPF project.

Follow this gif:

Setting up a Tekla Project
How to Set up a Tekla WPF Application
  1. Next you need to add references to Tekla DLLs. They are contained at this location on my PC. C:\Program Files\Tekla Structures\19.1\nt\bin\plugins\ .They may be in a different version on yours.

Follow this Gif:

Adding Tekla References

Shows how to add references to a Tekla API WPF Project.

  1. The fourth and final step is to add directives and to then get coding.

Some common directives and aliases that I use:

I hope this post helps you!

2 thoughts on “How to Set Up a Tekla API Project (Tekla API Application)

  1. Hello.

    Is there a way to create application shortcut in Tekla’s Application & components automatically?
    Thanks in advance.

    Vlad

    1. Hi there Mr Vladislav thank you for your question – but I do not understand the question. Is it possible for your to rephrase? Perhaps I will record a video showing everyone how to set up a Tekla project.

Leave a Reply

Your email address will not be published. Required fields are marked *