Code example: Center line intersection of part
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.