sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Missing layers - not a bug [solved]

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    22 Posts 5 Posters 3.8k Views 5 Watching
    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.
    • thomthomT Offline
      thomthom
      last edited by

      No - never experience that.

      Could it be some plugin interfering?

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        I do that myself (most of the times), Tomasz, so I doubt. In fact, this is the way generally suggested so quite many people may have a similar workflow.

        Gai...

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomasz
          last edited by

          @thomthom said:

          Could it be some plugin interfering?

          I doubt a plugin deletes a layer. It would be hard to trace anyway. It doesn't happen every save\open.
          I would understand it if SU would loose say changes to a file & layers, but it looses only layers.
          I have had a file once, that I was able to open after few trials with all layers intact, when realized that they have been missing on the first opening.

          I will post a file, if it happens once again.

          Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

          1 Reply Last reply Reply Quote 0
          • soloS Offline
            solo
            last edited by

            Happened to me before also, only with version 7.1, I noticed that if I named the layer it does not occur.

            http://www.solos-art.com

            If you see a toilet in your dreams do not use it.

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              Any chance that you actually don't have anything on that layer, and then you purge-all to get rid of components and materials and styles, and it deletes the unused layers too?

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                @chris fullmer said:

                Any chance that you actually don't have anything on that layer, and then you purge-all to get rid of components and materials and styles, and it deletes the unused layers too?

                Chris

                This would be my best bet as well.

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tomasz
                  last edited by

                  @chris fullmer said:

                  Any chance that you actually don't have anything on that layer, and then you purge-all to get rid of components and materials and styles, and it deletes the unused layers too?

                  Chris

                  Lads, please! I am not THAT novice in therms of SU modelling πŸ˜„

                  Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    I'm not suggesting you would do it not knowing what "purge" means, but more like possibly purging not realizing that somehow all geometry had been moved off a few layers and so by purging, you were setting yourself up to unknowingly lose a few layers. Its happened to me.

                    I wonder if a script could be made that would write all layers names of a model into a separate text file. THen compare those names on opening and re-write them on closing. Then you could track if some were missing that had been there previously. Just a thought, but knowing what I do about ruby observers, I have a feeling it would be nearly impossible to automate.

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      Do you have a 100% reproducible example?

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        Can't reproduce.

                        @unknownuser said:

                        then minimizes the layer tab,

                        The Layer window is minimized?

                        That's odd. I've never seen that either.

                        Just for the sake of testing - rename your plugin folder temporarily and try the same. Just incase there is a rouge plugin loose.

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          tomasz
                          last edited by

                          @thomthom said:

                          Do you have a 100% reproducible example?

                          I do.
                          The file is saved in SU6 format (in SU6Free) and I have figured out what is going on.

                          If I open the file in SU7.1 Pro (having blank SU model space) through File\Open menu it opens just fine with all layers, BUT when I do open same file by double click, something strange happens with the layers menu. It shows all layers in tact, then minimizes the layer tab, standard message 'Opening older version' appears AND when I open the layers ALL of them are gone! Nothing on the list!

                          I have even managed to create a sample file.


                          Open the file by double click or with clean SU through File\Open


                          When with blank SU & Filepen

                          Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tomasz
                            last edited by

                            What happens on your machine when you double click the file? Do you get all layers?

                            Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              hm... the more I think of it. rounds like a plugin doing something funky.

                              The reason you see this only when you double-click is that it loads the plugins at the same time it loads your file. So I really think one of your installed plugins is doing naughty things upon load. my guess would be to look for anyone that causes the layer window to minimize.

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • thomthomT Offline
                                thomthom
                                last edited by

                                @unknownuser said:

                                What happens on your machine when you double click the file? Do you get all layers?

                                Yes. I never lost any layers. Only time was when I hit purge - but that only removed some of them. not all.

                                As mentioned in my previous post - I think it's a plugin messing with the model's entities at startup.

                                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  tomasz
                                  last edited by

                                  You are right. A plugin is messing with SU.
                                  Without plugins it works just fine.
                                  It must be a plugin that uses an Observer on startup, isn't it?

                                  Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    @unknownuser said:

                                    It must be a plugin that uses an Observer on startup, isn't it?

                                    Don't think so. It's not something that happens every time you open a model. Just when you start SU. So it's some sort of command that¨runs immediately as the plugin is loaded.

                                    How many plugins you got installed?

                                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tomasz
                                      last edited by

                                      No wonder, that only I have experienced this error. 😳
                                      Have copied a 'purge' snippet from somewhere and has forgotten about it. It was sitting in the midst of all other rubies.
                                      πŸ˜†
                                      Thank you! 😍

                                      Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                                      1 Reply Last reply Reply Quote 0
                                      • thomthomT Offline
                                        thomthom
                                        last edited by

                                        πŸ‘
                                        Mystery of the day solved! πŸ˜„

                                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                        List of my plugins and link to the CookieWare fund

                                        1 Reply Last reply Reply Quote 0
                                        • GaieusG Offline
                                          Gaieus
                                          last edited by

                                          So you are saying, Tomasz, that you are not such a novice to unintentionally purge your layers. πŸ˜’
                                          Hm... It seems that scripters do this via ruby.
                                          🀣

                                          Gai...

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

                                          Advertisement