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

    [Plugin][WIP] Layers Panel - Dev

    Scheduled Pinned Locked Moved Developers' Forum
    45 Posts 11 Posters 8.8k Views 11 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.
    • Dan RathbunD Offline
      Dan Rathbun
      last edited by

      Ruby uses 2 space indentation. HTML & Javascript 4 space indentation.
      NOTHING uses 3 or odd number spaced indents !

      I'm not here much anymore.

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        @jiminy-billy-bob said:

        Also, I can't get my WebDialog callbacks to work if the dialog is not in a global variable. I tried local, instance, and class variables, nothing works. What am I doing wrong ?

        See this other post: Re: Webdialog scripting issues

        Use local vars INSIDE methods as temporary variables. They get garbage collected when the method ends.

        Use @@vars INSIDE modules or for class-wide access.

        Use @vars in class instance methods (define and init them inside the initialize method.)

        💭

        I'm not here much anymore.

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

          Thanks a lot, I'll try that.

          25% off Skatter for SketchUcation Premium Members

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

            @dan rathbun said:

            Ruby uses 2 space indentation. HTML & Javascript 4 space indentation.
            NOTHING uses 3 or odd number spaced indents !

            Only Python require a certain indentation - Ruby, HTML and JS doesn't care. It's just coding convention within the team/project you're working with.

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

            1 Reply Last reply Reply Quote 0
            • I Offline
              iannuzzi
              last edited by

              Please, don't ever give up on this plugin, it'd save my life! I wish I could help

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

                I won't give up ! 😄 I just don't have time curently. I will at the end of july.
                No worries

                25% off Skatter for SketchUcation Premium Members

                1 Reply Last reply Reply Quote 0
                • KrisidiousK Offline
                  Krisidious
                  last edited by

                  just posting so I'll get updates on this thread.

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

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

                    I made another thread to discuss the behaviour of the plugin : http://sketchucation.com/forums/viewtopic.php?f=323&t=52225

                    Feel free to participate 😄

                    25% off Skatter for SketchUcation Premium Members

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Litchi
                      last edited by

                      Thanks for your present!This is a great plugin, but I have a problem,I created a layer group,which contains a number of layers,but when I restart the plugin Panel,everything was back to the way they were,the group disappeared, the new layer still exist。

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

                        Yep, it doesn't save anything yet ^^
                        See the first post :

                        @jiminy-billy-bob said:

                        ToDo :

                        • **Saving ! For now, every time you refresh the webdialog, or exit SU, the sorting/nesting disappears.**So it's useless as is.

                        It will come. Just not now 😄
                        It's obviously at the top of my todo list.

                        25% off Skatter for SketchUcation Premium Members

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          hi

                          I just wondered if you had ever seen this, it has some nice ideas, to take forward

                          http://sketchucation.com/forums/viewtopic.php?p=162487#p162487

                          I did some work on the mac version, but Chris and Jim had already done the tricky bits...

                          john

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                            Hey guys !

                            I finally got a working version (See first post for download). It saves sorting/nesting (Except group hiding/collapsing)
                            I still wouldn't recommand using it in production though, as it may produce bugsplats, and it still behave strangely with the undo stack.

                            There are still a lot of bugs, so I need you guys to help me track them and getting methods to reproduce them.
                            I updated the first post with what's working and what's not.

                            I don't think it works on mac, though I'm not able to test...
                            For now, I tested only on win7 SU2013 IE8-10, with no bugsplats so far.

                            Feedback (about bugs or features) would be highly appriciated ! 😄

                            Thanks

                            25% off Skatter for SketchUcation Premium Members

                            1 Reply Last reply Reply Quote 0
                            • Rich O BrienR Offline
                              Rich O Brien Moderator
                              last edited by

                              Once I hide a Layer I can't unhide it unless I nest it in a Layer Group

                              Win8

                              Great tool 👍

                              Download the free D'oh Book for SketchUp 📖

                              1 Reply Last reply Reply Quote 0
                              • KrisidiousK Offline
                                Krisidious
                                last edited by

                                woooot wooot!

                                By: Kristoff Rand
                                Home DesignerUnique House Plans

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

                                  @rich o brien said:

                                  Once I hide a Layer I can't unhide it unless I nest it in a Layer Group

                                  Win8

                                  Great tool 👍

                                  Weird, it works for me on win8 with SU2013 and IE10.
                                  Which versions of SU and IE are you using ?

                                  25% off Skatter for SketchUcation Premium Members

                                  1 Reply Last reply Reply Quote 0
                                  • Rich O BrienR Offline
                                    Rich O Brien Moderator
                                    last edited by

                                    SU8 and IE10

                                    I'll try it on SU2013

                                    Download the free D'oh Book for SketchUp 📖

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

                                      It works for me on win8 with SU8 and IE10. Do you have the same problem with a new file ?
                                      If so, can you zip and upload your plugins folder ?

                                      25% off Skatter for SketchUcation Premium Members

                                      1 Reply Last reply Reply Quote 0
                                      • Rich O BrienR Offline
                                        Rich O Brien Moderator
                                        last edited by

                                        Bit more info...

                                        I've a starting template that loads with a layer other than layer 0.

                                        If I toggle off visibility of this layer I can't toggle it back on.

                                        If I drag the layer it then reappears...

                                        [screenr:3cmp7xlp]vKmH[/screenr:3cmp7xlp]

                                        Download the free D'oh Book for SketchUp 📖

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

                                          Great, thanks for the video and infos. I think I see where the bug comes from. I'll try to reproduce this and fix it, and I'll let you know.

                                          25% off Skatter for SketchUcation Premium Members

                                          1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            Litchi
                                            last edited by

                                            I am very happy to see your new version which can effectively work,thaks a lot !
                                            and It still has some bug:
                                            1、When you installed this plugin,Every time when you start SketchUp, Ruby console will automatically appear
                                            2、When you rename a layer group, cannot immediately see the changes the results,You must refresh the layers panel to see it.
                                            3、When you open or refresh the layers panel again,layer group is automatically displayed the layers inside it.
                                            I'm sorry, my English is not very good, I hope you can understand what I mean
                                            And I want to see the full version
                                            thanks for your work !

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

                                            Advertisement