[Plugin] Number Components
-
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...?!? -
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.
-
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.
-
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. -
@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) -
@mcgordon said:
This plugin numbers a selection of groups/components by placing 3D tex
THANKS 1000x - needed this so much
-
What a cool image hornox.
That rename components feature is great Gordon!
-
Number Components not working Sketchup 2021.
-
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:inrequire' 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:ineval' C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:in
require'
C:/Program Files/SketchUp/SketchUp 2021/Tools/extensions.rb:197:inload' 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...
-
is there any chance of being able to switch the axis on which the numbers are placed?
Advertisement