Notifications
Clear all

[Closed] How to strip all usedMaps() in the scene

Hi Guys,
I try to write a script which will strip and clean all paths in the scene. Including texture, Xref, proxies, HDRI, etc. I can very easy collect all paths in the scene using:

maps_in_scene = usedMaps()
print maps_in_scene
 
"D:\WORK\08 03 20\reflection_city.jpg"
"D:\WORK\08 03 20\city.vrmesh"
"C:\scenes	emp.max"

but is there a way to strip them at once without divide them per classes?
Thank you