The Code Behind the Shed Builder
As promised, here are the key methods behind the ShedBuilder:
I have separate classes – e.g. Facia, Column, Chord, Girt etc. to better represent the concepts and the interplay between all the items – and then I simply tie them all together to get the output that I want, but the main logic is here – if you wish to write the code yourself:
And to extract properties given a particular profile:
And finally to get all profiles which have a “HEIGHT” property:
The Key Libraries I use:
- Spectre Console – https://spectreconsole.net/
- XUnit – Testing: https://xunit.net/?tabs=cs
- Tekla APIs – Downloaded from Nuget.
Automation
This is a live production / job example of how we can quickly / accurately detail sheds at scale.
Meaning we can handle:
(i) volume
(ii) speed
You can do the same too!
If you have questions or need assistance automating – feel free to email: koshy@tek1.com.au or ben.chenathara@gmail.com or visit our website: https://www.tek1.com.au/ or +61 0411 022 502 if you need to call me.
Or if you wish to develop the software yourself checkout our blog posts – where all the basic elements to create this type of automation is present.
For more posts checkout our Tekla API blog.












