Typed command for Sublayer

Is there a typed command to create a sublayer, or to move a new layer into another layer? I’m writing a macro, so it needs to be a typed command.

If I have Layers:

and I want to create Sublayer01 under Layer 02, is there a way to do this by typing in the command line alone?

From the docs:

Layer nesting is indicated by a double colon - “::” between layer names. In the -Layer command, adding a new layer nested under Layer 01 use a macro like this:

! _-Layer New “Layer 01:: New Layer” Enter

1 Like