I’m using “GetClassInstances” a lot to get textures by class, but I’m having trouble using “Refs.dependents”, basically the function I do is pass the input of this texture taken with “getClassInstances” to the input of the next texture , just removed that texture from the nodes but continuing the sequence.
The image exemplifies the result I want. Only using “GetClassInstances” and not $.material.slotnode…
the code I’m trying is something like this:
CCCMaps = getClassInstances CoronaColorCorrection
for CCCcount = 1 to CCCMaps.count do
(
refs.dependents CCCMaps[CCCcount] = CCCMaps[CCCcount].Map
)
Thanks your attention.

