mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
fix Mesh_UseExistingElements.SourceEdges()
This commit is contained in:
parent
eaff026082
commit
bf2f45b258
@ -6421,7 +6421,7 @@ class Mesh_UseExistingElements(Mesh_Algorithm):
|
||||
# @param UseExisting if ==true - searches for the existing hypothesis created with
|
||||
# the same parameters, else (default) - creates a new one
|
||||
def SourceEdges(self, groups, toCopyMesh=False, toCopyGroups=False, UseExisting=False):
|
||||
if self.algo.GetName() == "Import_2D":
|
||||
if self.algo.GetName() != "Import_1D":
|
||||
raise ValueError, "algoritm dimension mismatch"
|
||||
for group in groups:
|
||||
AssureGeomPublished( self.mesh, group )
|
||||
|
Loading…
Reference in New Issue
Block a user