Пример #1
0
    def deactivate(self):

        try:
            osutils.remove(os.path.join(
                'c:\\Users\\wang1\\abaqus_plugins\\impact_xiugai',
                '_rsgTmp001_DB.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\wang1\\abaqus_plugins\\impact_xiugai',
                '_rsgTmp001_DB.pyc'),
                           force=True)
        except:
            pass
        try:
            osutils.remove(os.path.join(
                'c:\\Users\\wang1\\abaqus_plugins\\impact_xiugai',
                '_rsgTmp001_Form.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\wang1\\abaqus_plugins\\impact_xiugai',
                '_rsgTmp001_Form.pyc'),
                           force=True)
        except:
            pass
        AFXForm.deactivate(self)
Пример #2
0
    def deactivate(self):

        try:
            osutils.remove(os.path.join(
                'c:\\Users\\yanguowei\\abaqus_plugins\\CSDN_dir',
                '_rsgTmp001_DB.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\yanguowei\\abaqus_plugins\\CSDN_dir',
                '_rsgTmp001_DB.pyc'),
                           force=True)
        except:
            pass
        try:
            osutils.remove(os.path.join(
                'c:\\Users\\yanguowei\\abaqus_plugins\\CSDN_dir',
                '_rsgTmp001_Form.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\yanguowei\\abaqus_plugins\\CSDN_dir',
                '_rsgTmp001_Form.pyc'),
                           force=True)
        except:
            pass
        AFXForm.deactivate(self)
Пример #3
0
    def deactivate(self):

        try:
            osutils.remove(os.path.join(
                'c:\\Users\\user\\abaqus_plugins\\plugin3',
                '_rsgTmp011_DB.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\user\\abaqus_plugins\\plugin3',
                '_rsgTmp011_DB.pyc'),
                           force=True)
        except:
            pass
        try:
            osutils.remove(os.path.join(
                'c:\\Users\\user\\abaqus_plugins\\plugin3',
                '_rsgTmp011_Form.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\user\\abaqus_plugins\\plugin3',
                '_rsgTmp011_Form.pyc'),
                           force=True)
        except:
            pass
        AFXForm.deactivate(self)
Пример #4
0
    def deactivate(self):

        try:
            osutils.remove(os.path.join(
                'c:\\Users\\Hasee\\abaqus_plugins\\Fibre_insert',
                '_rsgTmp322_DB.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\Hasee\\abaqus_plugins\\Fibre_insert',
                '_rsgTmp322_DB.pyc'),
                           force=True)
        except:
            pass
        try:
            osutils.remove(os.path.join(
                'c:\\Users\\Hasee\\abaqus_plugins\\Fibre_insert',
                '_rsgTmp322_Form.py'),
                           force=True)
            osutils.remove(os.path.join(
                'c:\\Users\\Hasee\\abaqus_plugins\\Fibre_insert',
                '_rsgTmp322_Form.pyc'),
                           force=True)
        except:
            pass
        AFXForm.deactivate(self)
 def deactivate(self):
 
     try:
         osutils.remove(os.path.join('c:\\Users\\celestink\\abaqus_plugins\\myrailroad', '_rsgTmp001_DB.py'), force=True )
         osutils.remove(os.path.join('c:\\Users\\celestink\\abaqus_plugins\\myrailroad', '_rsgTmp001_DB.pyc'), force=True )
     except:
         pass
     try:
         osutils.remove(os.path.join('c:\\Users\\celestink\\abaqus_plugins\\myrailroad', '_rsgTmp001_Form.py'), force=True )
         osutils.remove(os.path.join('c:\\Users\\celestink\\abaqus_plugins\\myrailroad', '_rsgTmp001_Form.pyc'), force=True )
     except:
         pass
     AFXForm.deactivate(self)