Function duplicateDrawingLayer

Duplicates a drawing layer and its associated sections. Optionally specify a new name.

Error if the new layer name already exists or the source layer does not exist

  • Parameters

    • layerName: string

      Name of the layer to duplicate

    • OptionalnewLayerName: string

      Optional new name for the duplicated layer

    Returns void