# manage Vray VBF region on/off via maxscript ?

**URL:** <https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532>\
**Category:** Issues\
**Created:** [March 23, 2010, 3:18pm UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532 "2010-03-23T15:18:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subburb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/subburb/32/70505_2.png) [@Subburb](https://forums.chaos.com/u/Subburb)\
**Post date:** [March 23, 2010, 3:18pm UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/1 "2010-03-23T15:18:03Z")

</div>

hello,  
Well all is in the subject…  
Is there a maxscript command to set on/off the Vray VFB region render ?

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [March 23, 2010, 4:11pm UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/2 "2010-03-23T16:11:45Z")

</div>

unless it’s been added of late, there’s no way i know of to do anything with the VRay VFB.

---

<div class="post-metadata">

**Author:** ![robdeja](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/robdeja/32/235076_2.png) [@robdeja](https://forums.chaos.com/u/robdeja)\
**Post date:** [March 24, 2010, 11:07am UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/3 "2010-03-24T11:07:34Z")

</div>

The vray frame buffer region is always something that catches me out when submitting jobs through deadline (which subsequently fails the job) due to forgetting to turn it off. If there was a maxscript command I could incorporate a check for this on job submission…

---

<div class="post-metadata">

**Author:** ![percydaman](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/percydaman/32/42214_2.png) [@percydaman](https://forums.chaos.com/u/percydaman)\
**Post date:** [March 24, 2010, 11:08am UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/4 "2010-03-24T11:08:21Z")

</div>

totally agreed. I’ve been burned by this a couple of times.

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [March 24, 2010, 11:27am UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/5 "2010-03-24T11:27:54Z")

</div>

From my time at Frantic, i did do some internal work on deadline and the max submitter to cure the VFB issue, but i left before we got to a reliable solution, and had no news of the thing afterwards.  
Let me tell you it was not trivial, as much as it may seem so on a first look.  
Do mail the deadline dev team, and refresh their memory on this particular uissue, though, and they’ll get it fixed.

---

<div class="post-metadata">

**Author:** ![robdeja](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/robdeja/32/235076_2.png) [@robdeja](https://forums.chaos.com/u/robdeja)\
**Post date:** [March 24, 2010, 12:31pm UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/6 "2010-03-24T12:31:37Z")

</div>

hmmm yes, I imagine that without access to the vfb region propeties via maxscript it would be no trivial task to work the issue out. But with access to these properties it shouldnt be so hard.

Just a quick look at the vray properties throws up the following:  
.output\_renderType : integer  
.output\_regxmin : integer  
.output\_regxmax : integer  
.output\_regymin : integer  
.output\_regymax : integer

I never noticed these before…

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [March 24, 2010, 12:34pm UTC](https://forums.chaos.com/t/manage-vray-vbf-region-on-off-via-maxscript/23532/7 "2010-03-24T12:34:07Z")

</div>

There, something HAS indeed been added 😛  
Well, it’s my fault for being away from the scene for a while 😛
