Hi
Does anyone know how to merge a specified file to you current
maxscene via maxscript? Pref. triggered by a button.
BR,
Aplomo
Forum topic · General Scripting
By Aplomo · 2007-09-20
Hi
Does anyone know how to merge a specified file to you current
maxscene via maxscript? Pref. triggered by a button.
BR,
Aplomo
crazyosachou · 2007-10-13
that is the function to save/load/merge files:
--Save :
saveMaxFiles "c:/temp/test.max" --specified link
--u can also save only specified objects in other file :
saveNodes $specified_object "c:/temp/file_name"
--when u want to get the local floder of u'r max file
--just tape :
saveNodes $specified_object (getDir #scene + "/file_name")
--load :
loadMaxFile "c:/temp/file_name.max"
--merge:
mergeMaxFile "c:/temp/file_name.max"
-----------------------------------------------------
--Node: care to not harm an existent file cause max don't
--ask u that there's another file with same name
--Hope it'll help u.