Category: Tekla API
-
TeklaInterop Minimum checks
Friends, there is no substitute to reading the documentation. The most up to date version of this is located in our Team Drive – but here is a local copy nonetheless. AutoCAD-Tekla-Interop-Documentation Following minimum checks should be carried out for interop The member-schedule CSV file has the all the layer names in the cad files…
-
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 2 – (Tekla Open API)
Ok, so we’ve done some significant refactoring. We’ve considered a lot of things. Some things still to be improved: Naming, Better utilization of the ClosedXML library – because our techniques are quite primitive right now. Testing (this really should be done first, but no matter). Further refining the code according to SOLID design principles. Here…
-
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…
-
Extracting Bolt Distances of Single Part Drawings (Beams) With an Output In Excel – Part 2 (Tekla Open API)
In the last part, we left off having collected the relevant Single Part Drawings that we were after. Hopefully we have applied the correct property to filter out the ‘HEA’, ‘IPE’ and ‘CC’ drawings. We will now focus on part II – extracting the distance of the bolts from the beam’s start position. …
-
Extracting Bolt Distances From Single Part Drawing Files With an Output In Excel – Part 1 (Tekla Open API)
Every now and again we obtain a request from our readership to tackle a problem. If it is of general interest to the public and given our commitments we do sometimes oblige. Here is one such interesting problem. We will tackle this in three parts, and will focus on part 1 in this blog post.…
-
Pick First Selection in the Drawing (Tekla Open API)
Imagine you are in the Tekla Drawing space. We want to dimension certain objects in the drawing. First we need to identify the objects that we want to select. Since the Tekla Closed Open API doesn’t have much of a picker exposed, we would be forced to select the objects we need before running our…