sketchucation logo sketchucation
    • Login
    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

    Group.copy fails

    Scheduled Pinned Locked Moved Developers' Forum
    11 Posts 4 Posters 544 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Xrok1 has a problem with some of my EEby.. tools where they copy groups and manipulate them.
      At first I thought it was a group make_unique problem... but via PMs and testing of basic code in the Ruby Console we discovered that although group.copy is a listed method you can't set a variable thus: g=group.copy - it simply returns nil. So it's not my scripts, but a glitch with his entire SUp Ruby API. He tried reinstalling SUp... but no joy.
      His current installation is Win7 ultimate64 SUp ver7.1.6860 - which fails: however, his earlier ver7.0.10247 works fine on another machine ??? 😲
      Any ideas out there ???
      πŸ˜• πŸ˜• πŸ˜•

      TIG

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        That would be a serious flaw. I've copied Groups in that way many time without trouble (that I know of.)

        First thought is usually "Who's plug-in has changed the default behaviour?" and my reply is "Hopefully, not one of mine!"

        Hi

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

          group.copy returns a group in my tests...

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

          1 Reply Last reply Reply Quote 0
          • X Offline
            xrok1
            last edited by

            and the winner is sketchyphysics! πŸ‘Ώ
            i started deleting plugs until etrude worked and its SP. tried on both installs deleting and replacing... i'm not sure which version it is but its from 6/27/2009
            my other install of SU had SP from 3/10/2009 i guess that ones ok πŸ˜†

            β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

            http://www.Twilightrender.com try it!

            1 Reply Last reply Reply Quote 0
            • X Offline
              xrok1
              last edited by

              can someone tell me what this is now? got it since i've been screwing around so much. did a reinstall/repair but didn't help.


              Capture1.JPG

              β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

              http://www.Twilightrender.com try it!

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                So, to recap: it seems that SketchyPhysics in some recent form messes with group.copy ???

                The file c:\windows\SKPLib80U.dll is only referred once on the net within a Trojan test...
                It might be a SP lib ?
                Don't know what it is at all ?
                When do you get the error - when starting SUp ??

                TIG

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xrok1
                  last edited by

                  yes it was SP everythng is fine now!!!
                  yes the error was starting SU but i went into preferences and re-enabled all the plugins and it went away. πŸ˜„

                  β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                  http://www.Twilightrender.com try it!

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by

                    Searching the code for SketchyPhysics, I don't see it as being the culprit. I've notified Chris to see what he thinks.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      I've looked too and can't find anything... there is group.definition and various extra group methods, but none that should clash - weird or what ?
                      Xrok1 found that with SP installed, he couldn't get group.copy to work at all it kept returning Nil ! BUT after un-installing SP it all worked OK...

                      TIG

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

                        Could be an observer interfering?

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

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xrok1
                          last edited by

                          @tig said:

                          I've looked too and can't find anything... there is group.definition and various extra group methods, but none that should clash - weird or what ?
                          Xrok1 found that with SP installed, he couldn't get group.copy to work at all it kept returning Nil ! BUT after un-installing SP it all worked OK...

                          i even reinstalled then uninstalled SP twice to confirm. here is the offending version, i saved a copy for just such skepticism. πŸ˜‰


                          BADSetupSketchyPhysics3x-Jun27.rar

                          β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                          http://www.Twilightrender.com try it!

                          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