Call custom method

Can I use the library of custom modules in python script?
if it is possible, can provide me an example

Be sure to read the article Nick mentioned first.

Do I have to put the library in pylib to use it? because the library I need to use is stored in the custom module file.

Perhaps more information is needed. If you’re talking about modules built through the SDK, then examples are provided on IA’s github site.

Thanks for getting back to me.

Custom modules should expose the java that they want to be callable from jython via the module hook’s initializeScriptManager() method. In the gateway, it will be called multiple times on startup (for each project) and thereafter on project updates.

1 Like