Making UDAs affect the numbering
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
|
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:
You also need to include the same line in the 'Part' section of the .inp, not only on the 'rebar' part:
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:
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.