Hi
it is possible to invert selection in light group?
Need to use all light in scene but turn off concrete light source for concrete object in procedural ass
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
You can do something like this:
*.(@type=='light') and not '/obj/fill_FLOWER'
Not work
00:00:03 753MB | [operators] init op: '/out/set_parameter4'
00:00:03 755MB | [operators] cook op: '/out/set_parameter4' | node: '/obj/procedural1/procedural'
00:00:03 755MB WARNING | [assignment] unable to process parameter "light_group": light_group = *.(@type == 'light') and not '/obj/fill_FLOWER'
or
00:00:04 380MB WARNING | [assignment] cannot set user parameter "*.(@type" without type declaration: *.(@type=='light') and not '/obj/fill_FLOWER'
if not use "light_groups="
Thanks for help Stephen,may i ask you wrote more precisely what you mean please, because I not perfect understand what you mean, if i use it for selection in set parameter this is do same as disable operator, if i use in for collection and than use collection name for light_group = - it will get same warning as before
Thanks
Use a Selection expression like this:
*.(@type=='light') and not /aiSkyDomeLight1/aiSkyDomeLightShape1
For example, that will select all lights except for the light named /aiSkyDomeLight1/aiSkyDomeLightShape1
Thanks, but as I wrote above this method is work like Disable operator, and turn off light source for all scene, in my case need turn it off for one specific shape inside ass assemble
So, you don't want to invert the selection.
You want to select one specific object? Then can't you just select it by name?
I see. I didn't understand the text of the question.
light_group has to be a list of specific light names. No wildcards.
"I didn't understand the text of the question. " - Sorry.
So operators can create list of light only need to lighting specific polymesh, and cant exception lights from polymesh lighting ?
The light_group is a list of specific lights, and all those lights will light the object.
light_group is not like tracesets, where you can tobble between inclusive/exlusive. light groups are always inclusive
So, with operators, you cannot invert a light_group