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.
    • jiminy-billy-bobJ Offline
      jiminy-billy-bob
      last edited by


      New version 1.0.3 !

      Changelog :

      • Fixed multiple important issues on OSX

      Download in the plugin store !


      25% off Skatter for SketchUcation Premium Members

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

        @ckho1985 said:

        1. Having several SU files open. switching from one to other. The tool struggles to keep up.
          ie; the tool's window content still showing the first SU model, even I have jump to working on the second model. (the first model still running at the back ground)

        It's a limitation of the Sketchup API. I can't do better.
        You have to move the view for the dialog to update. (Orbit, pan, etc)

        @ckho1985 said:

        1)The subject (layers and names) on your tool window does not response simultaneously to SU window. (i.e.; what I click add layer in your tool, I can see layer is added ONLY in the SU window, but not on tool's window) like they both do not spontaneously correspond.

        @tt_su said:

        I just noticed that 1.0.2 doesn't update the WebDialog when you add/remove layers via the WebDialog. The model layers are created - it's just the UI doesn't.
        Adding layer-groups updates the UI though.

        Actually, after some testing, serveral things -including this- were broken since version 1.0.0 on Mac. It's weird that nobody mentionned it earlier.

        I fixed it, see below:

        25% off Skatter for SketchUcation Premium Members

        1 Reply Last reply Reply Quote 0
        • vremennyiV Offline
          vremennyi
          last edited by

          @tony bombata said:

          interestingly, if you pin a file to sketchup 2014, and launch from the taskbar jumplist, it will open without errors - dont know if that helps

          Thank you! It works!
          I think it may be linked with SU current "Working Directory".
          I tested some random folders. If current working directory is on other drive than SU installed(maybe it should be only C:) plugin crashes.
          I have profile folders on D:. When I'm starting SU with desktop shortcut SU's working dir sets to D:\Profile\Desktop. When starting from pinned shortcut - C:\Windows\System32\

          jiminy-billy-bob, you are using relative paths in source. Maybe ruby engine tries load file using current working directory and only it's drive(D: in my case)
          Maybe there is way to set up current working dir to system drive or any MS API to find system drive and try load required libraries with that path?
          Or is this SU bug and about this should think SU developers?

          I think any can repeat this bug in Windows just changing "Working dir" in shortcut to any folder on any another than system drive.
          Is there bugtracker?)

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

            @vremennyi said:

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

            This.

            25% off Skatter for SketchUcation Premium Members

            1 Reply Last reply Reply Quote 0
            • 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
                                            • 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