Component Table Macro
This macro displays the components and their associated attributes in an interactive, customizable table. Only the configured items will be displayed in the table. You can create a component, select components, assign materials to components, change component colors and visualization mode, etc.
The mass, nsmass, and center of gravity of the components can be viewed in the table. The sum of selected attributes, such as mass and nsmass, are also displayed at the bottom of the Component Table.
This tool can also be used to assign database materials to the components. Under the menu item user, there is an option to set the path for material database. Once this path is set you can reload the table in edit mode. At the top menu bar, separate lists for materials in the model and database materials appear. You can then select the component(s) and assign the material from any of the lists. Database materials are shown in green color while the normal materials are shown in grey. Unresolved materials are shown in red color.
Columns can be moved interactively to arrange them in a desired order. This can be done by pressing the left mouse button and dragging the column to the desired location (left mouse button must be kept pressed while dragging). This information is saved and on reloading the Component Table, columns will be arranged accordingly. Most of the functions in the Component Table can also be accessed by a mouse-click. You can also create a config file, which saves all information about various Component Table options, such as which columns to show, displayed or all, confirmChanges (Yes/No), etc. Later on, this config file can be used to restore these settings. By default, a config file (comptable.cfg) is saved in the working directory for each Component Table session and settings from this file are applied every time the table is built. This functionality can be found in the Table > Configure submenu.
See Also: