Example of a variable formula: Calculate the number of handrail posts using a template attribute
This example shows how to create a variable formula that calculates the number of handrail posts based on the length template attribute of the beam. The handrail posts were created at both ends of the beam and one of them was copied with the Array of objects (29) component.
You can now change the spacing and the end distance of the handrail posts in the custom component dialog box. Tekla Structures calculates the number of posts based on the spacing, end distance, and length of the beam.