How to programmatically create bolt list reports from selected model objects (Tekla Open API)
Reports can be generated fairly easily, manually. But how do you do it programmatically using the Tekla Open API? Please see below for a code sample: Programmatically Extracting Report Values Now, if you want to generate the values programmatically, in memory, and then process them somehow into an excel output, consider the following code sample […]
How to Create a Curved Beam using the Tekla Open API (c#)
The key to this is to specify a chamfer value, and at least three points using the PolyBeam class. You must also provide a profile type that Tekla understands – otherwise you’ll get a bunch of straight lines. Here’s some basic code to get you started: You should be able to easily import, into Tekla, […]
Rhino Tekla Interop
Here is a demo on how a Rhino model can be brought into Tekla
Modelling Complex Contour Plates using the Tekla Open API
How to create custom Contour Plates using the Tekla Open API from Tek1 on Vimeo. Manually creating contour plates from CSV file inputs will likely be disastrous. You’ll inevitably make mistakes and things won’t fit on site: it will be an uphill battle. You can obviate these issues by using the Tekla Open API to […]
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. […]
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 […]