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

    [Plugin] Layers Panel 1.2.1

    Scheduled Pinned Locked Moved Plugins
    672 Posts 109 Posters 155.2k Views 109 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.
    • Bob JamesB Offline
      Bob James
      last edited by

      Any updates you'd care to share on the work to make LP and Thea work together?

      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

      1 Reply Last reply Reply Quote 0
      • jiminy-billy-bobJ Offline
        jiminy-billy-bob
        last edited by

        Thea doesn't expose any render funtion in ruby. The render is triggered on C++ side. So there is no way I can trigger it from Layers Panel. Therefore, it must be Thea that reads LP's attribute to see which layers have been tagged 'to be rendered' by the user.
        (The same issue applies to render[in], shaderlight, twilight)

        It's pretty simple:

        • Check if LP is active (optional)
          JBB_LayersPanel.isActive == true

        • Determine in which context the user is (active scene if one exists, otherwise the model)
          if Sketchup.active_model.pages.selected_page == nil context = Sketchup.active_model else context = Sketchup.active_model.pages.selected_page end#if

        • Read the attributes to see which layers are tagged
          layerId = layer.get_attribute("jbb_layerspanel", "ID") context.get_attribute("jbb_layerspanel_render", layerId)
          It gives 0 or 1 if the layer should not be rendered, and 2 if the layer should be rendered.

        I gave this to Tomasz, I don't know if he tried to add it to Thea or not.

        I'll probably simplify all of this in an upcoming update with simply something like:
        JBB_LayersPanel.render(layer) that would return true or false.

        25% off Skatter for SketchUcation Premium Members

        1 Reply Last reply Reply Quote 0
        • tt_suT Offline
          tt_su
          last edited by

          @vremennyi said:

          Or is this SU bug and about this should think SU developers?

          Yes - it's our fault. 😞 We're working on a fix.

          1 Reply Last reply Reply Quote 0
          • U Offline
            unclex
            last edited by

            Winx64chinse
            SU2013english OK
            SU2014english Not Work Still

            1 Reply Last reply Reply Quote 0
            • jiminy-billy-bobJ Offline
              jiminy-billy-bob
              last edited by

              @unclex said:

              Winx64chinse
              SU2013english OK
              SU2014english Not Work Still

              I invite you to read the post just above yours... πŸ˜’

              25% off Skatter for SketchUcation Premium Members

              1 Reply Last reply Reply Quote 0
              • P Offline
                pibuz
                last edited by

                Hello Jiminy!
                I had some time to test this baby and I cannot get it to work.

                I use Indigo Renderer (SkIndigo exporter 3.6.25.5 version), and:

                1. none of the peculiar and extra-useful tools of your plugin work (neither the "hide but render" or the "show but not render")
                2. when clicking on the Indigo Logo on the upper right corner of the plugin, a message is displayed saying that Indigo Is no tinstalled on the pc, whether it is instead, and it works like a charm if I use the SkIndigo export bar...

                The plugin seems wonderful, really! Only, at the moment Indigo support is a little bit unconvincing πŸ˜†

                WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                1 Reply Last reply Reply Quote 0
                • jiminy-billy-bobJ Offline
                  jiminy-billy-bob
                  last edited by

                  pibuz > It's indeend broken with Indigogo for some reason. I'll fix it.

                  amis > You're not the first to tell me this. I forgot, thanks to remind me, I'll take a loot at it.
                  So if I understand right, it works fine on winXP with SU2014, what is yout windows version now, and SU version?

                  25% off Skatter for SketchUcation Premium Members

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    ckho1985
                    last edited by

                    the update work great on Mac now. thanks!!
                    I am sure you are award of it… many have request a 'sort by name' function on the table. so we could navigate layers easily.
                    thanks once more

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      unclex
                      last edited by

                      sorry jiminy
                      I know it's not your fault
                      but I was so regretful for cannot using your wonderful plugins

                      1 Reply Last reply Reply Quote 0
                      • jiminy-billy-bobJ Offline
                        jiminy-billy-bob
                        last edited by

                        @unclex said:

                        sorry jiminy
                        I know it's not your fault
                        but I was so regretful for cannot using your wonderful plugins

                        Don't worry, no hard feelings.

                        While waiting for a fix, you can start Sketchup and then open your file from SU. It should work fine.

                        25% off Skatter for SketchUcation Premium Members

                        1 Reply Last reply Reply Quote 0
                        • SolarwiseLLCS Offline
                          SolarwiseLLC
                          last edited by

                          Jiminy-Billy-Bob,

                          First off let me say I love this plugin.

                          Recently, my layer's panel has become unresponsive in one of my drawings. (This is true for SU13 and SU14) Unresponsive in that the layers do not toggle on or off anymore. This one file was working. I saved multiple copies of it and now none of them work properly. Other files/drawings work. I even created a new drawing. Created a new layers list and pasted the original drawing in layer by layer. This worked until I closed the drawing and restarted my computer. Is there a a easy fix? I could have moved or removed a file when I was trying out SU 14.

                          Layers Panel 1.03
                          I'm using SU 13, but have 14 installed
                          Windows 8

                          I have other layer managing plugin installed (Conflict?) They aren't interfering with my other files.

                          1 Reply Last reply Reply Quote 0
                          • jiminy-billy-bobJ Offline
                            jiminy-billy-bob
                            last edited by

                            Could you send me the file by PM?
                            What are the other layer managing plugins?

                            25% off Skatter for SketchUcation Premium Members

                            1 Reply Last reply Reply Quote 0
                            • jiminy-billy-bobJ Offline
                              jiminy-billy-bob
                              last edited by

                              @solarwisellc said:

                              So something strange has happen since I posted. I continued to work on the drawing "DD1", but stopped using the Layer Panel plugin. I was just using the Layers Window. After a while I checked the Layers Panel and it had started working again. I noticed all the folders had been removed and it was now just a list of layers.

                              Drawing DD1.1 still shows the folders and is still unresponsive.

                              Addition layer plugins:
                              Layers Manager (I think that is it)

                              I'm not sure what caused the issue, but here is how to solve it:

                              • Install Aerilius' AttributeInspector
                              • Open it
                              • Click on "jbb_layerspanel"
                              • Delete all the " group[22]=null&group[23]=22&layer...." stuff (Just select and delete)
                              • Reopen Layers Panel, you should loose all the sorting and groups, but it should work fine.

                              http://i.imgur.com/xqYYqWb.png

                              25% off Skatter for SketchUcation Premium Members

                              1 Reply Last reply Reply Quote 0
                              • SolarwiseLLCS Offline
                                SolarwiseLLC
                                last edited by

                                @jiminy-billy-bob said:

                                • Install Aerilius' AttributeInspector
                                • Open it
                                • Click on "jbb_layerspanel"
                                • Delete all the " group[22]=null&group[23]=22&layer...." stuff (Just select and delete)
                                • Reopen Layers Panel, you should loose all the sorting and groups, but it should work fine.

                                Thanks. I will try this. Will I be able to regroup afterwards?

                                1 Reply Last reply Reply Quote 0
                                • jiminy-billy-bobJ Offline
                                  jiminy-billy-bob
                                  last edited by

                                  Of course, LP should behave normally after this. It's a fresh start.

                                  25% off Skatter for SketchUcation Premium Members

                                  1 Reply Last reply Reply Quote 0
                                  • sadyoS Offline
                                    sadyo
                                    last edited by

                                    Hi mr.Bob

                                    Seem like the LP 1.0.3 have problems when I updated TT_Lib 2.9.9 ❓

                                    http://s30.postimg.org/mgwf0y5fl/hh2.jpg

                                    I'm using Sketchup 2014 pro_Win8.1-64bit

                                    1 Reply Last reply Reply Quote 0
                                    • jiminy-billy-bobJ Offline
                                      jiminy-billy-bob
                                      last edited by

                                      sadyo > Please see:

                                      @tt_su said:

                                      @vremennyi said:

                                      Or is this SU bug and about this should think SU developers?

                                      Yes - it's our fault. 😞 We're working on a fix.

                                      25% off Skatter for SketchUcation Premium Members

                                      1 Reply Last reply Reply Quote 0
                                      • tt_suT Offline
                                        tt_su
                                        last edited by

                                        @sadyo said:

                                        Seem like the LP 1.0.3 have problems when I updated TT_Lib 2.9.9 ❓

                                        That's a co-incidence. When you launch SketchUp via a SKP file that is located on a drive different from where SketchUp is installed something gets messed up in SketchUp Ruby. Launch SketchUp first, then open your file - that's the workaround until we release a fix.

                                        1 Reply Last reply Reply Quote 0
                                        • SolarwiseLLCS Offline
                                          SolarwiseLLC
                                          last edited by

                                          @jiminy-billy-bob said:

                                          Of course, LP should behave normally after this. It's a fresh start.

                                          After resetting the folders as you outlined. I was able to regroup and work in the file successfully. After closing SU and restarting my computer, the layers panel stop being responsive in that file. After working in the same file, using just the layers window, the layers panel reset the folders/grouping by itself. Once it reset itself, the layers panel worked, but the folders/grouping were deleted. Wondering if it's the plugin or my file.

                                          1 Reply Last reply Reply Quote 0
                                          • jiminy-billy-bobJ Offline
                                            jiminy-billy-bob
                                            last edited by

                                            I'm investigating with the file you gave me. This is weird.
                                            Do you actively use Didier's Layers Manager, or is it just installed?
                                            To you import geometry, or copy/paste between instances?

                                            25% off Skatter for SketchUcation Premium Members

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 21
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 33
                                            • 34
                                            • 23 / 34
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement