Notifications
Clear all
[Closed] Folder browsing script
Nov 02, 2006 2:33 pm
Hello scriptgurus, I’m learning maxscript for a few days but am interested in a specific result:
I’d like a script to take all textures from a specified folder and apply them to different materials.
Is it possible for maxscript to search a given folder and collect filenames with paths??
Thanks in advance
2 Replies
Nov 02, 2006 2:33 pm
Hi
to collect all jpg in D:\Maps :
Files=getfiles “D:\Maps\*.jpg”
to collects all files in D:\Maps :
Files=getfiles “D:\Maps\.”
look for ‘getfiles’ in MAxscript help
Nov 02, 2006 2:33 pm
Thanks a lot!
Sometimes a solution is right under your toes but somehow…you know the rest:)