Sublayers are a further subdivision of layers (see Layer), but there are some differences
kCADNotOnSubLayerID).
Sublayers are automatically created when importing DXF files. A sublayer can be the Current layer.
When a sublayer and its parent layer have different attribute values, the weakest value wins. For example, when the layer is dimmed and the sublayer is visible, any object on the sublayer will still be dimmed.
A sublayer ID passed as a Scope ID, describes all objects on the sublayer.
Methods
CADAddSubLayer, CADRemoveLayer,
CADGetSubLayers,
CADGetLayerAttributes, CADSetLayerAttributes,
CADGetLayerKey, CADSetLayerKey,
CADGetCurrentLayer, CADSetCurrentLayer,
CADGetSnapPrefs, CADSetSnapPrefs.