mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
WIP
This commit is contained in:
parent
5254ada6ef
commit
f78cb36df7
@ -94,7 +94,7 @@ def getSpadderCatalogFilename():
|
|||||||
def loadSpadderCatalog():
|
def loadSpadderCatalog():
|
||||||
import salome
|
import salome
|
||||||
salome.salome_init()
|
salome.salome_init()
|
||||||
obj = salome.naming_service.Resolve('Kernel/ModulCatalog')
|
obj = salome.naming_service.Resolve('/Kernel/ModulCatalog')
|
||||||
import SALOME_ModuleCatalog
|
import SALOME_ModuleCatalog
|
||||||
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
|
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
|
||||||
if not catalog:
|
if not catalog:
|
||||||
|
Loading…
Reference in New Issue
Block a user