Committing Abaqus/CAE plug-in dialog

Hi Everyone,

It is possible to commit the Abaqus/CAE plug-in dialog box by hitting the return key (instead of clicking on OK button). AFXDialog has a getActionButton() method that can be used to get the OK button and then you can call the setDefault() method on it in the dialog constructor as seen below:

okBtn = self.getActionButton(self.ID_CLICKED_OK)

okBtn.setDefault()

Thanks

Srikanth