Category: .net (c#)
-
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…
-
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…
-
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…
-
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…
-
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.…
-
Getting Started In AutoCAD .net Development
Simply check out the following links: My first plug in training: http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=18162797 Download the .net Wizards, and the other resources on the AutoDesk website. Download Visual Studio https://www.visualstudio.com/vs/community/ Handy resources: https://www.theswamp.org/index.php?topic=32381.0 Popular blog: http://through-the-interface.typepad.com/ Documentation: http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-BA686431-C8BF-49F2-946E-9CEB2F7AE4FA http://help.autodesk.com/view/OARX/2018/ENU/
-
How To Make Alternate Dimension Units Appear Below the Primary Units (AutoCAD .net API)
This was a question which someone asked. I accordingly answered it with a code example. The answer is simple: Ensure that you add `“\X”` as a suffix to the `DimStyleTableRecord.Dimpost` property. Here is a code example: