Category: Tekla API
-
Pick First Selection in the Model (Tekla Open API)
The AutoCAD .net/ObjectARX APIs have a handy feature all the pick first selection. This means that prior to running a command, the user is able to select some objects in the model. The command is then able to use these objects. The question is, how to obtain a selection of objects using the Tekla API…
-
How to Set Up a Tekla API Project (Tekla API Application)
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…
-
Showing an Assembly in the Model via a Tekla Drawing (Part II) Tekla Open API + Code snippets
We are revisiting a post I made earlier. Here’s the problem. You are viewing a Tekla drawing. But you have no idea what you are looking at, or where it is. This macro will take you to that very assembly in the model. It’s actually quite handy. And here is the previous post where I…
-
AutoCAD-Tekla Interoperability (AutoCAD .net)
Tekla – AutoCAD Interoperability Tool Tekla licenses are pricey. About $30k + maintenance per license. What if I told you that you needed 30-50% less licenses than you currently hold. That’s a huge cost saving, isn’t it? If you only need 5 licenses (as opposed to 10), then you’ve saved $150k instantly, plus maintenance. AutoCAD…
-
How to insert Reference Models into Tekla
Wouldn’t it be handy if we could pro grammatically insert reference models into Tekla? Well you can now do so quite easily. And if you want to see a video demonstration, here it is: Here is the code which does the hard work. (You will of course add the appropriate references and directives):
-
Adding a Dimension to a Beam – Drawing – (Tekla Open API Tutorial)
This is an example of a hello world program which dimensions a beam. I found this code in the Tekla Drawing Samples folder. You can see it in action here: Let’s walk through it: We have to get the relevant drawing. Then we have to get the relevant part we want to dimension. Then…
-
Converting Engineering Components to Detailing Components
What do we want to do? We have received a Tekla model from someone. The model we have received was built using an Engineering Modelling license. We have a full detailing license. There are components in this model, but we can’t number them because they were produced using an engineering license. If you want to…
-
Tekla–AutoCAD: Interoperability Tool
Tekla – AutoCAD Interoperability Tool Tekla licenses are pricey. About $30k + maintenance per license. That’s expensive. And if you had 10 licenses, or perhaps even 50 licenses, what if I told you that you needed: 30-50% less licenses than you currently hold? That’s a huge cost saving. If you only need 5 licenses, then…
-
Converting Engineering Components to Detailing Components (Tekla API)
Has anyone every given you a model created form an engineering license and asked you to produce shop drawings from it? Well that’s incredibly difficult to make possibly. Because you can’t easily number parts. So I created a macro which makes life much easier (and faster) too. Here is a demo of how it works:…