Chaos Corona for 3ds Max > [Max] I need help!

Maxscript - LightSelect options

(1/2) > >>

LionelC:
Hi,

How can the option "Include lights not assigned to other LightSelect elements" be ticked using maxscript?

clemens_at:
the property is called ".nodeSource"

example:

--- Code: ---LightSelectRE = getclassinstances CShading_LightSelect
LightSelectRE.nodeSource = 1
--- End code ---

LionelC:
Thank you Clemens.
Appreciate it.

How do you find that kind of information?
I wasn't able to find that information on the doc or using 3ds max script listener.

clemens_at:
I usually run the "showClass" command with an additional "*.*" to get all the properties of that class.

for example:

--- Code: ---showClass "CShading_LightSelect*.*"
--- End code ---


LionelC:
Thank you, that's very helpful.

Navigation

[0] Message Index

[#] Next page

Go to full version