Notifications
Clear all

[Closed] Merging .MS Files

Hey guys,I just used Boujou to create a camera Track file and in return it generated several .ms files which contains camera information…Now there are alltogether 16 .ms files…My question was how could I join all these .ms files into one single .ms file to get the whole camera information with just one script?

Thanks and Regards,
Entrancea

4 Replies

Without seeing the scripts, it’s impossible to know how or if they can be combined and get the desired result… for example… There might be two or more functions that create the same objects…

You could try running them all consecuatively and see what happens…

Put them all in one folder…and try this…


(
TnFiles = getfiles ( "< folder they're in >")
for tnFile in TnFiles do 
	( filein tnFile )
)

Good Luck…

open a cmd.exe and type:

copy *.ms destination.ms

That will concatenate all .ms files into 1 file.

Oh…excellent…thanks guys.Will try it out and see…

Regards,
Entrancea

you could try using the “include” construct – take a look in “Including Scripts within Scripts” in the MXSHelp