Properties of the objects.inp file

Tekla Structures
2018
Tekla Structures

Properties of the objects.inp file

The example below shows the main properties of objects.inp.

Property

In the example

Description

attribute or unique_attribute

attribute

attribute is a regular attribute, which is copied with other part properties.

unique_attribute is a non-copyable attribute. The value of the attribute is never copied to another part. For example part checking status attributes usually cannot be copied.

attribute_name

MY_INFO_1

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

My Info 1

Label that Tekla Structures displays in the dialog box.

Some default attributes have prompts like j_comment , meaning that the prompt comes from the joints.ail message file.

value_type

string

integer or float for numbers

string for text

string_not_modifiable for text whose modification is prevented. A field with the string_not_modifiable property is always displayed as dimmed and it cannot be switched on or off. The value in the field is not saved when clicking the Apply button or modified when clicking the Modify button.

option for lists

date for date with small calendar

date_time_min for date and time [12:00] with small calendar

date_time_sec for date and time [12:00:00] with small calendar

field_format

%s

Definition of the field format in the dialog box

  • %s for strings

  • %d for numbers

special_flag

no

no or yes

For parts: consider in numbering

For drawings: display the attribute value in drawing list

For other elements: no effect

check_switch

none

none

This option is not used.

attribute_value_max

0.0

0.0

This option is not used.

attribute_value_min

0.0

0.0

This option is not used.

Was this helpful?
Previous
Next