Hi Brian, the batch convert is for doing a silent conversion of everything in a folder instead of prompting for files.
It sounds like you want to make a command that will put up 4 prompts to pick 4 filenames? If so then there isn't much applicable from the Batch convert code.
The main code you would want to focus on is the ImportPointFile script from: http://kyticka.webzdarma.cz/3d/moi/#ImportPointFile and you'll want the one that says was updated for OSX, even if you're on Windows. That's the one that uses the newer built in MoI file stream reader.
You'd want to do something like modify the ImportPointFile() function so that it returns back the curve and takes a function argument for the file name prompt. Then instead of just calling that function once at the bottom of the script like it currently does, you'd make a loop that calls that updated function 4 times. Let me know if you're stuck.
- Michael
|