Tag: c#
-
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):
-
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…
-
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…
-
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…
-
Finding the Point on a Curve Which is the Closest Point to Another Curve? (AutoCAD .net API)
The Genesis of this problem This is a tricky little problem and I could not find a solution on the forums. So I resolved, upon discovering the solution, to oblige posterity and the public, to publish my findings. Specific Notes about this problem Now the following code has been generalised to the specific case of…
-
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. …
-
Comparing Panels Demo – This Time from the Shop Drawing to the Elevation!
This is big. Huuuuge! I’ve talked before about our ability to easily cross check between the Layout and Shop drawings. Now you can cross check from the other direction – when you are in the shop drawing, you can now check the corresponding panel which exists in the layout. You can clearly see any differences.…