Can I assign internal geometry of a multiple groups to a tag at the same time?

Can I assign internal geometry of a multiple groups to a tag at the same time? Or is there an extension that provides such function?
For example i have tags “1”, “2”, “3”… Multiple groups need to be assigned to “1” tag. It’s pretty easy to do. At the same time whole geometry inside every of those groups need to be assigned to that tag as well. Can this process be accelerated and simplified?

All geometry should be created and remain untagged. Only objects (groups and components) should get tags.

Why do you feel you need to assign the tag to the geometry inside the group? What benefit are you expecting from that.

I work for a company that has a very specific client with very specific tasks and instructions. This client wants from us to assign the tag to the geometry inside the group. I found a way to do it in brand new projects, but it is taking to much time to fix this issue in old projects. That is why I asking is there a way to quickly edit that sort of stuf?

it still doesn’t explain why your client wants raw geometry to be tagged, which is, in sketchup, a mistake.
Is there any way you can clarify or attach a model as an example so we can understand what your goal is ?

anyway, are your groups touching each other ? if not, I might have a solution for you

1 Like

If you assign a tag to a group and explode it, what was inside inherits the tag. You can then regroup.

That is the way I discovered, but it is very time consuming in projects with hundrets of groups

Some Ruby wizard might be able to write an extension to do this. The ones I know work in the opposite direction, moving tagged geometry to Untagged.

1 Like

It’s unfortunate that they didn’t tell you this up front before you created hundreds of groups. If they didn’t, I’d consider this a change order and charge them appropriately.

4 Likes

1 Like

Are the groups themselves already assigned tags? If so, it wouldn’t be hard to write a script to automate this task. But if not the code would have to step through the groups one by one and query the user for the tag to apply. That would still be pretty tedious with hundreds of groups.

As the others have noted, I hope your client really understands what they are doing because this practice can lead to confusion and errors in SketchUp.

Thanks to all who responded. I’ll test @mihai.s’s method as soon as I can and present it to my team if it can help us with this task.

It would help if you explained more about your models and why they want this. There may be a simple solution that isn’t obvious because we don’t know the structure or the true end result.
For example, if all the groups are separated it could be as simple as exploding them and then using an extension, Loose to Groups to regroup them and the geometry would retain the Tag previously assigned.

1 Like

Loose to Groups? (Extension Warehouse Link) The groups must not be touching each other.

  1. Apply the desired tag to the groups.
  2. Explode them all.
  3. Run the extension.
1 Like

yes, that’s what I had in mind indeed

1 Like

Thank you all for your help! Looks like Curic Deep Select extension worked for us the best for now. Thaks to @mihai.s in particular for your video. But there is an option to select all geometry of selected groups, not only edges and faces. Than I just assigned tag to selected geometry c:

The only geometry there is in SketchUp is edges and faces. What more do you want to select?

I meant that you can select both at once, not like in the video first faces than edges

Get the select tool and triple click on the group. That’ll open the group for editing and select all of the edges and faces within.


That is closest I can show you what I meant. You know, NDA and stuff.
But imagine ~500-2000 sqft interiors with funiture and what not and all of those in separte groups. And all the geometry in those groups needs to be assigned to corresponding tag. There are always groups that are touching, so Loose to Groups is not an option.
That is why I was looking for the way to optimise this process :exploding_head:

1 Like