@rhankc said:
I can see where the layer 0 is in the .skb, After writing the list in notepad do you just paste it in at the layer 0 end?
And thanks for the extra layer ext rb. I'll give it a shot.
The skb file is just a backup of the skp file. Writing or pasting stuff manually into the model's file without deeeeeeeep knowledge of what you are doing WILL mess up the model completely ! Don't be tempted to try it... unless you read and write binary code - it's NOT a simple text format...
Use my LayerExIm.rb script tool to import a list of layer names via the Ruby API interface - it knows how to make new layers/names and insert them into the data base properly. You can first export a list from an existing skp that has the layer names you need, or simply write a notepad.exe based text list of the layer names - one per line, normal charcters, no tabs... (start with it called MyLayers.txt BUT afterwards change the file's suffix to MyLayers.layers when you've done so the importer can see it... Then use my Layer Import tool, select the list and the layers will appear in the model. If that model file were put into the Templates folder and its name selected under Preferences as the default template then you'll always start with that set of layers in any new skp.
Purging the model will remove any layers that are 'empty'. If you want to get them back reimport the .layers list... You can have different 'layers' lists to suit different stages of your work, just as you can have different templates or styles for different types of modelling...