Notifications
Clear all

[Closed] UVW unwrap save and load

I’m trying to loop through a large object selection and save there uv’s to a file named after the said object so that I can then import those uv’s to a new scene and apply the uv’s to objects with matching names. I have most of it worked out except this code brings up a dialoge to save the file. I want all that automated by setting the directory and file name in the code. Any ideas? Is it possible


fn uvwUnwrapper = 
( 
for u=1 to uvwArray.count do 
( 
addModifier uvwArray[u] (Unwrap_UVW ())
 uvwArray[u].modifiers[#unwrap_uvw].save () )
 )