Guides and Articles

Use this documentation when building your Tekla Structures apps

Code example: Create user defined custom beam

Updated: 1 Nov 2017

This Tekla Structures example plug-in creates a custom beam defined by user input using CustomPartBase class.

User can select the profile and a length factor for the beam. The plug-in asks the user to pick two points. Based on those points, it calculates new insertion points using a double parameter from the dialog and creates a tapered beam based on profile parameter.

After downloading the TSOpenAPIExamples package from GitHub (button above), find BeamCustomPart example at \Model\Plugins\BeamCustomPart.