access texturemap from VRayDirt
Hi I have a problem for getting texturmap from vraydirt that already inside some object.if i using $.material.diffusemap.vraydirt.texmap_occluded_color.bitmaptexture.filename
it result error Unknown property: "texmap_occluded_color" in .
I would be realy greatfull if someone could help me to solve this problem since i have so many material i have to change.

Comments
oh, it's Ok Branko... I hope
oh, it's Ok Branko...
I hope to see you to optimize this method. If you don't mind :)
I just think it could use a INI file or xml to handle Memory allocation.
...
Ok. I have a suggestion.
Open new thread and then we can start a discussion about universal solution (fn) which can be related to any map or material type.
First we have to setup basic concept (what we need to do in order to solve the problem) without snippets.
This fn must found all fileNames in (Bitmap, VRayHDRI, VRayBmpFilter etc.) of specified map class (VRayDirt, Noise, Composite, ColorCorrection etc.) assigned to the any material (Standard, VRayMtl, Arch&Design, Blend, Multimaterial etc.)
Also are we need to consider only selected objects or whole scene
Uh... :)
Are you agree?
bga
agreed :)
ok, I open new thread Here
btw sorry if I long to comment because there is something I have to do.
Hi.. try this one You don't
Hi..
try this one
You don't need to write 'vraydirt' and 'bitmaptexture', such as:
...
If you have many objects and you want to collect all maps in VrayDirt map then
u can try this. Also this works only if dirt map is in diffuse slot of VRayMtl
bga
...
Function will be more complex if you need to support different material types and any map slot.
bga
If you can understand the
If you can understand the script from barigazy, it is good to be applied.
...
Hey Budi
how about more complex solution ei. "collect all DIRT maps from selection". :)
Post if you have something and we can talk about
bga
I have this one
This is Collect v dirt of diffuse map only
do you want optimize it ? :)
...
bga