Is there any equivalent to es.import.addon() or a way to import sub modules?
Thanks in advance
How to import sub modules?
For sub-modules:
To import other plugins:
Syntax: Select all
from addon_name.sub_module import some_object
To import other plugins:
Syntax: Select all
from core.manager import core_plugin_manager
if not core_plugin_manager.is_loaded('addon_name'):
raise
addon_instance = core_plugin_manager.get_plugin_instance('addon_name')
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 106 guests