Author: admin
-
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…
-
Tek1 Adds QR Codes to Drawings backed by an App on the cloud
Clear lines of communication is one of the keys to the success of any organisation. Now you can easily track and record information pertaining to panels with a QR code on each panel drawing. Here’s how it works: You scan the QR code, if you’re on the construction site and want to find out specific…
-
Create Truss (Process) – BubbleDeck Detailing
A nifty little tool that automatically inserts trusses into bubble deck panels depending on: Their thickness their width And also their: specified ball / void spacing. Please remember to select all the panel lines. You can see a video demo here: Create Truss – Tek1 Tools for BubbleDeck from Tek1 on Vimeo.
-
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…
-
An Example of a Non-compliant Stair-case: A Case Study (Australian Standards)
What happens if you don’t get it right? Have you ever fallen down a flight of stairs? I hope not! But from experience I can tell you that it’s not a very pleasant one. I slipped as I was walking down – I fell supine, hard, like a hammer on a nail, bang into the…
-
Entity Framework by with a Mysql Database
The problem with using a database, when you have another primary source of information, is that the database needs to be updated. Constantly. If someone forgets to update the database, then you will be relying on information that is old/erroneous and not updated. That’s a huge risk. It’s the type of thing that you…
-
A Poor Man’s Line Jig (well, there’s actually no jigging here) – (AutoCAD .net API)
I wanted to implement a jig for drawing a Line – but strictly speaking I didn’t want the line itself – I wanted its two points, yet I wanted all the features that come with jigging: snaps, polar tracking, and a nice line leading from the base point to the cursor, which shows…