[Plugin] Make Named Group
-
By request-ish: http://forums.sketchucation.com/viewtopic.php?f=180%26amp;t=23567
(Code sample turned out to become full plugin.)Adds
Make Named Group
to theEdit
menu.http://sketchucation.com/pluginstore?pln=tt_named_group
-
Nice! I like the Layer addition.
What about defaulting it so the GROUP NAME field is highlighted first? Then you can immediately enter a group name, instead of selecting it, then naming it?
-
@alz said:
What about defaulting it so the GROUP NAME field is highlighted first? Then you can immediately enter a group name, instead of selecting it, then naming it?
hm... don't think I have control of that. Unless I swap the order of them.
Or I could make a custom window. Will see.
-
Unfortunately with the basic inputbox the last set field is always highlighted...
-
@tig said:
Unfortunately with the basic inputbox the last set field is always highlighted...
I filed a bug on this.
-
In this order of idea: a ruby who take the name of a group (or Component) selected then create the same "Layer name" and put the group (or Component) in this new Layer named will ne fine
-
@unknownuser said:
In this order of idea: a ruby who take the name of a group (or Component) selected then create the same "Layer name" and put the group (or Component) in this new Layer named will ne fine
Untested, but this should place all groups/components into a layer based on their name.
model = Sketchup.active_model sel = model.selection sel.each { |e| next unless e.is_a?(Sketchup;;Group) || e.is_a?(Sketchup;;ComponentInstance) model.layers.add(e.name) if model.layers[e.name].nil? e.layer = model.layers[e.name] }
-
Would it be possible to put the entry from the "Edit Menu" to the context menu?
greets din
-
I will see if I can add support for UI Manager - so you can choose. There are people who prefer not to have their context menu filled with more items. So it's not easy to get a balance. But when the user can choose then it's not an issue any more.
-
Thanks for the plugin, a great idea.
Regards,
JGA -
I just saw this - very useful! I started recently using groups instead of components and I'm using this wonderful plugin - http://forums.sketchucation.com/viewtopic.php?t=9318
If there is a way to combine them into one - perfect! -
@dedmin said:
I just saw this - very useful! I started recently using groups instead of components and I'm using this wonderful plugin - http://forums.sketchucation.com/viewtopic.php?t=9318
If there is a way to combine them into one - perfect!Is there different functionality?
-
-
-
It has a drop-down list of 20 names to choose from
-
That seems very specific...
I still don't see what combination it is you're looking for. -
Your plugin plus a drop-down list for the group names. Jim's plugin allows You to write 20 most used names in a text file for later use - useful in many fields where the parts are common - furniture and the like.
-
Hey Thomas, love your plugins....
With this one; do you think you could have the group added to a layer of the same name? If no layer, ask the user do you want to add a layer? Would be a great timesaver.....Thanks.
A -
@utiler said:
Hey Thomas, love your plugins....
With this one; do you think you could have the group added to a layer of the same name? If no layer, ask the user do you want to add a layer? Would be a great timesaver.....Thanks.
AIt would be interesting if there was a box or drop down menu where it appeared the possibility to create and now include the object in a layer with the same name.
Create components instead of groups might be interesting too.
-
@utiler said:
Hey Thomas, love your plugins....
With this one; do you think you could have the group added to a layer of the same name? If no layer, ask the user do you want to add a layer? Would be a great timesaver.....Thanks.
AThom?
Advertisement