Author Topic: batch convert material  (Read 4349 times)

2016-11-15, 10:52:43

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
Hi all,
this is a script I made based on this thread https://forum.corona-renderer.com/index.php/topic,13700.0.html
I didn't create new conversion methods, it is pure from coronaconverter. http://www.racoon-artworks.de/CoronaConverter/mxsDocumentation.html  by DeadClown or Martin Geupel. so, you must have corona converter to run this script.
note: if you run this script but never run coronaconverter before, you may see coronaconverter appear and disappear vastly. this is okay because this script need coronaconverter struct to be defined first before conversion run.
cheers :)
« Last Edit: 2016-11-17, 07:51:54 by Christa Noel »

2016-11-16, 12:48:30
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13680
  • Marcin
    • View Profile
It seems to work fine, however I encountered some problems:
1. Run the script, close script window, run the script again - it appears, but disappears if you click on background, and also it then misbehaves
2. One time I converted something, then wanted to convert again, but instead of selecting the file I close the "open" window. Then it crashed (was unusable, throwing maxscript errors, etc), but I could not reproduce this later.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-11-17, 07:50:51
Reply #2

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
It seems to work fine, however I encountered some problems:
1. Run the script, close script window, run the script again - it appears, but disappears if you click on background, and also it then misbehaves
2. One time I converted something, then wanted to convert again, but instead of selecting the file I close the "open" window. Then it crashed (was unusable, throwing maxscript errors, etc), but I could not reproduce this later.
hi Maru,
sorry I can't reproduce the first one. any other clue?
and, the second one, yes it gives an error when openfiledialog opened then cancelled without selecting any file but with the "override files" checked.
fixed and i updated attachment. thanx :)