]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
debug for SMESH plugin padder
authorPaul RASCLE <paul.rascle@edf.fr>
Mon, 8 Apr 2019 18:23:25 +0000 (20:23 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Mon, 8 Apr 2019 18:23:25 +0000 (20:23 +0200)
src/Tools/padder/spadderpy/gui/inputdata.py

index b3edb1a73a4f8e13080105642e762f5be4842f4a..bbc1c5a02aa27462135ca30950881b08e696c634 100644 (file)
@@ -36,6 +36,8 @@ class InputData(DataModeler):
         'STEELBAR'
         ])
 
+    maListe=MESHTYPES.listvalues()
+
     def __init__(self):
         DataModeler.__init__(self)
         self.addAttribute(
@@ -44,20 +46,22 @@ class InputData(DataModeler):
             )
         self.addAttribute(
             name  = "meshName",
-            type  = TypeString,
-            range = None
+            a_type  = TypeString,
+            a_range = None
             )
         self.addAttribute(
             name  = "meshType",
-            type  = TypeInteger,
-            range = self.MESHTYPES.listvalues()
+            a_type  = TypeInteger,
+            #range = self.MESHTYPES.listvalues()
+            a_range = [0,1] 
             )
         self.addAttribute(
             name  = "groupName",
-            type  = TypeString,
-            range = None
+            a_type  = TypeString,
+            a_range = None
             )
 
 #
 # ==============================================================================
 # Basic use cases and unit tests