Issue with system.util.getModules function

Hi everyone,
I've tried to call in a script the function "system.util.getModules", however I've got the following error:

AttributeError: 'com.inductiveautomation.ignition.common.script.Imm' object has no attribute 'getModules'

Can someone help me to work it out?

What made you think that exists?

Edit: Huh. Never noticed that one.

1 Like

@Mattmod it's scoped Gateway only, so if you're trying to call it in the Designer script console it won't work.


I got it. Thank you very much Kevin