Maxscript reference...

Hello.

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…

Cheers.

Is this what you’re looking for? Chaos Docs

It is, but this doesn’t give me the names of each of the parameters within the elements :frowning:

I’ll try to provide answer asap…

Thanks :smiley:

Sorry for not the best timing, but I am still looking into this!
What is on the forum is never forgotten. :wink:

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"

)

Oooooh thank you :smiley:

Thank you, old but gold.