Attribute integration
The management of attribute integration has been modified to allow for greater customization.
The new system allows the association of a specific component with different attribute families through the base attribute TYPE.
To associate specific attributes with the attribute editor for each particular component, it is possible to add a file named <COMPONENT_NAME>.TXT in the Attribs folder located in the root directory of the TOP_LAYOUT application.
The file syntax follows the standard attribute format used in TOP (refer to the TOP documentation for details).
Let’s imagine we want to add the attributes for power (KW), frequency (HZ), and reduction ratio (RAPP_RIDUZIONE) to a particular family of components generated by TOP_LAYOUT, which represent our motors.
We create a file named MOTORI.TXT in the Attribs folder and add the following lines.
For syntax details, please refer to the TOP manual.
Now, select all the motor parts in the drawing and set the attribute TYPE to MOTORE.
Note that the software already suggests all available types in a dropdown menu.
we confirm the selection releasing the attribute editor. Other fileds will appear.
Note that for the base components of TOP Layout, the TYPE attribute is already defined for each family.
It is possible to customize the component loading to automatically associate subparts with specific types (e.g., motors, photocells, etc.).
Additionally, it is possible to associate a component with multiple attribute sheets.
For example, you can create two attribute files, MOTORE.TXT and RIDUTTORE.TXT, with their specific additional attributes and indicate in the TYPE field the families, separating the names with a comma.