|
Unable to enter Design - (46,87) PML:Object definition for HXSN could not be found. - In line 218 of PML function appdefn.OBJECT - !this.object[1] = object $!objName()
我定義了一個pmlobj 放在pdmslib根目錄下,文件內(nèi)容
define object HXSN
endobject
-------------------------------------------------------------------------------------------------------
define method .modifyForm()
endmethod
-------------------------------------------------------------------------------------------------------
define method .barMenu()
!bmenu = object APPBARMENU()
!bmenu.add('HXST','HTOOL')
!!appmenuCntrl.addbarmenu(!bmenu,'GEN')
!!appmenuCntrl.addbarmenu(!bmenu,'PIPE')
!!appmenuCntrl.addbarmenu(!bmenu,'EQUI')
endmethod
-------------------------------------------------------------------------------------------------------
define method .menus()
!menu = object APPMENU('HTOOL')
!menu.add('CALLBACK','ADDCREF','!!HXSADDCREF()')
!menu.add('CALLBACK','REMOVE ALL','!!HXSREMOVEALL()')
!!appMenuCntrl.addMenu(!menu,'GEN')
!!appMenuCntrl.addMenu(!menu,'PIPE')
!!appMenuCntrl.addMenu(!menu,'EQUI')
endmethod
-------------------------------------------------------------------------------------------------------
define method .deletemenu()
endmethod
define method .modifyMenus()
!this.barMenu()
!this.menus()
!this.deletemenu()
endmethod
用pml rehash all 這樣就把菜單加載了
可是我想卸載掉,就先刪除文件,再調(diào)用pml rehash all
再進(jìn)入pdms時就提示那樣的錯誤了
請教下樓主 |
|