Category: Tekla API
-
Select Bolts From Tekla Model Based on its Tolerance using WPF (Tekla Open API) + Code Snippets + Video Demo
This is a repost from our sister site – I needn’t repeat it here, but it’s something that I’ve worked on, and which we hope to utilize to a greater degree when working with Tekla. Anyways, you can get the full blog post if you click this link here. Thank you for stopping by. Video…
-
How to Programmatically Select Objects in the Model (Tekla Open API)
Background: What are we trying to do? We have programmatically identified some model objects that we want to select in the model – to attract attention to the user and to allow her to easily identify all such objects. In this particular case we will be creating some beams. And then, we will select those…
-
How to Get Parallel Grid Line Points (Tekla Open API)
What is the task at hand? So I get some phone calls the other day – people complaining. They want changes. Yet again! Why can’t these people make up their minds! That means I have to get off Facebook, go back to my code – which I hopefully haven’t forgotten, and I have to…
-
Copying From Object To Object – Tekla Open API (Code Snippets + Video)
What is the task at hand? We want to make the Copy Object To Object command more efficient There is a nifty little command – little oft used in Tekla. The “Copy Object To Object” command. It’s handy, but it could be made better: all the model objects have to be selected individually. That can…
-
Dimensioning Bolts in a Tekla Drawing – Tekla Open API – (Demo + Code snippets)
We want to create a little drawing plug-in What we want to do is to select and dimension all the bolts to a particular grid line. Here’s how it should work: * The user selects a group of bolts. * The user selects a gridline. * Dimensions are drawn from the Bolts to the Gridline.…
-
How to programmatically insert Reference Models into Tekla (Tekla Open API)
Wouldn’t it be handy if we could programmatically insert reference models into Tekla? Well you can now do so quite easily. Here is the code which does the hard work. (You will of course add the appropriate references and directives): And if you want to see a video demonstration, here it is: Inserting XRefs into…
-
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…