*ElementSelection()

Indicates the components of the element result to be contoured.

Syntax

*ElementSelection (1D_selected, 1D_component, 2D_selected, 2D_layer, 2D_component, 3D_selected, 3D_component)

Application

HyperView

Inputs

1D_selected
An integer that indicates if 1D components (lines) should be contoured.
1
Contour 1D components
0
Do not contour 1D components
1D_component
An integer that indicates the index of the 1D component to be contoured.
The first component has an index of one, the second component has an index of two, and so on.
Derived components that need to be contoured have a negative index. The first derived component has a value of -1, the second derived component has a value of -2, and so on.
This parameter is ignored if 1D_selected is 0.
2D_selected
An integer that indicates if 2D components (shells) should be contoured.
1
Contour 2D components (shells)
0
Do not contour 2D components(shells)
2D_layer
An integer that indicates the zero-based index of the shell layer to be contoured.
0
Mid layer index
1
Inner layer index
2
Outer layer index
-1
Displays the maximum values across all layers
This parameter is ignored if 2D_selected is 0.
2D_component
An integer that indicates the index of the 2D component to be contoured.
The first component has an index of 1, the second component has an index of 2, and so on.
Derived components that need to be contoured have a negative index. The first derived component has a value of -1, the second derived component has a value of -2, and so on.
This parameter is ignored if 2D_selected is 0.
3D_selected
An integer that indicates if 3D components (solids) should be contoured.
1
Contour 3D components (solids)
0
Do not contour 3D components (solids)
3D_component
An integer that indicates the index of the 3D component to be contoured.
The first component has an index of 1, the second component has an index of 2, and so on.
Derived components that need to be contoured have a negative index. The first derived component has a value of -1, the second derived component has a value of -2, and so on.
This parameter is ignored if 3D_selected is 0.

Context

*BeginContour()

*SelectionInfo()

Example

*BeginContour()
   *SelectionInfo()
       *ElementalResult(1, 0, 0)
       *ElementSelection(0, 0, 1, -1, -1, 1, -1)
   *EndSelectionInfo()
*EndContour()

Comments

*ElementSelection() can only appear in a *SelectionInfo() block. It is always used in conjunction with, and is preceded by, the *ElementalResult() statement. It cannot be used if the *SelectionInfo() block also contains the *NodalResult() statement.