Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: SRY on 2023-06-12, 04:38:31
-
re = maxOps.GetCurRenderElementMgr()
re.addRenderElement (Elementlist elementname:Namelist CMasking_ID:#Material_ID)
but It doesn't work, I don't know how to write this part: CMasking_ID:#Material_ID
-
try this:
re = maxOps.GetCurRenderElementMgr()
re.addRenderElement (myRe=(CMasking_ID elementname:"CMasking_ID"))
myRe.what = 3
-
thank you very much. How should I deal with a similar situation when I can't find it by interface or property.
-
From https://forum.corona-renderer.com/index.php?topic=39495.msg210330#msg210330 (https://forum.corona-renderer.com/index.php?topic=39495.msg210330#msg210330):
I usually run the "showClass" command with an additional "*.*" to get all the properties of that class.
for your example:
showClass "CMasking_ID*.*"
-
From https://forum.corona-renderer.com/index.php?topic=39495.msg210330#msg210330 (https://forum.corona-renderer.com/index.php?topic=39495.msg210330#msg210330):
I usually run the "showClass" command with an additional "*.*" to get all the properties of that class.
for your example:
showClass "CMasking_ID*.*"
Oooooh that's a nice little hack.
I normally spam each of show interface/interfaces/class/method/properties until I get something useful
-
Invalid ,Inconceivable!
-
Hi @SRY
This code seems to work fine for me
showClass "CMasking_ID*.*"
Make sure you are copy pasting it right.