HyperView User's Guide

Set Panel

Set Panel

Previous topic Next topic Expand/collapse all hidden text  

Set Panel

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Set panel allows you to create, import, and export sets (or groups) of components (parts), elements, and nodes.  You can also import HyperView set definition files, Animator3 session files, LSPost set files, Patran session files, or Nastran/OptiStruct set files into HyperView, as well as export HyperView set definition files, Patran session files, Nastran set files, or OptiStruct set files.

To access the Set panel, click the Set button set_panel_icon_hv on the Visualization toolbar.

create_groups_panel1

Set panel

Sets can be created using the panel options or by using any of the following methods:

From the Model menu, select Create > Sets.

OR

Right-click in the graphics area and select Create > Set from the context menu.

OR

Right-click in the Results browser and select Create > Set from the context menu.

You can create as many sets (groups) as you want, and the same entity can exist in multiple sets.  All component/part (only) set types that are created will be displayed in the entity list tree in the Entity Attributes panel, and in the Results browser.  Click the Entity drop-down menu and select Sets to view the groups and their components.

The type of a newly created set, is based on the entity type that is displayed on the Selection input collector.  When a different type of set (group) is selected from the Sets list, the entity type shown on the Selection input collector is updated to correspond with the new set type that was chosen.  Conversely, if the input collector type is changed, the set type of the highlighted group will be converted to the new set type that was chosen.  For example, if the input collector of a component group is switched from Components to Nodes, all the nodes of the original components become the entities of the set.  The set type is automatically updated, based on the entity type that is selected using the Selection input collector.

To import a set click Import or select the Import > Sets option from the Tools menu.

import_sets_dialog

Import Sets dialog

From the Import Sets dialog, select a file type from the Select format drop-down menu, browse to the file that you would like to import and select it, click Open, and then click OK to import the file and close the dialog.

NoteIn order to import sets in any format,  you must first load a model.  You can import more than one of these files into the same session.

To export a set, click Export or select the Export > Sets option from the Tools menu.

export_sets_dialog

Export Sets dialog

From the Export Sets dialog, select a file type (HyperView, Patran, Nastran, or OptiStruct) from the Files of type drop-down menu, type in a file name, browse to where you would like to save the file, click Save, and then click OK. The exported file is saved as a text file.  You can also activate the Export selected sets check box if you would like to export only selected sets in the panel to the file.

NoteWhen exporting, HyperView will automatically export the ID ranges contained in the set instead of writing out the individual IDs.

HyperView group definition files can be edited.  In addition, the contents of a saved set file can be added, removed, or modified using the session file.

Sets List

On the left-most side of the panel is the Sets list.  Activating the check box next to the set will display it in the graphics area.  The set type is also shown in this listing.  You can sort the items in the Sets list by clicking on the Sets or Type headings.

Note:  Some file formats include sets (groups) defined by the user, or the solver software.  These groups will be available in the Sets list after importing the model data.

Add

Adds a set to the list.  The newly added set is automatically labeled, and is added to the bottom of the list.  To change the name of a set that you added, right click on the current name, select Rename from the context menu, enter a new name into the Rename dialog, and click OK.

Delete

Deletes the selected set (or sets) from the list.

Keyboard shortcuts are also available for selecting items within the list:

Press the SHIFT or CTRL key on the keyboard + the left mouse button to select multiple items from the list.
Press the CTRL + A keys on the keyboard to select all items in the list.
Press the DELETE key on the keyboard to delete the selected set(s).

 

In addition, you can access the following options by right-clicking anywhere within the Sets list:

checkbox_rght_clck_menu

Delete

Deletes the selected set (or sets) from the list.

Rename

Displays the Rename dialog, which allows you to rename the selected set.

Show

Displays the selected set (or sets) in the graphics area and activates the corresponding check box(s).

Hide

Hides the selected set (or sets) in the graphics area and deactivates the corresponding check box(s).

 

 

Selection
Input Collector

The input collector allows you to select, or change, the entity type of a set.

Show ID

Allows you to display the IDs of selected entities in a group.

Color

Allows you to change the color of the feature lines of the selected entities in a set.

Draw style

Allows you to select the drawing style for the active set:

 

shaded
(available for Component
sets only)

Shades the components in the active set the color currently displayed in the Color box.

If a contour is applied, the components in the set will display their contour color instead of the selected shaded color.

 

wire
(available for Component or Element sets only)

Draws a wireframe on the elements or components in the active set.

 

point
(available for Node sets only)

Draws the nodes in the set using 2-D pixels.

 

sphere
(available for Node sets only)

Draws the nodes in the set using 3-D pixels.

Draw size

Change the thickness of the wire and the size of the point/sphere drawing for the active set.

Number of entities

Lists the number of entities in the active set.

 

 

Action: Add/
Remove

Toggle the Add to Set/Remove from Set button between the two available button options.

Add to Set/
Remove
from Set

Adds or removes selected entities to/from a set.

Clear

Clears the selected entities of the active set, allowing you to redefine the set.

 

 

Import

Import a HyperView set definition file, Animator3 session file, LSPost set file, Patran session file, or Nastran/OptiStruct set file.

This button will be inactive if no model file is loaded.  In addition, the Import > Sets option in the Tools menu will not allow the importing of any files, if no model file is loaded.

Export

Export a HyperView set definition file, Patran session file, Nastran set file, or OptiStruct set file.  The exported file is saved as a text file.

This button will be inactive if no model file is loaded.  In addition, the Export > Sets option in the Tools menu will not allow the exporting of any files, if no model file is loaded.

A sample Set File is shown below:

////////////////////////////////////////////////////////////

//

// HyperWorks

// fileName

//

// Group Definition

// *Group "group label" "group type" "group color(RGB)"

// *Pool "pool type"

// id1 id2 ... idn

//

////////////////////////////////////////////////////////////

*Group "Group 1" "node" "255 255   0"

*Pool "Node"

3979 9332 9625

*Group "Group 2" "element" "255   0 255"

*Pool "ELEMENT_SHELL"

18128 18145 18162

*Group "Group 3" "part" "  0 255   0"

*Pool "Line"

132

*Pool "Solid"

103

*Pool "Shell"

124

How Do I...

hmtoggle_plus1Define a new set:
1.From the Set panel, click Add. A set (or group) is added to the list.  By default, it is given a name and is assigned the entity type currently selected on the input collector.
2.With the new set highlighted, change the input collector to the type of entity you want to add to the set. The type label changes in the list.
3.Select entities using the input collector or pick directly from the screen.
4.Under Action, turn on the Add option.
5.Click Add to Set. The entities that you selected are added to the set and the number of entities in the set is listed for reference.

number_of_entities

6.If you want to redefine the set, click Clear and repeat steps 2-5.
7.If you want to delete a set, select the set and click Delete.
hmtoggle_plus1Modify set attributes:
1.From the Visualization toolbar, select the Entity Attributes panel, palette-24.
2.Click the Entity drop-down menu and select Sets. The sets (or groups) are listed as folders that can be expanded to view all components in the set.
3.Select the set from the list and change the desired attributes. You can also change entity attributes using the Results browser.
hmtoggle_plus1Import a set:
1.From the Set panel, click Import. The Import Sets dialog is displayed.

Note - You can also access the Import Sets dialog by selecting the Import > Sets option from the Tools menu.

2.Select a file type (HyperView set definition file, Animator3 session file, LSPost set file, Patran session file, or Nastran/OptiStruct set file) from the Select format drop-down menu.
3.Under File name, click the open folder icon and browse to the desired file which contains defined sets (or groups).
4.Click Open.
5.Click OK in the Import Sets dialog.
-HyperView extracts all defined sets in the selected session file.
-The HyperView, Animator3, LSPost, Patran, or Nastran/OptiStruct sets are listed in the Sets list.
-By default, the visibility of each imported set is turned off.
hmtoggle_plus1Export a set:
1.From the Set panel, select a group.
2.Click Export. The Export Sets dialog is displayed.
Note: You can also access the Export Sets dialog by selecting the
Export > Sets option from the Tools menu.
3.Select a file type (HyperView set definition file, Patran session file, Nastran set file, or OptiStruct set file) from the Select format drop-down menu.
4.Under File name, click the open folder icon and select a destination folder.
5.Enter a file name and click Save.
6.Activate the Export selected sets option to export only selected sets in the panel (if desired).
7.Click OK in the Export Sets dialog.

Note:        This file can then be imported, by clicking Import in the Set panel.