# how to load \*vfbl file for hundreds rop render ?

**URL:** <https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643>\
**Category:** General\
**Created:** [January 12, 2021, 12:51pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643 "2021-01-12T12:51:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghiom3d](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@ghiom3d](https://forums.chaos.com/u/ghiom3d)\
**Post date:** [January 12, 2021, 12:51pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/1 "2021-01-12T12:51:05Z")

</div>

hello,

i have many many rop render setup in my houdini file.  
this is design object that i have to render.  
I have setup a beautifull color corection and all with the VFB and save it as a \*vfbl file.

now i can apply this vfbl file to all render by starting an ipr of each one and loading the vfbl file..

but i have hundreds or thousands rop.. i can’t take that time !

Do you know if there is a way to load the vfbl in all rop at a time ?

---

<div class="post-metadata">

**Author:** ![bdancer](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bdancer/32/52257_2.png) [@bdancer](https://forums.chaos.com/u/bdancer)\
**Post date:** [January 13, 2021, 12:08pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/2 "2021-01-13T12:08:57Z")

</div>

There is no built-in functionality for this, but you could copy VFB2 settings parameters with some script.

For VFB2 we’re storing settings at ROP string parameters “ **\_vfb2\_settings** ” and “ **\_vfb2\_layers** ”.  
I guess you’ll be interested in “ **\_vfb2\_layers** ” (for VFB1 we have “ **\_vfb\_settings** ” and “ **\_vfb\_settings\_ext** ”).

Script may look smth like that: [copyVfb2Layers.py · GitHub](https://gist.github.com/bdancer/2ccfe7d2a53a4386fe2b8b4c1c497ae5)

---

<div class="post-metadata">

**Author:** ![ghiom3d](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@ghiom3d](https://forums.chaos.com/u/ghiom3d)\
**Post date:** [January 13, 2021, 1:01pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/3 "2021-01-13T13:01:32Z")

</div>

@bdancer Hi, thanks you a lot, i’m not at all a script or dev man . So i think to understand what you mean and what script say. but where and how to use it it’s another story 🙂

---

<div class="post-metadata">

**Author:** ![bdancer](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bdancer/32/52257_2.png) [@bdancer](https://forums.chaos.com/u/bdancer)\
**Post date:** [January 13, 2021, 2:44pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/4 "2021-01-13T14:44:06Z")

</div>

1. Make a new shelf tool, copy and paste this script there.  
2. Select ROP nodes you want settings **to be copied into** , now select with shift-click the node you want to copy settings **from** - now press the shelf tool button we’ve created in step 1.  
3. Now if you render with any of the selected ROP nodes VFB2 layers should be as in **from** node.

---

<div class="post-metadata">

**Author:** ![ghiom3d](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@ghiom3d](https://forums.chaos.com/u/ghiom3d)\
**Post date:** [January 13, 2021, 4:54pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/5 "2021-01-13T16:54:08Z")

</div>

> [@bdancer](#):
>
> 1. Make a new shelf tool, copy and paste this script there.  
> 2. Select ROP nodes you want settings **to be copied into** , now select with shift-click the node you want to copy settings **from** - now press the shelf tool button we’ve created in step 1.  
> 3. Now if you render with any of the selected ROP nodes VFB2 layers should be as in **from** node.

So easy when you know ! thanks you 🙂

If i change the vfb2 layers of the source rop after this script. it’s applied automaticly or i need to re run the script ?

---

<div class="post-metadata">

**Author:** ![bdancer](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bdancer/32/52257_2.png) [@bdancer](https://forums.chaos.com/u/bdancer)\
**Post date:** [January 13, 2021, 5:20pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/6 "2021-01-13T17:20:53Z")

</div>

\> it’s applied automaticly or i need to re run the script ?

Need to re-run.

---

<div class="post-metadata">

**Author:** ![ghiom3d](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@ghiom3d](https://forums.chaos.com/u/ghiom3d)\
**Post date:** [January 13, 2021, 5:24pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/7 "2021-01-13T17:24:55Z")

</div>

> [@bdancer](#):
>
> \> it’s applied automaticly or i need to re run the script ?
> 
> Need to re-run.

Thanks.. WOuld be great to add in vray ROP a load vfbl file to synch all rop we want without need of a script 🙂

---

<div class="post-metadata">

**Author:** ![ghiom3d](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@ghiom3d](https://forums.chaos.com/u/ghiom3d)\
**Post date:** [January 15, 2021, 1:20pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/8 "2021-01-15T13:20:12Z")

</div>

> [@bdancer](#):
>
> 1. Make a new shelf tool, copy and paste this script there.  
> 2. Select ROP nodes you want settings **to be copied into** , now select with shift-click the node you want to copy settings **from** - now press the shelf tool button we’ve created in step 1.  
> 3. Now if you render with any of the selected ROP nodes VFB2 layers should be as in **from** node.

Hello @bdancer , isn’t working.

What i do wrong ?

First a select all the rop on the left (1) with a rectangle selection.  
Second, a shit click on the rop alone on the right ( 2 )  
Then, i hit the button i created in the shelf bar to start this script you give to me ( 3 )

 ![2021-01-15_14-16.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/7/a/7af058b91e25126906ccf7dd9a31ad042b4d5dc4.png)

when i render the other rop , the layers are differents than the rop of step 2 .

---

<div class="post-metadata">

**Author:** ![ghiom3d](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@ghiom3d](https://forums.chaos.com/u/ghiom3d)\
**Post date:** [January 15, 2021, 4:05pm UTC](https://forums.chaos.com/t/how-to-load-vfbl-file-for-hundreds-rop-render/102643/9 "2021-01-15T16:05:21Z")

</div>

@bdancer yes that was like that before i reorganise the nodes to take the screen shot.  
I will retry this later this week end.
