Skip to content
Discussion options

You must be logged in to vote

There’s some utilities in Ap.Application, maybe one of these will work for you

Ap.Application.loadPythonModule(path)
Ap.Application.reloadPythonModule(path)
Ap.Application.getLoadedModules()
Ap.Application.getLoadedModuleNames()
def PyRxCmd_doit():
    try:
        for modulePath in Ap.Application.getLoadedModules():
            Ap.Application.reloadPythonModule(modulePath)
    except Exception as err:
        traceback.print_exception(err)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@schoeller
Comment options

@CEXT-Dan
Comment options

Answer selected by schoeller
@schoeller
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants