Tag: Tekla API
-
How to Get Drawing Revision Numbers
Couldn’t do it, because it’s not exposed. This is a hack that I used to circumvent:
-
Exploring a New Approach to Copying Objects in Tekla
copy to another Object in Tekla Normally in Tekla, if we want to copy objects or components from one object to another, we have to follow these steps : Select the objects and components you want to copy. Execute the “Copy to Another Object” command. Choose the source object. Select the destination…
-
Tek1 – Tekla Tools
Dimension Bolts Set up Instructions Source code (sorry folks it’s a private repository). Download program here. Only works for: Tekla version: 19.1i Run Installer. SmartScreen may warn you about this program – by pass SmartScreen. Instructions: Only dimensions horizontally and vertically. This means if you use some crazy views / angles it won’t work –…
-
How to Get Bolt Information From A Tekla Part (Tekla Open API)
Given a Tekla Part (regardless of how it was obtained, we want to obtain the bolt information. We can do so as follows (see the hello world example):
-
Refactoring the Code – Printing Selected Beams to Excel – Part 3 – (Tekla Open API)
Let us now continue to refactor according to good design principles.
-
Refactoring the Code – Printing Selected Beams to Excel – Part 1 – (Tekla Open API)
We will attempt to do something which is seldom done or discussed in Tekla code samples: and that is the very important issue of refactoring code. 1. Start with Tests. The first thing you need is a good suite of tests. That way you will know whether something has gone wrong or not.…
-
Write Selected Beam Members to an Excel File (Tekla Open API – Tutorial)
What is the task at hand? The user selects some beams. We then want to collate the following information into various Excel spreadsheets: Name Profile Length and finally Weight We want two views: the first aggregates the beams by their name and finish, and the second merely lists all the beams selected with the information…
-
Extracting Bolt Distances of Single Part Drawings (Beams) With an Output In Excel – Part 3 (Tekla Open API)
In the last part we left off having obtained all the bolt distance and placing them in a domain object. In this instalment we will try to export all that data into an Excel Spreadsheet. Please note that the following code is untested – unfortunately there was a lightening storm in Melbourne which short circuited…
-
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…