I’m searching to replace the recently removed efficient method of creating a new tag from the entity info window on Mac.
In my mind it would work like this:
Select a component
Right click to access context menu
Choose option “Create Tag from Selection”
The extensions reads the existing name of the component, creates a new tag with the same name, assigns the selected component to that tag.
I have no idea if this process is open to the API or if this is possible. Has anyone seen a tag creation extension that does this or anything similar ?
I don’t know of an existing one, but that wouldn’t be hard to write. The necessary calls are in the Ruby API. On my phone now, so I can’t code. If nobody chimes in I may give it a shot later.
I see, that would still be a help. Perhaps ideally it could open a dialogue for renaming that is pre-populated with the component name and pre-selected text. So one could simply press return to use the component name, or start typing to make a new name.
But I’d be very grateful for a version in any form. Thanks everyone.
I suppose the insertion of a conditional expression to devine if the selection was a single object and it was a component or group, then the default for the input box could be set to the name.
Would you use the instance name or the definition name ? or check 1st the instance and if empty then the definition ?
Currently it just works upon all elements in the selection, ie … expecting a multiple selection.
@colin This thread will also be relevant for the work you plan to do with Tags… Between @dezmo and @eneroth3 you may be closer to a solution than first thought. Power of the community!