[Plugin] Name Group on Creation
-
@plot-paris said:
quite handy.
but sometimes I dont want to name a group (for example if it is just temporary). I do know nothing about programming. but is it possible to write a ruby, that lets the cursor appear within the group's name in the outliner after creation instead of popping up a new window?that would be the perfect solution for me...
Just tapping the Enter key will make the dialog go away and name the group "Group". There is no way to select the group in the outliner for editing. (At least from Ruby.)
-
Thanks Jim, I changed my shortcut for grouping to your script.
Question: Is it possible to have the Input Box "remember" its last position? Sometimes the input boxes can coverup the area you are working on and I want to move them out of the way.
-
it should ideally prompt in the VCB only
-
@jclements said:
Thanks Jim, I changed my shortcut for grouping to your script.
Question: Is it possible to have the Input Box "remember" its last position? Sometimes the input boxes can coverup the area you are working on and I want to move them out of the way.
Yes, but only if I switch it to use a WebDialog. Which I will do a little later just for kicks.
-
@a4chitect said:
it should ideally prompt in the VCB only
I quite like this idea - no dialog at all. I'll try this too.
EDIT: Unfortunately, this can't be done. Anyone guess why?
-
Going strictly on (sometimes faulty) memory, I think VCB input is only available to tools.
-
@rickw said:
Going strictly on (sometimes faulty) memory, I think VCB input is only available to tools.
True, and also any key shortcut you hit while typing the name will exit the Tool anyway.
-
sorry for not checking myself first... thanks for looking into it
-
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. -
Can this be used commercially?
-
-
Thanks!Jim!
-
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,
Bob -
@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.
Advertisement