sketchucation logo sketchucation
    • Login
    1. Home
    2. bdbox
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: [Plugin] Hidden Manager (08.Feb.2015)

      @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

      posted in Plugins
      B
      bdbox
    • RE: [Plugin] Hidden Manager (08.Feb.2015)

      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

      posted in Plugins
      B
      bdbox
    • 1 / 1