Author Topic: REQ: Script to change the 24 Mtl from STD to Corona + Multi/Sub  (Read 3899 times)

2013-05-01, 23:42:32

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Hi all,
I know, there is a lot of work to do before this, but I'm here to ask you if, someone, can write a simple script to :

(*) Clean all 24 mat and and replace the Standard MTL with CoronaMtl
(*) Create on the selected slot a Multi sub/mtl with 10 Corona Mtl

This is very useful for every project and can speedup our workflow.

Just a suggestion...

Thanks :)

2013-05-02, 10:09:24
Reply #1

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
(1) is already implemented as a button in my Material Converter Script :-)
(2): Here you go...
Code: [Select]
meditmaterials[activeMeditSlot] = Multimaterial numsubs:10
for i = 1 to 10 do(
meditmaterials[activeMeditSlot][i] =  CoronaMtl name:("CoronaMtl_" + (formattedprint i format:".2d"))
)
Any sufficiently advanced bug is indistinguishable from a feature.

2013-05-15, 14:13:07
Reply #2

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com