Open this page in the API Guide

HierarchyFileNode.removeAllChildren Method

Removes all children from this node.