• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Spacemouse plugin problem. Ruby Guru needed!

Scheduled Pinned Locked Moved Extensions & Applications Discussions
spacemousesketchupruby
12 Posts 4 Posters 64 Views
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
    baz
    last edited by Rich O Brien 19 Dec 2024, 01:04

    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)>'
    
    B R 2 Replies Last reply 21 Dec 2024, 04:28 Reply Quote 0
    • B Offline
      baz @baz
      last edited by baz 21 Dec 2024, 04:28

      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.

      B 1 Reply Last reply 21 Dec 2024, 08:37 Reply Quote 0
      • B Offline
        Box @baz
        last edited by 21 Dec 2024, 08:37

        @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

        B 1 Reply Last reply 22 Dec 2024, 03:42 Reply Quote 0
        • R Offline
          Rich O Brien Moderator @baz
          last edited by Rich O Brien 21 Dec 2024, 11:22

          @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 ๐Ÿ“–

          B 1 Reply Last reply 22 Dec 2024, 03:51 Reply Quote 0
          • B Offline
            baz @Box
            last edited by 22 Dec 2024, 03:42

            @Box LOL. Merry Christmas.

            1 Reply Last reply Reply Quote 0
            • B Offline
              baz @Rich O Brien
              last edited by baz 22 Dec 2024, 03:51

              @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

              R 1 Reply Last reply 22 Dec 2024, 16:40 Reply Quote 1
              • R Offline
                Rich O Brien Moderator @baz
                last edited by 22 Dec 2024, 16:40

                @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 ๐Ÿ“–

                B 1 Reply Last reply 23 Dec 2024, 03:15 Reply Quote 0
                • B Offline
                  baz @Rich O Brien
                  last edited by 23 Dec 2024, 03:15

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

                  B 1 Reply Last reply 23 Dec 2024, 03:25 Reply Quote 0
                  • B Offline
                    Box @baz
                    last edited by 23 Dec 2024, 03:25

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

                    B 1 Reply Last reply 23 Dec 2024, 03:28 Reply Quote 0
                    • B Offline
                      baz @Box
                      last edited by 23 Dec 2024, 03:28

                      @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 23 Dec 2024, 16:25

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

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          baz
                          last edited by 25 Dec 2024, 06:52

                          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
                          1 / 1
                          • First post
                            10/12
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement