Code example: Dimension Arrowhead
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\.