From bf3fbe8dd4a34128a24fc3a2100bac3b17cddc12 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Mon, 8 Apr 2019 20:23:25 +0200 Subject: [PATCH] debug for SMESH plugin padder --- src/Tools/padder/spadderpy/gui/inputdata.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Tools/padder/spadderpy/gui/inputdata.py b/src/Tools/padder/spadderpy/gui/inputdata.py index b3edb1a73..bbc1c5a02 100644 --- a/src/Tools/padder/spadderpy/gui/inputdata.py +++ b/src/Tools/padder/spadderpy/gui/inputdata.py @@ -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 -- 2.39.2