# Vray in MEL

**URL:** <https://forums.chaos.com/t/vray-in-mel/27460>\
**Category:** General\
**Created:** [March 8, 2011, 3:25pm UTC](https://forums.chaos.com/t/vray-in-mel/27460 "2011-03-08T15:25:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bencowell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bencowell/32/70149_2.png) [@bencowell](https://forums.chaos.com/u/bencowell)\
**Post date:** [March 8, 2011, 3:25pm UTC](https://forums.chaos.com/t/vray-in-mel/27460/1 "2011-03-08T15:25:59Z")

</div>

Hello,

Perhaps I’m being an idiot, but is there a help file somewhere listing all the Vray settings that can be controlled via MEL ?.

I’m trying to turn on and off region rendering using MEL but can’t find a list of all the attributes anywhere on the web or in the documentation.

cheers  
ben

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [March 8, 2011, 4:08pm UTC](https://forums.chaos.com/t/vray-in-mel/27460/2 "2011-03-08T16:08:17Z")

</div>

If you are using the region rendering in the Maya render view, then you can turn it off from there.

If you are using the region rendering in the V-Ray VFB, then the only thing to do for the moment is to clear the “vfbSettingsArr” attribute right after opening a scene and before any rendering:`setAttr vraySettings.vfbSettingsArr -type Int32Array 0;`

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![bencowell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bencowell/32/70149_2.png) [@bencowell](https://forums.chaos.com/u/bencowell)\
**Post date:** [March 8, 2011, 4:23pm UTC](https://forums.chaos.com/t/vray-in-mel/27460/3 "2011-03-08T16:23:03Z")

</div>

Thanks Vlado, I’ll give that a try .. is there any documentation on access to Vray via MEL / Python .. ?,  
cheers  
ben

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [March 8, 2011, 6:12pm UTC](https://forums.chaos.com/t/vray-in-mel/27460/4 "2011-03-08T18:12:30Z")

</div>

At the moment - no; the MEL functions for V-Ray were created mainly for our internal use. Although you can also use them for what you need, currently we can’t make any commitments as to their support. If you need information on how to do something specific, it would be best to ask here; you can also look at the MEL scripts included with V-Ray for an example how to use many of the functions.

Best regards,  
Vlado
