dialogs/FBDBlockDialog.py
changeset 1744 69dfdb26f600
parent 1736 7e61baa047f0
child 1745 f9d32913bad4
equal deleted inserted replaced
1743:c3c3d1318130 1744:69dfdb26f600
   342             # Set graphic element displayed, creating a FBD block element
   342             # Set graphic element displayed, creating a FBD block element
   343             self.Element = FBD_Block(self.Preview, values["type"],
   343             self.Element = FBD_Block(self.Preview, values["type"],
   344                     (self.BlockName.GetValue()
   344                     (self.BlockName.GetValue()
   345                      if self.BlockName.IsEnabled()
   345                      if self.BlockName.IsEnabled()
   346                      else ""),
   346                      else ""),
   347                     extension = self.Inputs.GetValue(),
   347                     extension=self.Inputs.GetValue(),
   348                     inputs = values["inputs"],
   348                     inputs=values["inputs"],
   349                     executionControl = self.ExecutionControl.GetValue(),
   349                     executionControl=self.ExecutionControl.GetValue(),
   350                     executionOrder = self.ExecutionOrder.GetValue())
   350                     executionOrder=self.ExecutionOrder.GetValue())
   351 
   351 
   352         # Reset graphic element displayed
   352         # Reset graphic element displayed
   353         else:
   353         else:
   354             self.Element = None
   354             self.Element = None
   355 
   355