PAGE
This is a template attribute. Template attributes can be used in filtering, or to retrieve data from the model to use in drawings and reports. For example, when you create a report, Tekla Structures replaces the attributes added in the report template with the corresponding object property values.
This template attribute shows the current page number in a report or drawing.
Example of use in a report
If you want to show just the current page number, use the following in the report template:
GetValue("PAGE")
If you want to have the page number in the format "1/10" you need to combine it with the PAGES template attribute:
format(GetValue("PAGE"),"string",0,0)+"/"+format(GetValue("PAGES"),"string",0,0)