Modify the default attributes of Custom Inquiry tool
Use the InquiryTool.config file to control which attributes are shown as default attributes in the Manage contents dialog box in the Custom Inquiry tool.
Tekla Structures searches for the InquiryTool.config file in the following folders in the following order:
- \attributes folder in the model folderfolder that is used for storing files associated with a model
Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).
In multi-user mode all users access the same model folder.
- \CustomInquiry subfolder in the folder defined by XS_PROJECT
- \CustomInquiry subfolder in the folder defined by XS_FIRM
- \CustomInquiry subfolder in the folder defined by XS_SYSTEM
If you specify several folders that have \CustomInquiry as a subfolder, Tekla Structures uses the first folder it finds.
To add new attributes to the InquiryTool.config file:
- Open the InquiryTool.config file in any standard text editor.
- Copy the entire contents of [ATTR_CONTENT_??] to the end of the file.
- Change the position numberidentifier that is assigned to all similar parts, assemblies, cast units, or reinforcement
Position number consists of a prefix, separator, and running number. The prefix is part of the position number, identifying a numbering series. The running number is part of the position number, and is the assigned number in the numbering series, based on the start number. The separator is an optional character, such as a slash, that separates the prefix and the running number.
In Tekla Structures, the position numbers assigned in the numbering are shown in marks and templates, for example.
In the US, the term piece mark or ship mark is used to refer to a position number.
of the new attribute.
For example, change [ATTR_CONTENT_??] to [ATTR_CONTENT_66].
- Modify the NAME , DISPLAY_NAME , DATATYPE , UNIT , and DECIMAL values of the new attribute. Use the attribute names and definitions that are included in the contentattributes_global.lst or contentattributes_userdefined.lst file.
- Change the TOTAL_ATTR_CONTENT value to reflect the total number of attributes in the file.
For example, change TOTAL_ATTR_CONTENT=65 to TOTAL_ATTR_CONTENT=66.
- Save the file.