You can use Tekla Structures advanced options in value field formulas.
- Insert a value field into a template component.
- Select the value field and double-click to open the Value Field Properties dialog box.
- Click the Formula button to open the Formula Contents dialog box.
- In the Formula field enter:
GetValue("ADVANCED_OPTION.XS_variablename")
- In the Value Field Properties dialog box, ensure that you select the right Data type for the value field in question: Number, Number with decimals or Text.
- Click Check to see if the formula syntax is correct. If you see an error message, you can click OK to continue.
- Click OK to close the Formula Contents. If another error message appears, you can ignore it.
The reason for the error indicating unknown attributes could be due to a spelling error (if you have typed it in) or because the advanced options are not listed in the contentattributes_global.lst or contentattributes_userdefined.lst files.
That being said, errors related to unknown attributes are rare.