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

    Spacemouse plugin problem. Ruby Guru needed!

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    spacemousesketchupruby
    12 Posts 4 Posters 64 Views 4 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.
    • bazB Offline
      baz
      last edited by Rich O Brien

      I cannot get my new spacemouse to work in Su. (Works fine in Autodesk Fusion, but zoom in/out only in SU)
      I have been going back and forth with 3DConnection support for days now and we cant find the problem. (Numerous configs, uninstalls, re-installs, driver roll-backs etc etc).
      The 3Dx plugin does appear in the Extension Manager but only after this load error appears on startup, Be much appreciated if anybody could explain it?
      Cheers Baz.

      Error: #<NoMethodError: undefined method `AttachSkpExtension' for TDx:Module>
      c:/users/xxxx/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/3dxsketchup/3dxsketchupext.rbe:24:in `<module:TDx>'
      c:/users/xxxx/appdata/roaming/sketchup/sketchup 2019/sketchup/plugins/3dxsketchup/3dxsketchupext.rbe:10:in `<main>'
      C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `eval'
      C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `require'
      C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `load'
      C:/Users/xxxx/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/3DxSketchUp.rb:28:in `register_extension'
      C:/Users/xxxx/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/3DxSketchUp.rb:28:in `<module:TDx>'
      C:/Users/xxxx/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/3DxSketchUp.rb:11:in `<top (required)>'
      
      bazB Rich O BrienR 2 Replies Last reply Reply Quote 0
      • bazB Offline
        baz @baz
        last edited by baz

        In my twenty years with this Forum, I don't think I have ever had a post not responded to, even if it's just "RTFM"

        Have I posted this in the wrong discussion? Or is it insoluble?

        I am still trying to trace the problem with support but nothing works
        .
        However this appears in the Ruby console window with this query...

        load “3dxSketchup.rb”

        Error: #<NameError: undefined local variable or method “3dxSketchup' for main:Object> <main>:in <main>'
        SketchUp:1:in `eval'

        Does anyone know what that means? Anybody?

        PS: I have just tried the same install on my W/shop PC, which has very similar specs to the Studio PC. Exactly the same result, which I think rules out user or machine error.

        BoxB 1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box @baz
          last edited by

          @baz said in Spacemouse plugin problem. Ruby Guru needed!:

          In my twenty years with this Forum, I don't think I have ever had a post not responded to

          It's partly the time of year, your post has only had 13 views as I write this. Only a few people will decipher ruby errors.

          Oh and RTFM

          bazB 1 Reply Last reply Reply Quote 0
          • Rich O BrienR Online
            Rich O Brien Moderator @baz
            last edited by Rich O Brien

            @baz Have you ruled out an extension clash by only loading the 3Dx extension?

            Judging the ruby output SketchUp's own extensions.rb is complaining

            There is a big difference in how SketchUp handles webdialog stuff between 2019 and more modern editions. Recent changes did break older approaches.

            If it was me, I'd rename the Plugins to ###Plugins to prevent it loading so I would have a vanilla SketchUp install.

            See if that still throws errors.

            Download the free D'oh Book for SketchUp 📖

            bazB 1 Reply Last reply Reply Quote 0
            • bazB Offline
              baz @Box
              last edited by

              @Box LOL. Merry Christmas.

              1 Reply Last reply Reply Quote 0
              • bazB Offline
                baz @Rich O Brien
                last edited by baz

                @Rich-O-Brien Thanks Rich. Tried the plugin rename and made a new plugin folder with just the Space mouse stuff. Rebooted and all. No joy.
                I estimate I have spent about 15 hours on this now.
                3dConnection support have had me doing everything apart from taking the back off the PC!

                Just about ready to give up on this
                .
                I was going to bite the bullet and subscribe to SU23 just to have the S/Mouse working, but I notice a lot of people still having trouble with getting it to work.

                Hope you have a good hols.
                Cheers

                Rich O BrienR 1 Reply Last reply Reply Quote 1
                • Rich O BrienR Online
                  Rich O Brien Moderator @baz
                  last edited by

                  @baz I think you might have to bite the bullet and subscribe to the latest version.

                  Can you trial it and confirm it works? That at least would be a good option

                  Download the free D'oh Book for SketchUp 📖

                  bazB 1 Reply Last reply Reply Quote 0
                  • bazB Offline
                    baz @Rich O Brien
                    last edited by

                    @Rich-O-Brien Yes it works in the SU24 trial. So decision-decision...

                    BoxB 1 Reply Last reply Reply Quote 0
                    • BoxB Offline
                      Box @baz
                      last edited by

                      @baz You could try installing an older version of the driver.

                      bazB 1 Reply Last reply Reply Quote 0
                      • bazB Offline
                        baz @Box
                        last edited by

                        @Box 3D Connection support had me doing that about 4 times. Still waiting to hear back on the latest round of 'Fixes'. Will be next year I expect. But having fun with SU24.

                        1 Reply Last reply Reply Quote 1
                        • S Offline
                          slbaumgartner
                          last edited by

                          That error looks like a downstream consequence of something failing to load earlier.

                          1 Reply Last reply Reply Quote 0
                          • bazB Offline
                            baz
                            last edited by

                            I finally solved it!
                            It was a dodgy plugin/extension. I don't know which one, but luckily it wasn't one of the ones I use constantly. I probly had 50 old plugins from years ago that I've never used.

                            This only became clear when the Space Mouse in the trial version of SU24 stopped working after I had loaded a few Bundles of Extensions. So I did a clean re-install of SU24 and loaded my necessary plugins one by one. I stopped when I had everything I needed and all was good. Then back to SU19, I used the Extension Manager in SU to uninstall everything except the proven ones in SU24 and bingo, all is as it should be.

                            Note: Rich's suggestion of a 'Vanilla" install, (see above), did not work in my case, though I don't see why it wouldn't.

                            Cheers and Happy New Year to you all.

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

                            Advertisement