Author Topic: CMasking renderelement´s manual selection is not saved in renderpreset  (Read 2346 times)

2016-03-14, 16:57:20

jan

  • Active Users
  • **
  • Posts: 15
    • View Profile

2016-04-09, 14:43:56
Reply #1

jan

  • Active Users
  • **
  • Posts: 15
    • View Profile
SOLVED - just recognized that Max doesn´t save object lists in renderpresets at all - so it´s the same for include/exclude lists in Material Override.
It´s not a bug in Corona, it´s a feature of Max - Render-/Passesmanagement within Max is just frustrating...

2016-04-10, 16:39:46
Reply #2

rfletchr

  • Active Users
  • **
  • Posts: 41
    • View Profile
all of corona's objects expose their properties to maxscript (as do regular render elements)

if you execute something like

Code: [Select]
ele = CEssential_Direct()
arrElementProperties = getPropNames ele

for propName in arrElementProperties do
(
propValue = getProperty ele propName
propClass = (classof propValue)
format "Property Name:% \n\tProperty Value:% \n\tProperty Class:%\n" propName propValue propClass
)

you can collect this data and serialize it
We have an XML serializer/deserializer I've been developing at work which we use in place of render presets.