mat = $.mat
for prop in (getPropNames mat) do
(
if (superclassof (getProperty mat prop)) == texturemap do
(
tex = (getProperty mat prop)
for item in (getPropNames tex) do
(
if item == #filename do
(
print (getProperty tex item)
)
)
)
)
Running this code, I can get a list of bitmap files used for the selected object.
But how can I get their paths, also if them are missing?
Thanks,
David
barigazy · 2013-07-11