Guides and Articles

Use this documentation when building your Tekla Structures apps

Code example: Dimension Arrowhead

Updated: 6 Aug 2020

This code example shows dimension creation and how to use the Arrowhead attribute.

Specifically, the example demonstrated how use customized arrows from dimension_arrows.sym file. Check this Tekla User Assistance guide for instructions how to customize dimension line arrows.

Once you have your arrow defined in dimension_arrows.sym you can use it from the API using the symbol number, for example, attr.Arrowhead.Head = (ArrowheadTypes)8;

The application is a static application that creates straight x dimensions to the beams in the active drawing.

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