How to get all displayed objects?

   1043   2   1
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
Hi,

I render an isolated object named “myobj” and force other displayed objects as matte. And there are also hidden objects in hierarchies(keep for future use).
The problem is if I give “* ^myobj” to Force Matte parm, all hidden objects become matte.
Is there any way to get all non-hidden objects at once?

Thanks for any hint!
Edited by jerry7 - July 2, 2020 00:32:48
User Avatar
Member
73 posts
Joined: March 2020
Offline
The display flag is often changed while you are working on a scene and is not a robust way of indicating if an object should be hidden because you don't need it now but might need it in the future. It's probably better to adopt a naming scheme for such objects, e.g. using a prefix like “unused_”. This lets you write “unused_*” for the Exclude Objects param in the Mantra node to ensure that these objects are always ignored.
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
ziconic
The display flag is often changed while you are working on a scene and is not a robust way of indicating if an object should be hidden because you don't need it now but might need it in the future. It's probably better to adopt a naming scheme for such objects, e.g. using a prefix like “unused_”. This lets you write “unused_*” for the Exclude Objects param in the Mantra node to ensure that these objects are always ignored.

Thank you for this useful suggestion!
  • Quick Links