Guides and Articles

Use this documentation when building your Tekla Structures apps

Code example: Center line intersection of part

Updated: 13 May 2019

The Tekla Open API code example draws the faces of a part that intersect with the center line of the part.


It demonstrates how to:

  • Work with solid / faces.
  • Work with geometry functions (distance, intersection).
  • Use temporary graphics in model views.

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