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

    [Plugin] Number Components

    Scheduled Pinned Locked Moved Plugins
    11 Posts 8 Posters 9.2k Views 8 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.
    • M Offline
      McGordon
      last edited by McGordon

      Number Components 1.1.2 is now available to download on SketchUcation here:

      Number Components

      This plugin numbers a selection of groups/components by placing 3D text above them. Can number them sequentially with various options for direction of numbering and text prefixes. Can also replace component's instance names with numbers.

      Usage
      Select some groups, components or a mixture of the two types. Set the view to either Top or at least to be looking down on your selected components so you can see the results of this plugin.

      Right-click on your selection, then choose "Number Components" from the context menu that pops up.

      Choose from the following options:

      Font, style, text height, extrusion size (0 for no extrusion), unit (mm/inches), direction, Numbering system, Text Prefix("Text n" only), Number to 3D text or rename component ,First number, Flip alternate rows, Keep window open.

      All settings are saved to disk so they should stay at your last used settings even after restarting SketchUp. Note that they have to be used by clicking the "Number Components" before they're saved to disk.

      Click 'Number Components'.

      Updated youtube demo of Number Components with font support:

      1 Reply Last reply Reply Quote 0
      • FrederikF Offline
        Frederik
        last edited by

        This looks really cool... 👍
        If only these numbers could be "ported" to LayOut and replaced by i.e. an auto text in LO with the numbers...
        This could be so nice as it can be used for position numbers in LO...
        I suppose that would require that LO also had an option for plugins...?!?

        Cheers
        Kim Frederik

        1 Reply Last reply Reply Quote 0
        • M Offline
          McGordon
          last edited by

          That's sort of what the "Number to: Rename Component" option is for. When this is set, whatever numbering setting you use will change the name of the component instance instead of placing 3D text. Then in Layout, you can use the label tool with the Component Instance option. This will give you the text created by Number Components in SketchUp. This could still involve an awful lot of clicking, but the numbers will be there automatically.

          For example, you could select all your windows, use "Text n" and set the prefix to "Window ", "Number to: Rename Components". Then in layout, just click on each window with the label tool and you'll get "Window 1", "Window 2", etc. for the text.

          There's a Ruby API for Layout now, but I haven't looked at it. It's not interactive so the plugins don't run in Layout. It might be possible for a plugin to create a Layout file with the numbers labels all arranged automatically, but I don't know.

          1 Reply Last reply Reply Quote 0
          • M Offline
            McGordon
            last edited by

            I've made a new youtube video which is in the edited first post in this thread. It shows the latest version with font support and has a short part near the end where it shows what I meant about renaming instance names and using them in Layout. I'm not exactly an expert in Layout though, so don't laugh at that bit.

            1 Reply Last reply Reply Quote 0
            • M Offline
              McGordon
              last edited by

              Version 1.1.1 is out now.

              Is anyone using this on Windows 10? If so would you be willing to help test it for me?

              Open the Ruby console from Window Menu > Ruby Console.
              Select some components.
              Right-click then choose "Number Components"
              Check the ruby console for any messages.
              Check that the font drop-down menu has a list of fonts in it.

              1 Reply Last reply Reply Quote 0
              • B Offline
                BAILAN
                last edited by

                @mcgordon said:

                Version 1.1.1 is out now.

                Is anyone using this on Windows 10? If so would you be willing to help test it for me?

                Open the Ruby console from Window Menu > Ruby Console.
                Select some components.
                Right-click then choose "Number Components"
                Check the ruby console for any messages.
                Check that the font drop-down menu has a list of fonts in it.

                font drop-down menu no fonts in2018/2017
                2016 Business as usual
                (771352328@qq.com)

                1 Reply Last reply Reply Quote 0
                • HornOxxH Offline
                  HornOxx
                  last edited by

                  @mcgordon said:

                  This plugin numbers a selection of groups/components by placing 3D tex

                  THANKS 1000x - needed this so much


                  thanks.jpg

                  never trust a skinny cook

                  1 Reply Last reply Reply Quote 0
                  • JQLJ Offline
                    JQL
                    last edited by

                    What a cool image hornox.

                    That rename components feature is great Gordon!

                    www.casca.pt
                    Visit us on facebook!

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

                      Number Components not working Sketchup 2021.

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

                        Here is the actual error-loading message...

                        @unknownuser said:

                        Error: #<FrozenError: can't modify frozen String: "GM::NumberComponent">
                        c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_main.rbe:850:in <module:NumberComponent>' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_main.rbe:13:in module:GM'
                        c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_main.rbe:12:in <main>' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_loader.rbe:14:in eval'
                        c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_loader.rbe:14:in require' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_loader.rbe:14:in module:NumberComponent'
                        c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_loader.rbe:13:in <module:GM>' c:/users/user/appdata/roaming/sketchup/sketchup 2021/sketchup/plugins/gm_numbercomponent/numbercomponent_loader.rbe:12:in <main>'
                        C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in eval' C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in require'
                        C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in load' C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/GM_NumberComponent.rb:83:in register_extension'
                        C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/GM_NumberComponent.rb:83:in <module:NumberComponent>' C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/GM_NumberComponent.rb:41:in module:GM'
                        C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/GM_NumberComponent.rb:40:in `<top (required)>'

                        The author needs to correct the error and re-publish - the newer version of Ruby is less forgiving of errors that it used to be...

                        TIG

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

                          is there any chance of being able to switch the axis on which the numbers are placed?

                          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