Define the Head and Tail of an Element
- Last UpdatedJan 24, 2023
- 1 minute read
Similarly define the text to be written to the attribute file at the start and end of each element by means of the ELEMENT_HEADER and ELEMENT_FOOTER commands.
The HTML file needs to start the table and define a caption at the start of each element, for example:
<TABLE BORDER><CAPTION>Cell 1 0</CAPTION>
and needs to close the table afterwards:
</TABLE>
Some of the information in the element header changes from element to element, and so the command uses two variables in the quoted strings:
ELEMENT_HEADER |<TABLE BORDER><CAPTION>²
Cell %ID1% %ID2%</CAPTION>|
ELEMENT_FOOTER |</TABLE>|
These variables (%ID1% and %ID2%) are replaced whenever an element is processed by the current identification numbers (the third and fourth numbers in the dgn attribute linkage). Refer to Variables Available for a list of all available variables.