I'm trying to isolate selections for render layers using Operators and expressions. Our pipeline is using a combination of procedurals and Maya nodes so I need to run my operators at the "target" level and not on just the procedural. The issue Im having is that my operator expressions are returning different results when they aren't applied to the procedural. See photos:
The first image works as expected by unchecking visibility on everything but the assets with "bell" in their name. The second image is the same operator applied at the target level. Am I doing something wrong here? Shouldn't the selection still work or do I need a namespace or something?
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
Set the verbosity level to Debug and check what's matched by the selection expression.
At the global level (operator plugged into the options), you are matching the aiStandin and hiding that.
Try something like
/aiStandIn/* and not *bell*
Hi @ ,
Thanks for the tip about checking the logs! For anyone else that may have the same question you need to also exclude the procedurals shape node. The following expression did what I wanted at the global level:
Here you can see why the expression was not working as it grabbed the aiStandIn Shape as well:
Can't find what you're looking for? Ask the community or share your knowledge.