I’m looking for a way to set the maximum bounces used for rendering reflections (default value is 4) in my plugin code.
As of my understanding, the render settings are bound to a document. I need a way to overwrite this setting automatically with my plugin, because my users will load arbitrary CAD files and would have to manually adjust this setting every time. I would like to maximize the workflow for a user in this regard.
I did not find anything in the RhinoDoc.RenderSettings objec, but maybe there is some otherway.
-_DocumentProperties _Render _RhinoRenderSettings _ReflectivityBounces 1 _Enter _Enter _Enter should work, but it appears there is currently a bug with the RhinoRenderSettings part of the command implementation, so the reflectivity bounces settings doesn’t seem to stick. Reported as RH-45613.