AWS Thinkbox Discussion Forums

automate prt creation advice

I’m trying to add prt loaders based on a file in Maxscript. How would you do this construction? I already found a bug (I think).

prtL = KrakatoaPRTLoader pos:[100,100,100] showIcon:false filelist:#("C:\test_0000.csv")

This doesn’t correctly size the VR flags and checkboxes so it throws errors in the UI after what looks like a successful creation. Considering how fragile this method of construction is, what is the recommended way of adding PRT loaders? I need to set the files, the percentages, the icon, and “use node transform”, and possibly other settings. Or should these UI routines just have better validation code?

Thanks,
Ben.

Try to attached update, it will attempt to handle the fileListFlags automatically as you set the fileList: in the constructor or by setting the .fileList property.
Please back up your original KrakatoaPRTLoader.ms file and let me know if it solves the problem.

All other properties should work as expected.
KrakatoaPRTLoader_20120103.zip (16 KB)

Privacy | Site terms | Cookie preferences