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!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [REQ] Prefix Group/Component Names

    Scheduled Pinned Locked Moved Plugins
    8 Posts 4 Posters 702 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.
    • C Offline
      chrisik
      last edited by

      hello,
      is this possible: select several named group/components, e.g. group "A" and group "B", run the (wanted) ruby, enter a prefix e.g. "1_", and the group/components an renamed in "1_A" and "1_B" an so on.
      thanks in advance.
      chrisik

      1 Reply Last reply Reply Quote 0
      • D Offline
        dedmin
        last edited by

        http://forums.sketchucation.com/viewtopic.php?f=180&t=23617&p=200995&hilit=mass+rename#p200995

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

          Thanks dedmin - I knew I'd seen it somewhere πŸ˜’
          I thought I had done something on this... 😳

          TIG

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

            How about moving that into a fresh [plugin] thread?

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

            1 Reply Last reply Reply Quote 0
            • C Offline
              chrisik
              last edited by

              yes it works for components but not for groups.
              could the script be modified to work also for groups?
              chrisik

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

                Here's a new version that renames selected instances' definitions and also groups, adding suffixes and/or prefixes (banding "prefix-"[,"-suffix"] >>> prefix-Compo[-suffix] - using "","-suffix" adds only a suffix): it now also lets you used wildcards in the 'prefix' either to wipe the name and give it an incrementing name (banding "*A-001" >>> A-001, A-002 etc), or to substitute text (banding "|CAT|Cat|"); a suffix can still be used in conjunction with wildcarded prefixes...bandingCompoNames.rb

                TIG

                1 Reply Last reply Reply Quote 0
                • C Offline
                  chrisik
                  last edited by

                  thank you TIG.
                  works fine. πŸ˜„

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dedmin
                    last edited by

                      :+1:  :+1:
                    
                    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