def METHOD_NAME(self):
    """Proceed with execution of the command after selection."""
    if Gui.Selection.getSelection():
        Gui.addModule("Draft")
        _cmd = 'Draft.upgrade'
        _cmd += '('
        _cmd += 'FreeCADGui.Selection.getSelection(), '
        _cmd += 'delete=True'
        _cmd += ')'
        _cmd_list = ['_objs_ = ' + _cmd,
                     'FreeCAD.ActiveDocument.recompute()']
        self.commit(translate("draft", "Upgrade"),
                    _cmd_list)
    self.finish()