ScriptSpot

Forum topic · General Scripting

How to select all geometry objects except Vray proxy and VrayFur objects?

By tomastnt · 2012-11-18

Description

Hi. Is there any chance to select all object under category geometry:

select geometry as array

except vray proxy?
I know to select all proxy:

max select all
select (for o in selection where classOf o == VRayProxy collect o)

or fur objects and create an array of them. If I would to know to subtract that array minus my geometry array...
I don't know if subtraction is a good idea or if I should do it another way. But how should I do it?
Thanks for all replies.
Tomas

Comments (2)

almost the same...

Anubis · 2012-11-18

select(for o in geometry where classOf o != VRayProxy collect o)

tomastnt · 2012-11-18

Thank you. It works.