ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
(
UpdateSceneMaterialLib()
local vrayLightMtlArr = #()for m in scenematerialsdo join vrayLightMtlArr (getClassInstances VRayLightMtl target:m)
makeUniqueArray vrayLightMtlArr
local refnodes =#()for m in vrayLightMtlArr do join refnodes (refs.dependentNodes m)
makeUniqueArray refnodes
if refnodes.count>0 do select refnodes
)
Comments
awesome, thank you so much
awesome, thank you so much
Hi,
You can use this:
No doubt. . . .
working 100% :D
Thanks,
Sketchup Master