This macro opens the Nastran Component Table, which displays components and their associated attributes in an interactive table. You can also configure the table; only configured items are displayed in the table.
With this macro, you can also create components, select components, assign materials to components, change component colors, and change component visualization modes. Most actions are available from shortcut (right-click) menus. You can also find options in the drop-down menus.
Before performing actions such as changing the values of component data, you must select Editable from the Table menu. Once the components are writable, you can modify the values of existing components. The following sections describe how to use the Component Table in both read-only mode and editable mode.
Using the Component Table in Read-Only Mode
When you open the Component Table, existing components are listed in a table using a default configuration. This configuration displays the component name, component ID number, properties on component, component color, thickness, property on element, material name, material ID, material type, and the visualization status of each component. The Nodes and Elems display is turned off by default. When activated, the total numbers of elements and nodes are shown at the bottom of the table.
The display of the data in the Component Table can be customized according to your preferences. You can:
• | Change which columns are displayed |
• | Change the order of the columns |
• | Sort the components by column data, ascending or descending |
• | Filter which components are displayed based on column data values (see below) |
You can save your settings by creating a configuration file. From the Table menu, open the Configure submenu and select the Save CFG-File option. This configuration file saves the set of table configuration options so you can use them again. By default, a configuration file (comptable.cfg) is saved in the working directory for each component table session and settings from this file are applied each time the table is built.
Using the Component Table in Editable Mode
When you switch the Component Table from the default read-only mode to editable mode (by selecting Editable from the Table menu), you can perform all the actions described in the section above, plus edit the attributes of the components listed in the table. To change the value of an attribute, select the attribute in the Assign Values drop-down, type the new value in the adjacent field, and click Set.
How Do I…
Create a new material or edit an existing material
Assign a value to multiple components
Filter the list of components in the table
Customize the contents of the table
Export table data in CSV or HTML format