Making UDAs affect the numbering

Tekla Structures
Not version-specific
Tekla Structures
UDA
UDA in numbering
Environment
Not environment-specific

Question:
I am trying to change the objects.inp of some reinforcing bars so that one of the user-defined attributes (UDA) affects numbering. In the objects.inp, I am changing the required field from 'no' to 'yes' to affect numbering, but it does not seem to work. Having different values for this UDA is not making the position numbers different. What is the problem?

 

Image
icon_warning.png

This example is about reinforcement user-defined attribute, but same problem might apply for other object types as well, such as part UDAs or assembly UDAs.

Answer:
If you are trying to change, for example, the line which affects USER_FIELD_4 as shown below:

Image
Objects_inp_rebar.png


You also need to include the same line in the 'Part' section of the .inp, not only on the 'rebar' part:

Image
Objects_inp_part.png

 

Defining 'yes' elsewhere than the part section does not work.

You also need to include the tab_page() definition at the end of Part section, before the last modify(1) command:

Image
objects_inp_part_2.png


Notice:
If you change UDA settings in objects.inp the change is automatically valid for new models.

For existing models you need to update attribute definitions. For instructions how to do that, see this page.

Was this helpful?