# VFB mel or python commands

**URL:** <https://forums.chaos.com/t/vfb-mel-or-python-commands/45844>\
**Category:** Issues\
**Created:** [July 26, 2013, 6:17pm UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844 "2013-07-26T18:17:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_furious](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mr\_furious](https://forums.chaos.com/u/mr_furious)\
**Post date:** [July 26, 2013, 6:17pm UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844/1 "2013-07-26T18:17:19Z")

</div>

Hey all,

I want to load a custom LUT into the VFB, and flip a few of the buttons buy default. What are the mel or python commands to access the VFB? or where can i find them? Bascially making a 1 button custom lut application thingy.

here’s what i want to do.

1. insert string in to the LUT Color Correction  
2. uncheck the convert to log space lut  
3. turn on LUT button on the bottom of the viewer.  
4. turn off sRGB button if activated.

thanks!

Andy

---

<div class="post-metadata">

**Author:** ![mr\_furious](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mr\_furious](https://forums.chaos.com/u/mr_furious)\
**Post date:** [July 26, 2013, 6:53pm UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844/2 "2013-07-26T18:53:36Z")

</div>

found it!

vray vfbControl (mel command)

---

<div class="post-metadata">

**Author:** ![mr\_furious](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mr\_furious](https://forums.chaos.com/u/mr_furious)\
**Post date:** [July 26, 2013, 7:01pm UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844/3 "2013-07-26T19:01:30Z")

</div>

doh!

doesn’t look like there is a mel command to uncheck “Convert to log space before applying LUT”

is there? vlado help?

A

---

<div class="post-metadata">

**Author:** ![tashko.zashev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tashko.zashev/32/275280_2.png) [@tashko.zashev](https://forums.chaos.com/u/tashko.zashev)\
**Post date:** [July 30, 2013, 2:55pm UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844/4 "2013-07-30T14:55:50Z")

</div>

Hi Andy,

It seems that “Convert to log space before applying LUT” VFB option is not exposed to MEL.  
I will make a note about it.

---

<div class="post-metadata">

**Author:** ![npg](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/npg/32/74563_2.png) [@npg](https://forums.chaos.com/u/npg)\
**Post date:** [July 31, 2013, 10:34am UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844/5 "2013-07-31T10:34:46Z")

</div>

> [@Ignore opacity for MultiMatte element](https://forums.chaos.com/t/ignore-opacity-for-multimatte-element/41594/2):
>
> doh!
> 
> doesn’t look like there is a mel command to uncheck “Convert to log space before applying LUT”
> 
> is there? vlado help?
> 
> A

Hi,

The next nightly (01.08 ) should enable you to do that with “vray vfbControl -lutlin2log on”

---

<div class="post-metadata">

**Author:** ![mr\_furious](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mr\_furious](https://forums.chaos.com/u/mr_furious)\
**Post date:** [July 31, 2013, 5:45pm UTC](https://forums.chaos.com/t/vfb-mel-or-python-commands/45844/6 "2013-07-31T17:45:40Z")

</div>

awesome! thanks so much! hopefully you’ve added controls for all of the checkboxes in the gui. 🙂 i don’t need them now but having the access is nice!

thanks so much!

Andy
