Announcement

Collapse
No announcement yet.

Script help - Disable Region Render (switch to View)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script help - Disable Region Render (switch to View)

    Hi all,

    I'm wondering if anyone can help to create a very very simple script that will set the max FB region mode OFF and back to View mode AND simultaneously disable Vray's FB Region as well. In other words, when you run the script it will set everything to View mode so it renders the full image. It would be really useful after doing loads of test region renders.

    I tried running the Listener to catch the operations but I don't think it worked.

    I'd like to wrap the script up and have it as a button on the toolbar as well.

    Cheers,
    Alex York
    Founder of Atelier York - Bespoke Architectural Visualisation
    www.atelieryork.co.uk

  • #2
    Here you go:


    macroScript DisableRegionRender category:"_pure_" tooltip:"Disable Region Render"
    (
    setRenderType #view
    renderSceneDialog.update()
    vrayVFBSetRegionEnabled false
    )

    Comment


    • #3
      Originally posted by Crush View Post
      Here you go:


      macroScript DisableRegionRender category:"_pure_" tooltip:"Disable Region Render"
      (
      setRenderType #view
      renderSceneDialog.update()
      vrayVFBSetRegionEnabled false
      )
      Brilliant works perfectly! Many thanks indeed
      Alex York
      Founder of Atelier York - Bespoke Architectural Visualisation
      www.atelieryork.co.uk

      Comment


      • #4
        You're welcome.

        Comment

        Working...
        X