---
name: "BIS_fnc_exportEditorPreviews"
type: function
status: ok
groups: ["Diagnostic"]
arma3_since: "1.60"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_exportEditorPreviews
revid: 370758
updated: 2025-02-06T22:25:56Z
---

# BIS_fnc_exportEditorPreviews

*Function · Diagnostic · Arma 3 v1.60*

Locality: executed with **spawn**

## Description

Export screenshots of objects for Eden Editor and Community Wiki to `<Arma 3 Profile>\Screenshots\EditorPreviews` directory. See Arma 3 assets.

> [!NOTE]
> The file is saved into *Screenshots* folder in the Profile directory. The folder is by default limited to 250 MB to prevent abuse.
>
> To increase the limit, add the following line at the end of the profile file:
>
> ```cpp
> maxScreenShotFolderSizeMB = 2000; // size in MB
> ```

## Syntax

```sqf
[duration, type, sides, mods, addons, classes] spawn BIS_fnc_exportEditorPreviews
```

**Parameters:**

- `duration`: [Number](../topics/Number.md) - (Optional, default 1) duration in seconds for which an objects remains on the screen before its screen is captured
- `type`: [String](../topics/String.md) - (Optional, default "all") can be one of:
  - "vehicles" - only characters and vehicles will be used
  - "props" - only props will be used
  - "all" - all objects will be used
- `sides`: [Array](../topics/Array.md) of [Side](../topics/Side.md)s - (Optional, default all sides) list of sides. Only objects of these sides will be used
- `mods`: [Array](../topics/Array.md) of [String](../topics/String.md) - (Optional, default all mods) list of CfgMods classes. External mods should be prefixed with "@". Only objects belonging to these mods will be used
- `addons`: [Array](../topics/Array.md) of [String](../topics/String.md) - (Optional, default all addons) list of CfgPatches classes. Only objects belonging to these addons will be used
- `classes`: [Array](../topics/Array.md) of [String](../topics/String.md) - (Optional, default all classes) list of CfgVehicles classes. Only these objects will be used

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
// All objects
[] spawn BIS_fnc_exportEditorPreviews;
```

### Example 2

```sqf
// All characters and vehicles. Capturing delay will be 0.5 seconds
[0.5, "vehicles"] spawn BIS_fnc_exportEditorPreviews;
```

### Example 3

```sqf
// BLUFOR characters and vehicles
[nil, "vehicles", [west]] spawn BIS_fnc_exportEditorPreviews;
```

### Example 4

```sqf
// Props in Karts DLC
[nil, "props", [], ["kart"]] spawn BIS_fnc_exportEditorPreviews;
```

### Example 5

```sqf
// All objects in specified addons
[nil, "all", [], [], ["A3_Armor_F_Slammer", "A3_Air_F_Heli_Heli_Transport_03"]] spawn BIS_fnc_exportEditorPreviews;
```

### Example 6

```sqf
// BLUFOR characters and vehicles in Marksmen DLC
[nil, "vehicles", [west], ["mark"]] spawn BIS_fnc_exportEditorPreviews;
```

### Example 7

```sqf
// Only the B_Soldier_F
[nil, "all", [], [], [], ["B_Soldier_F"]] spawn BIS_fnc_exportEditorPreviews;
```

### Example 8

```sqf
// Props in CBA
[nil, "props", [], ["@cba_a3"]] spawn BIS_fnc_exportEditorPreviews;
```

## See also

[screenshot](../commands/screenshot.md) · Eden Editor: Configuring Asset Previews

<sub>Source: [BI Community Wiki — BIS fnc exportEditorPreviews](https://community.bistudio.com/wiki/BIS_fnc_exportEditorPreviews) (revision 370758).</sub>
