You are trying to call static method — code should be like this:
And you don't need to import org.netxms.client, it's done automatically by nxshell.
Code Select
for node in [o for o in s.getAllObjects() if isinstance(o, objects.Node)]:
point = s.findConnectionPoint(node.ZONE0, node.getPrimaryIP())
print node.getObjectName(), point
And you don't need to import org.netxms.client, it's done automatically by nxshell.
Code Select
from org.netxms.client import *
from org.netxms.api.client import *