x


Hierarchy search "NOT" modifier?

I'd like to search for all gameobjects in the scene Hierarchy that do not contain a specific string. Is this possible?

For example something like "NOT door" would filter the Hierarchy to display every item that does not have "door" in their names. AFAIK "NOT" doesn't work as an argument, neither does "-" (the dash character).

Thanks!!

more ▼

asked Feb 25 '12 at 03:06 AM

Eric Chadwick gravatar image

Eric Chadwick
1 1 2 2

One word- why? There has to be a better way.

Feb 25 '12 at 03:07 AM syclamoth

I have meshes for lightmapping only, not in-game rendering, which are named with the same prefix as their renderable counterparts (walls, floors, etc.) plus the postfix "_SelfIllum". For example: mesh "Wall01A_SelfIllum" casts light onto mesh "Wall01A".

I would like to exclude all these "_SelfIllum" meshes from the list, so I could easily select all the renderable meshes.

Take a list consisting of: Wall01A, Wall01A, Wall01A, Wall01A_SelfIllum, Wall01A_SelfIllum, Wall01A_SelfIllum, Wall01B, Wall01B. How do I quickly select the three Wall01A meshes and the two Wall01B meshes, without selecting the three _SelfIllum meshes?

If I have a giant list with hundreds of each of these names, then manually selecting the desired ranges becomes a labor-intensive task. Limiting the display with booleans (or better yet, regular expressions!) would make this a simple task.

Is there a better way?

Feb 28 '12 at 05:31 PM Eric Chadwick

If you mean you want to do this at design-time, using the search field at tjhe top of the hierarchy tab, then this seems like a good idea for a feature, but it's not one that currently exists.

If you mean at run-time, then I implore you not to do this, but to find a better way.

Feb 28 '12 at 05:39 PM WillTAtl

OK, thanks for the reply. It's needed at design-time only. Hopefully a feature for the future. Will see if I can script something short-term.

Mar 14 '12 at 08:55 PM Eric Chadwick
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x419
x240
x149
x44

asked: Feb 25 '12 at 03:06 AM

Seen: 446 times

Last Updated: Mar 14 '12 at 08:55 PM