Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] General Discussion => Topic started by: NicolasC on 2017-12-14, 09:34:46

Title: Maxscript access
Post by: NicolasC on 2017-12-14, 09:34:46
Good morning,

Is there any documentation available somewhere about maxscript access to Corona materials parameters, please ? the only thing I found about mxs and Corona is there, but that not what I'm looking for ... https://corona-renderer.com/wiki/maxscript (https://corona-renderer.com/wiki/maxscript)

Thanks in advance,

Regards.
Title: Re: Maxscript access
Post by: Christa Noel on 2017-12-14, 10:02:17
hi NicolasC,
try this
Code: [Select]
showproperties (CoronaMtl())
Title: Re: Maxscript access
Post by: NicolasC on 2017-12-14, 10:29:16
hi NicolasC,
try this
Code: [Select]
showproperties (CoronaMtl())
*self-slapping
It was so obvious indeed ... thank you, I thought it only worked for show renderers.current stuff. Shame on me, thank you Christa Noel :)
Title: Re: Maxscript access
Post by: Christa Noel on 2017-12-14, 10:55:52
you're welcome and yes you can use it in other things too like texmap, modifier, etc
showproperties (coronaCameraMod())
showproperties (coronaBitmap())
showproperties (coronaTriplanar())
...

Title: Re: Maxscript access
Post by: NicolasC on 2017-12-14, 12:01:22
you're welcome and yes you can use it in other things too like texmap, modifier, etc
showproperties (coronaCameraMod())
showproperties (coronaBitmap())
showproperties (coronaTriplanar())
...
Yes, that's what I finally noticed, thank you again for pointing this !