• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

SU Layer Files

Scheduled Pinned Locked Moved Newbie Forum
sketchup
6 Posts 2 Posters 716 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    rhankc
    last edited by 24 Dec 2007, 16:49

    Where is the layer file stored and what is the extension for the SU layer list. And can you edit layer lists directly from that location?

    Hank

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 24 Dec 2007, 18:27

      @rhankc said:

      Where is the layer file stored and what is the extension for the SU layer list. And can you edit layer lists directly from that location?

      The layers live within the model file itself. Didier's LayerManager does lots of clever things including import/export of layers...

      My specialised script [LayerExIm.rb v1.0] just imports/exports lists of layer names (xxx.layers)...
      See here: http://www.sketchucation.com/forums/scf/viewtopic.php?p=15372#p15372
      Usage: Select Export and a list of layers is made in the model's folder
      called 'model_name.layers'.
      Select Import, a browser lets you select the 'xxx.layers' file
      and then it's merged into the current model's layers.
      You can also write your own layer list, use a plain text editor
      [e.g. NotePad.exe] and suffix it .layers; the layer names
      should be one per line, use normal text characters [no tabs]...

      TIG

      1 Reply Last reply Reply Quote 0
      • R Offline
        rhankc
        last edited by 24 Dec 2007, 18:37

        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.

        Hank

        1 Reply Last reply Reply Quote 0
        • R Offline
          rhankc
          last edited by 24 Dec 2007, 21:01

          The layer list that is made in Notepad ie: newlayerlist.layers.txt , goes in the Templates folder? Then you rename without the .txt, then use the utility and select import.... oh yueah baby, that works, thanks

          Hank

          1 Reply Last reply Reply Quote 0
          • R Offline
            rhankc
            last edited by 24 Dec 2007, 21:19

            @unknownuser said:

            You can have different 'layers' lists to suit different stages of your work, justas you can have different templates or styles for different types of modelling

            Now that's COOL!... Thanks for your help

            Hank

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 24 Dec 2007, 21:39

              @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...

              TIG

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement