Functions | |
| def | Group |
| Creates a mesh group based on the geometric object grp and gives a name, if this parameter is not defined the name is the same as the geometric group name Note: Works like GroupOnGeom(). | |
| def | CreateEmptyGroup |
| Creates an empty mesh group. | |
| def | GroupOnGeom |
| Creates a mesh group based on the geometrical object grp and gives a name, if this parameter is not defined the name is the same as the geometrical group name. | |
| def | MakeGroupByIds |
| Creates a mesh group by the given ids of elements. | |
| def | MakeGroup |
| Creates a mesh group by the given conditions. | |
| def | MakeGroupByCriterion |
| Creates a mesh group by the given criterion. | |
| def | MakeGroupByCriteria |
| Creates a mesh group by the given criteria (list of criteria). | |
| def | MakeGroupByFilter |
| Creates a mesh group by the given filter. | |
| def | GetGroups |
| Gets the list of groups existing in the mesh. | |
| def | NbGroups |
| Gets the number of groups existing in the mesh. | |
| def | GetGroupNames |
| Gets the list of names of groups existing in the mesh. | |
| def Group | ( | self, | ||
| grp, | ||||
name = "" | ||||
| ) | [inherited] |
Creates a mesh group based on the geometric object grp and gives a name,
if this parameter is not defined the name is the same as the geometric group name
Note: Works like GroupOnGeom().
| grp | a geometric group, a vertex, an edge, a face or a solid | |
| name | the name of the mesh group |
| def CreateEmptyGroup | ( | self, | ||
| elementType, | ||||
| name | ||||
| ) | [inherited] |
Creates an empty mesh group.
| elementType | the type of elements in the group | |
| name | the name of the mesh group |
| def GroupOnGeom | ( | self, | ||
| grp, | ||||
name = "", |
||||
typ = None | ||||
| ) | [inherited] |
Creates a mesh group based on the geometrical object grp and gives a name,
if this parameter is not defined the name is the same as the geometrical group name.
| grp | a geometrical group, a vertex, an edge, a face or a solid | |
| name | the name of the mesh group | |
| typ | the type of elements in the group. If not set, it is automatically detected by the type of the geometry |
| def MakeGroupByIds | ( | self, | ||
| groupName, | ||||
| elementType, | ||||
| elemIDs | ||||
| ) | [inherited] |
Creates a mesh group by the given ids of elements.
| groupName | the name of the mesh group | |
| elementType | the type of elements in the group | |
| elemIDs | the list of ids |
| def MakeGroup | ( | self, | ||
| groupName, | ||||
| elementType, | ||||
CritType = FT_Undefined, |
||||
Compare = FT_EqualTo, |
||||
Treshold = "", |
||||
UnaryOp = FT_Undefined | ||||
| ) | [inherited] |
Creates a mesh group by the given conditions.
| groupName | the name of the mesh group | |
| elementType | the type of elements in the group | |
| CritType | the type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. ) | |
| Compare | belongs to {FT_LessThan, FT_MoreThan, FT_EqualTo} | |
| Treshold | the threshold value (range of id ids as string, shape, numeric) | |
| UnaryOp | FT_LogicalNOT or FT_Undefined |
| def MakeGroupByCriterion | ( | self, | ||
| groupName, | ||||
| Criterion | ||||
| ) | [inherited] |
Creates a mesh group by the given criterion.
| groupName | the name of the mesh group | |
| Criterion | the instance of Criterion class |
| def MakeGroupByCriteria | ( | self, | ||
| groupName, | ||||
| theCriteria | ||||
| ) | [inherited] |
Creates a mesh group by the given criteria (list of criteria).
| groupName | the name of the mesh group | |
| theCriteria | the list of criteria |
| def MakeGroupByFilter | ( | self, | ||
| groupName, | ||||
| theFilter | ||||
| ) | [inherited] |
Creates a mesh group by the given filter.
| groupName | the name of the mesh group | |
| theFilter | the instance of Filter class |
| def GetGroups | ( | self | ) | [inherited] |
Gets the list of groups existing in the mesh.
| def NbGroups | ( | self | ) | [inherited] |
Gets the number of groups existing in the mesh.
| def GetGroupNames | ( | self | ) | [inherited] |
Gets the list of names of groups existing in the mesh.