• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Hidden Manager (08.Feb.2015)

Scheduled Pinned Locked Moved Plugins
48 Posts 19 Posters 33.3k Views 19 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.
  • B Offline
    bdbox
    last edited by 24 Feb 2011, 03:06

    Error Loading File mx_hidemanager_loader.rb
    C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/mx_hidemanager_loader.rb:58: syntax error
    mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")
    ^
    C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/mx_hidemanager_loader.rb:58: syntax error
    mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")
    ^
    C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/mx_hidemanager_loader.rb:58: syntax error

    1 Reply Last reply Reply Quote 0
    • S Offline
      schorradt
      last edited by 25 Feb 2011, 09:07

      I'm sorry, but it works on my computer. I can find no error.
      Perhaps the pathfunctions does not feature in Sketchup 7 !?


      http://www.henryschorradt.de/

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 25 Feb 2011, 09:34

        Henry:
        mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")

        This can confuse Ruby - you have space after the method name and the brackets. ( File.join ) On top of that you have that as one of the argument of another method call ( SketchupExtension.new ) where you don't use brackets.

        To avoid potential errors, always use brackets. But most important of all, never leave a space between the method name and the brackets.

        It's a bit odd that a SU7 user should report this error, because SU8's ruby is more strict. Regardless, this should work:
        mx_hiddenmanager = SketchupExtension.new( "Hidden Manager", File.join("mx_hidemanager","mx_hidemanager.rbs") )

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

        1 Reply Last reply Reply Quote 0
        • B Offline
          bdbox
          last edited by 26 Feb 2011, 14:38

          @thomthom said:

          Henry:
          mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")

          This can confuse Ruby - you have space after the method name and the brackets. ( File.join ) On top of that you have that as one of the argument of another method call ( SketchupExtension.new ) where you don't use brackets.

          To avoid potential errors, always use brackets. But most important of all, never leave a space between the method name and the brackets.

          It's a bit odd that a SU7 user should report this error, because SU8's ruby is more strict. Regardless, this should work:
          mx_hiddenmanager = SketchupExtension.new( "Hidden Manager", File.join("mx_hidemanager","mx_hidemanager.rbs") )

          i got this error:

          No such file to load -- mx_hidemanager/mx_hidemanager.rbsError Loading File mx_hidemanager_loader.rb
          No such file to load -- mx_hidemanager/mx_hidemanager.rbs

          1 Reply Last reply Reply Quote 0
          • M Offline
            mac1
            last edited by 26 Feb 2011, 18:46

            schorradt
            What capability does this provide vs what the outliner has now??

            1 Reply Last reply Reply Quote 0
            • N Offline
              nomeradona
              last edited by 27 Feb 2011, 01:37

              nifty tool as your hidden elements are in one place. I can see the relevance.

              visit my blog: http://www.nomeradona.blogspot.com

              1 Reply Last reply Reply Quote 0
              • E Offline
                Evan Garmaise
                last edited by 1 Mar 2011, 04:50

                @bdbox said:

                @thomthom said:

                Henry:
                mx_hiddenmanager = SketchupExtension.new "Hidden Manager", File.join ("mx_hidemanager","mx_hidemanager.rbs")

                This can confuse Ruby - you have space after the method name and the brackets. ( File.join ) On top of that you have that as one of the argument of another method call ( SketchupExtension.new ) where you don't use brackets.

                To avoid potential errors, always use brackets. But most important of all, never leave a space between the method name and the brackets.

                It's a bit odd that a SU7 user should report this error, because SU8's ruby is more strict. Regardless, this should work:
                mx_hiddenmanager = SketchupExtension.new( "Hidden Manager", File.join("mx_hidemanager","mx_hidemanager.rbs") )

                i got this error:

                No such file to load -- mx_hidemanager/mx_hidemanager.rbsError Loading File mx_hidemanager_loader.rb
                No such file to load -- mx_hidemanager/mx_hidemanager.rbs

                Some of my users of the PieceTracer tool have reported the same mysterious "No such file to load" error, as you can see here:
                http://forums.sketchucation.com/viewtopic.php?f=80&t=34492

                A couple of similarities between Hidden Manager and PieceTracer:

                1. Both have an underscore in both the directory name and the file name, as most plugins do not.
                2. Both load the scrambled ruby file directly out of the loader file instead of using a second unscrambled file inside the sub-directory that loads the scrambled file using a 'require' statement or similar, as many plugins do.

                Could these similarities point to a solution to the problem? Could be worth creating a test version with these things fixed to see if that solves the loading problem for those users who have it.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Evan Garmaise
                  last edited by 6 Mar 2011, 01:22

                  I checked with my users and fixing #2 above fixed the problem. schorradt, just create a .rb file in your subdirectory with one line: "Sketchup::require " and then the name of your scrambled file. Then load that .rb file out of your loader file using SketchupExtension. That will fix the loading problem for your users who have it.

                  1 Reply Last reply Reply Quote 0
                  • EarthMoverE Offline
                    EarthMover
                    last edited by 8 Mar 2011, 21:38

                    Thanks Evan. Good advice. I have the same issue, presumably a conflict with Piece Tracer. I'll see if I can do it manually until the author fixes the issue.

                    3D Artist at Clearstory 3D Imaging
                    Guide Tool at Winning With Sketchup
                    Content Creator at Skapeup

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cozzolino13
                      last edited by 11 Mar 2011, 08:50

                      this doesn't work after install scf power toolbar

                      thank

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Gunny
                        last edited by 30 Apr 2012, 20:22

                        @cozzolino13 said:

                        this doesn't work after install scf power toolbar

                        thank

                        quote

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          schorradt
                          last edited by 21 Mar 2014, 19:46

                          Hello! I am back!

                          here is an update, tested in Sketchup 2014. At the moment without new features but I'm thinking about.


                          Hidden Manager 1.0.1 (21.03.2014)


                          http://www.henryschorradt.de/

                          1 Reply Last reply Reply Quote 0
                          • KrisidiousK Offline
                            Krisidious
                            last edited by 21 Mar 2014, 20:06

                            SCF Toolbar has some files in it that create conflicts. There are two or three files that need to be removed as they are outdated and in the wrong location.

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              schorradt
                              last edited by 21 Mar 2014, 20:20

                              oh right... i will check it out. thx

                              do you mean "SCF Power Toolbar v1" or where can i find a new version?


                              http://www.henryschorradt.de/

                              1 Reply Last reply Reply Quote 0
                              • KrisidiousK Offline
                                Krisidious
                                last edited by 21 Mar 2014, 21:18

                                I don't think there is a new one. I think this thread goes over the issues found in it.

                                http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=52474%26amp;p=475625%26amp;hilit=+custom+toolbar#p475625

                                By: Kristoff Rand
                                Home DesignerUnique House Plans

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  schorradt
                                  last edited by 21 Mar 2014, 21:56

                                  I think it's more a problem of Toolbar extension. ! Or?
                                  please report error message if you get a conflict with my plugin. thx


                                  http://www.henryschorradt.de/

                                  1 Reply Last reply Reply Quote 0
                                  • KrisidiousK Offline
                                    Krisidious
                                    last edited by 21 Mar 2014, 22:57

                                    Yeah, this has nothing to do with your plugin Henry. This was in response to this.

                                    Re: [Plugin] Hidden Manager (16.Feb.2011)

                                    Postby cozzolino13 » Fri Mar 11, 2011 3:50 am
                                    this doesn't work after install scf power toolbar

                                    By: Kristoff Rand
                                    Home DesignerUnique House Plans

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pherim
                                      last edited by 5 Nov 2014, 13:39

                                      It doesn't seem to work with SU2015 64bit.

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Pherim
                                        last edited by 13 Feb 2015, 20:14

                                        Has this been updated for SU2015 64bit? It appears to be working now, though with it installed, SketchUp crashes when I use SketchUV to triangulate faces which are not inside a group or component (quite the opposite of the problem that occured with Components Manager and RoundCorner, where Sketchup would crash when RoundCorners was used inside components).

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          Jim
                                          last edited by 13 Feb 2015, 21:36

                                          This plugin needs an audit. It is well-meant, although careless compilation of code.

                                          Hi

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

                                          Advertisement