• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

Missing layers - not a bug [solved]

Scheduled Pinned Locked Moved SketchUp Bug Reporting
sketchup
22 Posts 5 Posters 3.8k 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.
  • C Offline
    Chris Fullmer
    last edited by 6 Jan 2010, 19:28

    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
    • T Offline
      thomthom
      last edited by 6 Jan 2010, 19:34

      @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 6 Jan 2010, 20:04

        @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
        • C Offline
          Chris Fullmer
          last edited by 6 Jan 2010, 21:00

          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
          • T Offline
            thomthom
            last edited by 6 Jan 2010, 21:28

            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
            • T Offline
              thomthom
              last edited by 7 Jan 2010, 09:33

              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 7 Jan 2010, 09:33

                @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 & File\Open

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

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tomasz
                  last edited by 7 Jan 2010, 09:35

                  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
                  • T Offline
                    thomthom
                    last edited by 7 Jan 2010, 09:35

                    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
                    • T Offline
                      thomthom
                      last edited by 7 Jan 2010, 09:37

                      @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 7 Jan 2010, 09:38

                        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
                        • T Offline
                          thomthom
                          last edited by 7 Jan 2010, 09:42

                          @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 7 Jan 2010, 09:53

                            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
                            • T Offline
                              thomthom
                              last edited by 7 Jan 2010, 09:57

                              πŸ‘
                              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
                              • G Offline
                                Gaieus
                                last edited by 7 Jan 2010, 11:28

                                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
                                1 / 2
                                • First post
                                  17/22
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement