Hi there.
So when you have a compound which contains (say...) a 3d model and some textures,
is there any way to consolidate all files that are used by that compound (models, textures,...),
copy them in a subfolder of that compound
and make the filepaths in that compound relative?
I could imagine some Lua script for that, but maybe mighty Axy already has a solution for this?
Cheers and all the best.
Eric.
Hello again.
Re-thinking this topic, is there a way in Axy for a Lua script to query Compound's values? For example the Import Source property?
In such a way I could step through the compounds I want to consolidate with that script and use os.execute to copy the files to a a new location.
Another idea would be to parse the actual xcomp (xml) file.
But since Lua, even with the proper libraries, feels a bit clumsy with xml, I'd like to avoid that route... :-)
(Plus, I would first have to reverse-engineer the xml structure of the xcomps... :-))
Cheers.
Eric.