MeshGroup class is used to specify a mesh group.
The class can be called from MeshGroupList class.
.
More...
Public Member Functions | |
| void | AddSelected (Selection *selection) |
| Adds selected element, element faces, element edges, or nodes to a mesh group. More... | |
| void | ClearParts () |
| Removes all elements, element faces, element edges, or nodes from a mesh group. | |
| bool | GetDifferentElementsPerCaseFlag () |
| Returns True if different elements are set for each case. More... | |
| Part * | GetLinkedPart () |
| Returns the Part object which is linked from the mesh group. More... | |
| String | GetName () |
| Returns a mesh group name. More... | |
| bool | GetPartsFlag () |
| Returns True if selected elements are to be set to a new part or existing part. More... | |
| Selection * | GetSelection () |
| Returns information about elements, element faces, element edges, or nodes contained in a mesh group. More... | |
| String | GetType () |
| Returns the type of mesh group. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumParts () |
| Returns the number of elements, element faces, element edges, or nodes included in a mesh group. More... | |
| void | SetDifferentElementsPerCaseFlag (bool isOn) |
| Specifies whether to set different elements for each case. More... | |
| void | SetLinkedPart (Variant &var) |
| Specifies the part that is linked to this mesh group. More... | |
| void | SetName (String &name) |
| Specifies mesh group name. More... | |
| void | SetPartsFlag (bool isOn) |
| Specifies whether to set selected elements to a new or existing part. More... | |
Detailed Description
MeshGroup class is used to specify a mesh group.
The class can be called from MeshGroupList class.
.
Example of calling the class object:
Member Function Documentation
| void MeshGroup::AddSelected | ( | Selection * | selection | ) |
| bool MeshGroup::GetDifferentElementsPerCaseFlag | ( | ) |
Returns True if different elements are set for each case.
- Returns
- Whether or not the elements are different for each case
| Part * MeshGroup::GetLinkedPart | ( | ) |
| String MeshGroup::GetName | ( | ) |
Returns a mesh group name.
- Returns
- Mesh group name
| bool MeshGroup::GetPartsFlag | ( | ) |
Returns True if selected elements are to be set to a new part or existing part.
- Returns
- Whether or not the selected elements are set to a new or existing part
| Selection * MeshGroup::GetSelection | ( | ) |
Returns information about elements, element faces, element edges, or nodes contained in a mesh group.
- Returns
- Selection object
| String MeshGroup::GetType | ( | ) |
Returns the type of mesh group.
- Returns
- Mesh group typeElementElementFaceElementEdgeNode
| bool MeshGroup::IsValid | ( | ) |
Returns True if an object is valid.
- Returns
- Whether or not the MeshGroup objects in the list are valid
| int MeshGroup::NumParts | ( | ) |
Returns the number of elements, element faces, element edges, or nodes included in a mesh group.
- Returns
- Number of elements, element faces, element edges, or nodes included in a mesh group
| void MeshGroup::SetDifferentElementsPerCaseFlag | ( | bool | isOn | ) |
Specifies whether to set different elements for each case.
- Parameters
-
isOn Whether to set different elements for each case
| void MeshGroup::SetLinkedPart | ( | Variant & | var | ) |
Specifies the part that is linked to this mesh group.
- Parameters
-
var Name or ID of the part
| void MeshGroup::SetName | ( | String & | name | ) |
Specifies mesh group name.
- Parameters
-
name Mesh group name
| void MeshGroup::SetPartsFlag | ( | bool | isOn | ) |
Specifies whether to set selected elements to a new or existing part.
- Parameters
-
isOn Whether to set selected elements to a new or existing part