Drawing sheet number in format: 2 of 10
Not version-specific
Tekla Structures
Environment
Not environment-specific
Question:
How can I get the sheet number in format “2 of 10” visible in the drawing title block?
Answer:
In the Template Editor, you can get the sheet number of the drawing with formula: mid(GetValue("CURRENT_DRAWING.NAME_BASE"),(1+(find(GetValue("CURRENT_DRAWING.NAME_BASE"),"-"))),2)
However, the last sheet number does not come automatically. You can put it into an UDA-field or some other drawing attribute such aslike TITTLE3 though, but this needs updating when you add a new sheet.
mid(GetValue("CURRENT_DRAWING.NAME_BASE"),(1+(find(GetValue("CURRENT_DRAWING.NAME_BASE"),"-"))),2)+GetValue("TITLE3")
How can I get the sheet number in format “2 of 10” visible in the drawing title block?
Answer:
In the Template Editor, you can get the sheet number of the drawing with formula: mid(GetValue("CURRENT_DRAWING.NAME_BASE"),(1+(find(GetValue("CURRENT_DRAWING.NAME_BASE"),"-"))),2)
However, the last sheet number does not come automatically. You can put it into an UDA-field or some other drawing attribute such aslike TITTLE3 though, but this needs updating when you add a new sheet.
mid(GetValue("CURRENT_DRAWING.NAME_BASE"),(1+(find(GetValue("CURRENT_DRAWING.NAME_BASE"),"-"))),2)+GetValue("TITLE3")
Image