Functions | |
def | AddHypothesis |
Assign a hypothesis. More... | |
def | IsUsedHypothesis |
Return True if an algorithm of hypothesis is assigned to a given shape. More... | |
def | RemoveHypothesis |
Unassign a hypothesis. More... | |
def | GetHypothesisList |
Get the list of hypotheses added on a geometry. More... | |
def | RemoveGlobalHypotheses |
Remove all global hypotheses. More... | |
def AddHypothesis | ( | self, | |
hyp, | |||
geom = 0 |
|||
) |
Assign a hypothesis.
hyp | a hypothesis to assign |
geom | a subhape of mesh geometry |
References smeshBuilder.AssureGeomPublished(), Mesh.geom, Mesh.GetName(), and smeshBuilder.TreatHypoStatus().
def IsUsedHypothesis | ( | self, | |
hyp, | |||
geom | |||
) |
Return True if an algorithm of hypothesis is assigned to a given shape.
hyp | a hypothesis to check |
geom | a subhape of mesh geometry |
References Mesh.GetHypothesisList().
def RemoveHypothesis | ( | self, | |
hyp, | |||
geom = 0 |
|||
) |
Unassign a hypothesis.
hyp | a hypothesis to unassign |
geom | a sub-shape of mesh geometry |
References Mesh.geom, Mesh.GetName(), and Mesh.IsUsedHypothesis().
def GetHypothesisList | ( | self, | |
geom | |||
) |
Get the list of hypotheses added on a geometry.
geom | a sub-shape of mesh geometry |
def RemoveGlobalHypotheses | ( | self | ) |
Remove all global hypotheses.
References Mesh.ExportMED(), and Mesh.geom.