Code example: Dimension Arrowhead

Updated: 22 Nov 2024

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\.

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