| Python Script Engine 8.3 GL Studio Editor Python Script API

Public Member Functions | Static Public Member Functions | List of all members
GlsVMFImporter Class Reference

## Public Member Functions
Group * | Import (String filename, Document doc, bool reposition, float scale)

## Static Public Member Functions
static GlsVMFImporter & | GetInstance (void)

## Detailed Description

Plug-in used to import VMF files into GL Studio.

## Member Function Documentation

## ◆ GetInstance()

static GlsVMFImporter & GlsVMFImporter::GetInstance | ( | void |  | ) |
| static

## ◆ Import()

Group * GlsVMFImporter::Import | ( | String | filename,
|  | Document | doc,
|  | bool | reposition,
|  | float | scale
| ) |  |

Imports a VMF file using the VMF Importer.

Parameters

  filename | Name of the file to import
  doc | Document into which the file should be imported
  reposition | Flag to determine if the imported objects should be repositioned
  scale | Scale to be applied to the newly imported objects

Returns
  A group containing objects imported from the VMF file

Exceptions

  CEIException |

The documentation for this class was generated from the following file:

- GlsVMFImporter.i