sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Maybe a stupid question...

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 4 Posters 694 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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Hi all,
      Call me stupid but I don't know if there's a script to quickly substitute a bunch of component instances of name A with another of name B in one click, maintaining all parameters (layer, scaling,rotation,etc).
      I've searched the forum and my own site (!) and didn't find anything similar.
      If it doesn't exist i'll do it myself but I don't want to reinvent the wheel if it does.
      So pleeeaaaaase tell me where !

      DB

      1 Reply Last reply Reply Quote 0
      • I Offline
        ilay7k
        last edited by

        i only see this - http://www.smustard.com/script/ApplyTo
        Thanks to Rick for it...maybe add array

        1 Reply Last reply Reply Quote 0
        • plot-parisP Offline
          plot-paris
          last edited by

          you dont need a ruby for that. SketchUp can do it by its own.

          just select the components you want to substitute (or right click this component in the component window and choose "select instances").

          then right click the new component in the component window and choose "replace selected" - all selected instances are replaced by the new one... 😲

          is that, what you intended to do?

          1 Reply Last reply Reply Quote 0
          • Didier BurD Offline
            Didier Bur
            last edited by

            Oh my god, this was so simple...

            @unknownuser said:

            is that, what you intended to do?
            Exactly !
            Su has some hidden treasures that one is not aware of when never needed before...
            Thank plotparis 👍

            DB

            1 Reply Last reply Reply Quote 0
            • K Offline
              kwistenbiebel
              last edited by

              Yeah, no need for a ruby. Good old SU has it! 😉

              1 Reply Last reply Reply Quote 0
              • I Offline
                ilay7k
                last edited by

                so i go to help-room, need to read
                Thanks for tip...

                1 Reply Last reply Reply Quote 0
                • plot-parisP Offline
                  plot-paris
                  last edited by

                  well, there has to be a reason after all, why we all worship this little program. 😆

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    ilay7k
                    last edited by

                    i was wrong about "applyTo"(multiple ex/change)...it works, "applyTo" + Emmanuel's "select component instances"... need simple [web]dialog to get it features as api

                    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