How to set the default layer

Command: setDefaultLayer

Description: Sets the default layer. The layer can be selected from the list of already defined layers or by referring to the layer of an existing component.

As a prerequisite only already defined layers can be referred to. Instead of defining individual layers via AddLayer it may be convenient to execute AddDINLayers.