Guides and Articles

Use this documentation when building your Tekla Structures apps

Code example: Create cubes and pyramids

Updated: 13 May 2019

In this Tekla Open API code example you will find out how to create cubes and pyramids using the Brep class. The application allows the user to select the location and side length for the shapes.

After downloading the TSOpenAPIExamples package from GitHub (button above), find BRep example at \Model\Applications\BRepExample.