Code example: Split polygon weld into segments

Updated: 13 May 2019

This Tekla Open API code example splits an existing polygon weld into its segments.

Split Polygon Weld is an example application showing how to use Picker class to pick the weld and how to handle the weld points in order to implement the splitting. Example uses also the method Operation.CopyObject.

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

Split polygon weld application

Tekla Structures Open API code example split polygon weld into segments

Test the example application

You can test the application in Tekla Structures as follows:

  1. In Tekla Structures, open a model that contains polygon welds.
  2. Open an build SplitPolygonWeld.csproj In Microsoft Visual Studio to create the application file. The file is located at \Examples\Model\Applications\SplitPolygonWeld.
  3. Run the application SplitPolygonWeld.exe located at Examples\Model\Applications\SplitPolygonWeld\bin\Debug.
  4. Click Split polygon weld and select polygon weld in model view.
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.