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.

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