Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 632 Bytes

getobjectchildren.adoc

File metadata and controls

40 lines (32 loc) · 632 Bytes

GetObjectChildren()

Important

Deprecated in 3.0.

Please use children attribute in [class-netobj].

GetObjectChildren(object) => Array

Return array of child objects for the object.

Table 1. Parameters

object

Target object.

Return

Array of [class-netobj] instances.

Example
// Log names and ids of all accessible child objects for current node
children = GetObjectChildren($node);
for(p : children)
{
	trace(1, "Child object: name='" .. p.name .. "' id=" .. p.id);
}