I’m trying to build some scripts to replace the ones I had for vray. Is there a comprehensive maxscript reference for Corona anywhere?
I’m trying to generate render elements but the maxscript listener doesn’t want to spit out any properties as I change them. Is this just me? Am I missing something? I’m just trying to guess at the moment…
clearListener()
re = MaxOps.GetCurRenderElementMgr ()
CoronaRenderElements = for c in RenderElement.classes where c.category == #Corona collect c
for element in CoronaRenderElements do (
elementRef = element()
format "------------ % -------------------\n" (element as string)
for prop in getPropNames elementRef do (
format "% : %\n" prop (classof (getProperty elementRef prop))
)
re.AddRenderElement elementRef
format "\n"
)