Guides and Articles

Use this documentation when building your Tekla Structures apps

Code example: Create user defined beam

Updated: 1 Nov 2017

This Tekla Open API example plug-in creates a beam defined by user input.

User can select the profile and a length factor for the beam. The plugin 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 beam.

The same example is found in the API Reference PluginBase section implemented using a .inp file to define the dialog.

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