Notifications
Clear all

[Closed] access MR param in standard material

Hello people,

Is it possible to acces the MR parameters of a standart material by script (the MR connection rollout) ?
I couldn’t find it in the doc, as it seems the MR material features are for full MR materials, not the MR connection. Or did I misunderstood something ?

what I’d like to do is change by script the MR displacement value.

thanks for your help !

Jerome

1 Reply

Found.
I had forgotten that I could just turn the macro recorder on and look at the name of the parameter.
“mat.mental_ray__material_custom_attribute.Displacement.fullDisplaceLength” is what I was looking for.

Jerome