This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

GetNodeInterfaces()

Deprecated in 3.0.

Please use interfaces attribute in Node.

GetNodeInterfaces(node): Array

Get all interfaces for given node.

Table 1. Parameters

node

Object of class Node.

Return

Array of objects of class Interface, with first object placed at index 0.

// Log names and ids of all interface objects for given node
interfaces = GetNodeInterfaces($node);
for (i : interfaces)
{
	trace(1, "Interface: name='" .. i.name .. "' id=" .. i.id);
}