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.

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.