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

    Multiple objects to groups

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 5 Posters 420 Views 5 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.
    • W Offline
      wiadevaia
      last edited by

      I am working on a city model that has hundreds of buildings that currently consist of ungrouped lines and faces. I was looking for a way to be able to select all these entities and convert them to individual groups or components so I can use a plugin to drop them all to a topo surface. I was able to find someone trying to accomplish this exact task here http://sketchucation.com/forums/viewtopic.php?f=79%26amp;t=42705 but the script provided in that thread is not working for me.
      Thanks

      OSX 10.9
      SU 2013

      1 Reply Last reply Reply Quote 0
      • W Offline
        wiadevaia
        last edited by

        If there is a moderator around, should this topic be moved to another area where I might get an answer to this?

        1 Reply Last reply Reply Quote 0
        • Dave RD Offline
          Dave R
          last edited by

          This would be an appropriate forum. It would seem no one has an answer for you, though.

          You say the plugin at the other thread didn't work for you but that's not very specific. What doesn't work?

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            This is about a request for a script to accomplish a custom task. Please have a moderator move this to the Developers Forum.

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • W Offline
              wiadevaia
              last edited by

              @dave r said:

              This would be an appropriate forum. It would seem no one has an answer for you, though.

              You say the plugin at the other thread didn't work for you but that's not very specific. What doesn't work?

              It returns a load error when starting sketchup. I have never done custom scripts before but the instructions in that old thread seem pretty straight forward. I was wondering since that thread is so old that the script is not written correctly for 2013 or there is an error in it. Was just hoping that someone with some knowhow could take a look at it for me.

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

                I wrote that code 'snippet' in the other thread over 2 years ago... πŸ˜’
                http://sketchucation.com/forums/viewtopic.php?p=379876#p379876
                What is the error exactly ?
                Unless you tell us that, then we can't help fix it...
                Is it as SketchUp loads, or as you try to run the code etc ?

                Do you have FULL read/write Security permissions set for the Plugins folder ?

                Did you use a plain-text editor like Notepad.exe [Notepad++ recommended] ?
                If you used a word-processor it will have broken the coding big-time !

                Did you copy+paste ALL of the code into the .rb file and restart SketchUp ?

                Please try again...
                Perhaps copy an existing rb file within Plugins and rename it, then replace all of its contents and save it - that way the 'encoding' should be 'UTF-8 without BOM' - the correct text format for rb scripts...

                It works just fine for me... πŸ˜•
                And it does what you want too... πŸ˜‰

                TIG

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  That was the first script I wrote and published, for this EXACT purpose. You can find it here:

                  favicon

                  (www.smustard.com)

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wiadevaia
                    last edited by

                    @chris fullmer said:

                    That was the first script I wrote and published, for this EXACT purpose. You can find it here:

                    favicon

                    (www.smustard.com)

                    Thanks so much, works perfectly πŸ˜„

                    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