sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] VisMap Pro Beta Available, Free

    scheduled pinned locked moved Plugins
    14 Posts 4 Posters 9.6k Views 4 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • JClementsJ Offline
      JClements
      last edited by

      Martin, it doesn't work in SU6 or SU7.0.

      It can send data but in can NOT GET DATA.

      Simple Test file attached.


      Vismap test.skp

      John | Illustrator | Beaverton, Oregon

      one-reply-to-this-post last-reply-time reply quote 0
      • M Offline
        MartinRinehart
        last edited by

        @jclements said:

        Martin, it doesn't work in SU6 or SU7.0.

        Odd. It was developed in 7.0. I haven't upgraded yet.

        Thanks for the test model, but it got and sent fine on my machine. What problem was I supposed to see?

        Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

        one-reply-to-this-post last-reply-time reply quote 0
        • JClementsJ Offline
          JClements
          last edited by

          Get Data From Model doesn't update after using it the first time.

          So,
          open file.
          Open VisPro
          Get Data from Model
          Make changes via the Layers Window
          Get Data From Model ... changes are not picked up.

          Likewise, close model and reopen, make visibility changes, open VisPro, Get Data From Model doesn't change anything.

          John | Illustrator | Beaverton, Oregon

          one-reply-to-this-post last-reply-time reply quote 0
          • M Offline
            MartinRinehart
            last edited by

            @jclements said:

            Make changes via the Layers Window
            Get Data From Model ... changes are not picked up.

            I bet you didn't Update. Scene changes aren't part of the model until you Update the scene.

            Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

            one-reply-to-this-post last-reply-time reply quote 0
            • JClementsJ Offline
              JClements
              last edited by

              But I didn't change any scenes. I merely opened the file, made layer visibility changes, and tried to update VisPro.

              John | Illustrator | Beaverton, Oregon

              one-reply-to-this-post last-reply-time reply quote 0
              • M Offline
                MartinRinehart
                last edited by

                @jclements said:

                But I didn't change any scenes. I merely opened the file, made layer visibility changes, and tried to update VisPro.

                VisMap can't "see" any changes until you update a scene. Internally, it marches through your scenes one at a time asking "who's visible here?" So, until you change a scene it can't see what you've done. This is in the "Gotchas" in the VisMap doc. Maybe I should repeat that in the VisMap Pro doc.

                If it will make you feel any better, you are not the first person bitten by this "bug." You are corresponding with the man who has that honor.

                Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                one-reply-to-this-post last-reply-time reply quote 0
                • EdsonE Offline
                  Edson
                  last edited by

                  martin,

                  i have tried it on a simple model and it worked but on larger files i get the old message and no layers appear.


                  vismapOCT08.png

                  edson mahfuz, architect| porto alegre • brasil
                  http://www.mahfuz.arq.br

                  one-reply-to-this-post last-reply-time reply quote 0
                  • JClementsJ Offline
                    JClements
                    last edited by

                    Can't you just add a ruby snippet which performs a Scene update to a scene called "VisPro Updater Proxy".

                    It would just be a proxy with no attributes associated with it so the rest of the VisPro script could get around the "bug".
                    VisProUpdate Scene Proxy.png

                    If no scene named "VisProUpdater Proxy" existed it would be created and if it does exist then an update function would be performed and the rest of your existing script would be executed

                    John | Illustrator | Beaverton, Oregon

                    one-reply-to-this-post last-reply-time reply quote 0
                    • M Offline
                      MartinRinehart
                      last edited by

                      @jclements said:

                      If no scene named "VisProUpdater Proxy" existed it would be created and if it does exist then an update function would be performed and the rest of your existing script would be executed

                      A Scene0, roughly analogous to Layer0? What you're looking at? Hmmm.

                      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                      one-reply-to-this-post last-reply-time reply quote 0
                      • chrisglasierC Offline
                        chrisglasier
                        last edited by

                        @jclements said:

                        Get Data From Model doesn't update after using it the first time.

                        So,
                        open file.
                        Open VisPro
                        Get Data from Model
                        Make changes via the Layers Window
                        Get Data From Model ... changes are not picked up.

                        Likewise, close model and reopen, make visibility changes, open VisPro, Get Data From Model doesn't change anything.

                        Seems Martin hasn't got to the bit about observers just yet.

                        cgScenes update.png

                        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                        one-reply-to-this-post last-reply-time reply quote 0
                        • JClementsJ Offline
                          JClements
                          last edited by

                          Yup. I used the name VisPro with a detailed description so the user would know its origin.

                          I guess you could delete the Proxy Scene at the tail end of the script. Not sure creating and deleting would slow things down tho.

                          John | Illustrator | Beaverton, Oregon

                          one-reply-to-this-post last-reply-time reply quote 0
                          • 1 / 1
                          • first-post
                            last-post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement