[Plugin] Name Group on Creation
-
@alexmozg said:
Jim, thank you for a wonderful idea.
I edited your script and added list of the before entered values for a substitution
and also checking for an empty selection.
Jim, once again thank you.
Jim, I regret because published this script here.
I think that it is not nice for my part.Thanks, I've included your modified version in the first post of this thread.
-
Dear Jim,
I note that when a named group is deleted it disappears from the list in Outliner, but not from the list in makeNamedGroup+.rb.
Is there any way to update/purge the list when groups are deleted?
Kind regards,
Bob
-
Hi Bob,
I'll have a look at it over the weekend, as well as your earlier message.
-
Dear Jim,
As always, many thanks.
By the way, the polymer base is in manufacture, and so is the load spreader. I am currently working on the details of the drive unit.
Regards,
Bob -
@watkins said:
Dear Jim,
Could you possibly modify your script to include a toggle On/OFF icon so that the box can be made to automatically pop up when a group is created. As it stands, leaving the Entity Info box open on the screen is more convenient. The box automatically popping up would remind the user to name the group, making Outliner easier to use. The toggle OFF option would be useful for those not needing the detail.
Kind regards,
BobIsn't this how it works? The dialog pops-up if you use the Make Group option in the Plugins menu.
-
Dear Jim,
Yes, you are right. I missed the right-click context menu. Apologies for wasting your time.
Thanks,
Bob -
Good news - I found a way to detect when a Group is created. This is cool because now I can pop-up a dialog when the built-in Make Group is used - so there's no need for a separate menu item at all. I'll update when I get through it.
Also, the option can be turned on and off using the Extensions (in Preferences) dialog, or a Toolbar button. Enabled you get a Name: prompt, disabled you get the normal Make Group.
-
Dear Jim,
Excellent news! I do not know why this not a feature of native SU as one needs to name groups if one is to use Outliner effectively.
Remember, weekends are also for relaxing.
Kind regards,
Bob -
Hi Jim,
I've been using the newer edition for a while now. One thing I wish could be done is have the option to cut and paste a name from the drop-down list into the entry box and then modify the name. Or, perhaps, there could be another box in which the drop-down selection is automatically pasted so it could then be modified?
Finally, I believe you have to add a space to "clear" group's existing name, is that correct? Would a "remove name" in the drop-down list (at the top or bottom of it) be helpful?
John
-
Dear John,
I think that Jim is revisiting the script. As I wrote before, I should like to see a group's name disappear automatically from the list when a group is deleted.
Regards,
Bob -
Would anyone be terribly disappointed if it only worked for top-level Groups? Meaning, it wouldn't work if you created a group inside another Group?
-
Dear Jin,
That would be a big advance. I take it that you've hit a brick wall with the more sophisticated version.
Regards,
Bob -
@watkins said:
Dear Jin,
That would be a big advance. I take it that you've hit a brick wall with the more sophisticated version.
Regards,
BobI'm just being lazy.
-
Dear Jim,
Don't worry about the script. I can do all that I need to do by leaving the Entity Info box open. The advantage offered by the new script was a running list of group names. One can also get this info from the Outliner. The new script just offered a more compact way of doing the same thing.
Hope you had a good weekend.
Regards,
Bob -
Ah - there is a plugin like this already. A while a go there was someone asking for this. I didn't find this plugin then an wrote my myself. doh! good thing this is a small script.
-
I can Group an arc but just afterwards context menu options erase sometimes right after using the plugin, which it, I think is when auto save is on.. I've turned off my auto save just now so maybe that will help.
EDIT: I have no idea why Sketchup keeps context menu bugging. Usually I'll just shutdown SU and restart to go back to normal.. Well, I'm going to start picking on other Ruby's.Anyway,
This is a nice way to inference polylines and arcs lines without being so sticky.. and not having to line draw to create a face.. plus I can constrain the line tangentially on opposing edges as with clicking the move command. It is worth a donation..and hopefully sooner than later I'll help you out as you have helped me.Thank you JIM.
.And I'll follow your simply directions for I was not still using group command.
My revised thoughts, to Jim, TomTom, and sketchuanions:
I figure now how Sketchup is even easier than I had imagined with moving an arc tangential to two 90 angle line edges with inferencing.. So the ease of Sketchup fooled me thinking I was using the group name but in reality not sketching any differently. I love NOT having to go through a list of constraints.. Although a constraint button would be nice for a few circumstances.. Although SU has made most automatic.
Dynamic Components is where it all starts!!
-
Thank you so much!
Really really cute little toy! -
thank you Jim
-
Hey, this is very cool plugin - thanks!
Can it remembers the names after closing SketchUP? -
A group's name is stored in its definition and saved with the file.
Advertisement