Open this page in the API Guide

DesignObjectGroupNode.layer Property

Gets the layer of this node