I am trying to organize a usd where all primitives containers are xforms so I can easily change them with configure primitive LOP using expressions.
Taking in consideration this tree:
/House
-/Door
--/Door Nob 1
---/mesh_0
--/Door Nob 2
---/mesh_0
-/Bed
--/Mattress
---/mesh_0
How can I target primitives that only has one descendant or the ones that contains the mesh through expressions?
I know that I have the "Descendant" number for each primitive, can I use that to target my selections? If so how?
I hope my graph makes sense.
Thanks.
