---
name: "BIS_fnc_exportGUIBaseClasses"
type: function
status: broken
groups: ["GUI", "Diagnostic", "Broken Functions"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_exportGUIBaseClasses
revid: 347871
updated: 2023-10-30T17:00:13Z
---

# BIS_fnc_exportGUIBaseClasses

*Function · GUI, Diagnostic, Broken Functions · Arma 3 v1.00*

> [!WARNING]
> This function is listed as broken on the wiki.

## Description

Export GUI macros and base classes to the clipboard.

> [!CAUTION]
> This information is **obsolete**. the import keyword was introduced.

> [!WARNING]
> The exported the Eden Editor base classes have several inheritance issues.
> If you need the base classes you can get them [**here**](https://github.com/LarrowZurb/A3_GUI_Defines).

## Syntax

```sqf
mode call BIS_fnc_exportGUIBaseClasses
```

**Parameters:**

- `mode`: [String](../topics/String.md) - mode, **case-sensitive**; can be one of:
  - `"Default"` - classic base classes like `RscText` or `RscPicture`
  - `"3DEN"` - Eden Editor base classes like `ctrlStatic` or `ctrlStaticPicture`
  - `"all"` - all GUI base classes, including more exotic ones

  > [!IMPORTANT]
  > All modes are case sensitive. If the capitalisation is disregarded the function will default to the "all" mode.
  > In fact there is no explicit "all" mode, rather it is the fallback if the mode is not one of "Default" or "3DEN".

**Returns:** [String](../topics/String.md) - `.hpp` file content to be included in [Description.ext](../topics/Description.ext.md), also copied to the clipboard

## Examples

### Example 1

```sqf
"all" call BIS_fnc_exportGUIBaseClasses;
```

## See also

Arma: GUI Configuration · Arma 3: Utilities

## Community notes

**Killzone_Kid** — 2018-09-28

You can use Arma 3: Utilities to get the base class for your mission config.
For example if you need `RscPicture` base, enter **utils 2** in the debug console and click **LOCAL EXEC**, type `RscPicture` and press Enter, check **Include Inherited** box, then click **COPY**.
The config is now copied to Clipboard and you can paste it in your [description.ext](../topics/Description.ext.md) and then derive your class from it.

<sub>Source: [BI Community Wiki — BIS fnc exportGUIBaseClasses](https://community.bistudio.com/wiki/BIS_fnc_exportGUIBaseClasses) (revision 347871).</sub>
