debug for SMESH plugin padder

This commit is contained in:
Paul RASCLE 2019-04-08 20:23:25 +02:00
parent 58a7aa4445
commit bf3fbe8dd4

View File

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