Options in render element


#1

Hello !

I’d like to active/de-active option in the render element like “enable filtering” or options in Vray pass (clamp, etc.).
In the 3ds max manual there is no access to the option of a render element. Is it possible?

re.GetRenderElement 0
re.option[1] = true --hope that’d work…

Thank you


#2

show the element , all properties will be printed , it’s basic operation


#3

How do you do it?
showProperties doesn’t work. Can you be more precise? Being a basic operation doesn’t mean I know it :wink:


#4

so you find showProperties , why not find show ?

show (box())

run this , you will find what it is


#5

show (RenderElementMgr)

No Info Found on: RenderElementMgr


#6

You could at least try to read the mxs reference.
%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5


#7

Thanks a lot, that’s totally clear. :slight_smile:


#8

check the example in reference at the bottom of the page


#9

There’s a parameter that I can’t see with the show function. It’s the name of the pass:
name

How can I rename VRaySamplerInfo please?


#10

I think you’ll have to re-open render scene dialog to update the gui

x.elementName = "new name"
renderSceneDialog.update()
renderSceneDialog.commit()
renderSceneDialog.Close()
renderSceneDialog.Open()

#11

Ah yes! Thanks! It was just a question of refresh.
Thanks again!