---
title: "Working with VFB Presets"
canonical: "https://documentation.chaos.com/space/APPSDK/706019434/Working%20with%20VFB%20Presets"
format: markdown
---
This page describes the workflows for importing and exporting VFB Presets.


## Overview

---

With App SDK version 7.3, the installation includes the `vfbpresets/` directory. This directory contains a set of ready-made VFB presets - JSON-formatted files containing preconfigured color-correction Layers that achieve a specific color effect. One such preset is displayed in the example images.


## Importing VFB Presets

---

Existing VFB Presets can be loaded using the `loadColorCorrectionsPreset` method of the VRay Renderer’s VFB:


<details>
<summary>Python</summary>

```python
VRAY_SDK = os.environ.get('VRAY_SDK')
presetPath = os.path.join(VRAY_SDK, 'vfbpresets/Autumn Palette.vlpdir')
renderer.vfb.loadColorCorrectionsPreset(presetPath)
```
</details>

<details>
<summary>C++</summary>

```c++
const char *BASE_PATH = getenv("VRAY_SDK");
std::string presetPath = (BASE_PATH ? std::string(BASE_PATH) : std::string(".")) + PATH_DELIMITER + "vfbpresets/Autumn Palette.vlpdir";
renderer.vfb.loadColorCorrectionsPreset(presetPath);
```
</details>

<details>
<summary>C# .NET</summary>

```csharp
renderer.Vfb.LoadColorCorrectionsPreset(Path.Combine(Environment.GetEnvironmentVariable("VRAY_SDK"), "vfbpresets/Autumn Palette.vlpdir"));
```
</details>

<details>
<summary>Node.js</summary>

```javascript
var presetPath = path.join(process.env.VRAY_SDK, 'vfbpresets/Autumn Palette.vlpdir');
renderer.vfb.loadColorCorrectionsPreset(presetPath);
```
</details>


## Exporting VFB Presets

---

New VFB Presets are created based on the active layer configuration. They can then be exported using the `saveColorCorrectionsPreset` method of the VRay Renderer’s VFB:


<details>
<summary>Python</summary>

```python
renderer.vfb.saveColorCorrectionsPreset("./my_preset.vlpdir")
```
</details>

<details>
<summary>C++</summary>

```c++
renderer.vfb.saveColorCorrectionsPreset("./my_preset.vlpdir");
```
</details>

<details>
<summary>C# .NET</summary>

```csharp
renderer.Vfb.SaveColorCorrectionsPreset("./my_preset.vlpdir");
```
</details>

<details>
<summary>Node.js</summary>

```javascript
renderer.vfb.saveColorCorrectionsPreset("./my_preset.vlpdir");
```
</details>