Properties of the objects.inp file
This example shows the main properties of objects.inp:
attribute("MY_INFO_1", "My Info 1", string, "%s", no, none, "0.0", "0.0")
{
value ("", 0)
}
picture("image_name", 8, 2, 260, 25)
Property | In the example | Description |
---|---|---|
|
|
|
attribute_name |
|
Attribute name, used to find the attribute value. Ensure that Tekla Structures does not already use the attribute name you use. Consider using a prefix that ensures the name is unique, for example, your initials, or an abbreviation of your company name. The attribute name is case-sensitive. Do not use spaces or reserved characters in attribute names. The maximum length of the name can be 19 characters. To include the attribute in a report or template, add the name of the attribute to your layout in the Template Editor. When you run a report or create a drawing, Tekla Structures displays the current value of the attribute. |
label_text |
|
Label that Tekla Structures displays in the dialog box. Some default attributes have prompts like
|
value_type |
|
If you need to change
the When the advanced
option XS_DIAGNOZE_AND_REPAIR_WRONG_UDA_TYPE is set to |
field_format |
|
Definition of the field format in the dialog box
|
special_flag |
|
For parts: consider in numbering For drawings: display the attribute value in Document manager For other elements: no effect |
check_switch |
|
This option is not used. |
attribute_value_max |
|
This option is not used. |
attribute_value_min |
|
This option is not used. |
Property | In the example | Description |
---|---|---|
picture |
picture |
|
image name | image_name |
The name of the image |
width | 2 |
The width reserved for the image |
height | 8 |
The height reserved for the image |
horizontal offset | 260 |
The horizontal distance of the left edge of the image from the left edge of the dialog box |
vertical offset | 25 |
The vertical distance of the top edge of the image from the top edge of the dialog box counted from the lower edge of the tab section |