Notifications
Clear all
[Closed] Get all textures that are classof VrayDirt
May 14, 2015 6:41 pm
Hello,
I need some help with collecting all the scene’s vrayDirt textures. I get stuck on the class of “textures”
for t in textures where classof t == VRayDirt do t.subdivs = 100
I’m not sure how the class “textures” is called.
Any help would be appreciated
Thanks
5 Replies
2 Replies
fn setDirtValue value: =
(
if (dirt = getclassinstances VRayDirt).count > 0 do
(
for d in dirt do d.subdivs = value
)
)
setDirtValue value:100
2 Replies