Merge Layers

Hi Pascal and all ones looking for a merge layer that works with blocks

I finally managed to script a “full” merge layers from both or your scripts

Script Process

  • Choose Source layers that will be merged
  • Choose a unique target layer
  • All Source Layers are merged to target
  • All Source Layers in blocs and nested blocks are merged to target
  • Prompt “Yes No” to Purge empty layers

I would LOVE to add an option for a complete layer deletion, even in nested blocks…
Enjoy (and help if possible)
Best regards

Test file and script
MergeLayersAndBlockLayers_v01.py (2.4 KB)

block_script_layer01_00.3dm (351.1 KB)

4 Likes