macroScript DR_ToggleOn category:"VRay" tooltip:"Toggle DR On" Icon:#("EditMesh",8) ( ( if matchPattern (renderers.current as string) pattern:"*V_Ray_Adv*" then ( renderers.current.system_distributedRender = true ) else ( messageBox "V-Ray is not the current Renderer" ) ) )