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

[REQ] Prefix Group/Component Names

Scheduled Pinned Locked Moved Plugins
8 Posts 4 Posters 672 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 26 May 2010, 19:43

    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 27 May 2010, 07:39

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

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 27 May 2010, 08:17

        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
        • T Offline
          thomthom
          last edited by 27 May 2010, 08:32

          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 27 May 2010, 15:37

            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
            • T Offline
              TIG Moderator
              last edited by 27 May 2010, 17:00

              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 27 May 2010, 19:59

                thank you TIG.
                works fine. πŸ˜„

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dedmin
                  last edited by 28 May 2010, 13:46

                    :+1:  :+1:
                  
                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement