How to Create a Curved Beam (Tekla Open API)

_config.yml

Gripe Alert: The Tekla API has gotta be the worst, most cumbersome API I have ever come across. The documentation is (virtually) non-existent. Might as well ask programmers to read the APIs using a .net debugger like Reflector.

The key to this is to specify a chamfer value, and at least three points using the PolyBeam class. You must also provide a profile type that Tekla understands - otherwise you’ll get a bunch of straight lines.

Here’s some basic code to get you started:

Written on February 11, 2020