Camera clipping user interface implemented. When the camera clipping is enabled with a script the appropriate UI controls (Clipping Near, Clipping Far) are listed in the Camera settings rollout
Hi,
I don’t understand how to get access to the new controls?
import rhinoscriptsyntax as rs
import System
rv = rs.GetPlugInObject(“V-Ray for Rhino”).Scene().Plugin(“/RenderView”)
rv.Param(“clipping”).Value = System.Boolean(True)
you should be now able to see the UI controls in the Asset Editor's Camera Settings - see attached image.

Great, thank you. Could it be possible to get a button which enable all advanced features? Maybe at the VfR toolbar? So, your advanced users could get a full interface with all the handy nice features.
Could it be possible to get a button which enable all advanced features? Maybe at the VfR toolbar?
Please, not all of us know how to script. But advanced users need those tools.
Yes there is. There is a method called ‘RefreshUI’ you can call to push the changes to the UI
As an alternative you can make a transaction that will automatically push the changes
Also the script is using the old syntax. There is a wrapper python module in the installation that hides the details and makes it quite clean & neat to script V-Ray:
import rhVRay as vray
vray.Scene.RenderView.clipping = 1
vray.RefreshUI()
If you prefer the transaction way
import rhVRay as vray
vray.Scene.BeginChange()
vray.Scene.RenderView.clipping = 1
vray.Scene.EndChange()
I’ll make some changes to how the transactions work in the future releases, so it is even cleaner, neater and more intuitive