---
title: "Automated .vrscene Import"
canonical: "https://documentation.chaos.com/space/VRAYUNREAL/116558244/Automated%20.vrscene%20Import"
format: markdown
---
This page provides information on the automated process of importing a .*vrscene* inside Unreal Engine.



## **Overview**

---



## **Set Up Your Project for Python**

---

  
** **

## **.vrcene Import Properties**

---

Below are listed the available V-Ray Objects, their Properties and their Type:

### VRaySceneImportSettings()

**allow_delete** (bool) – On reimport, detect deleted plugin from the vrscene and automatically delete linked actors in the current level

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('allow_delete', True)
```

**allow_modify_existing** (bool) – On reimport, detect and apply any modification/update of existing assets and actors

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('allow_modify_existing', True)
```

**big_res_multiplier** (float) – Specifies the maximum number of big resolution (2048) lightmaps that can be set in the level (e.g. multiplier of 1 will result in 2 meshes that will have a lightmap resolution of 2048; multiplier of 2 will result in 4 meshes that have lightmap resolution of 2048)

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('big_res_multiplier', 1.0)
```

**build_lighting** (bool) – When enabled, the Build Lighting Only command is executed at the end of the import phase and Unreal begins lightmap baking

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('build_lighting', False)
```

**create_actors** (bool) – Enable the creation of actors in the level. When disabled, **create_cameras** , **create_lights** and **create_cameras** will be forced to *False*

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('create_actors', True)
```

**create_assets** (bool) – Enable the creation of static meshes, materials and textures in the Content Browser

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('create_assets', True)
```

**create_cameras** (bool) – Enable the creation of cameras in the level. Only applicable to current render view

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('create_cameras', True)
```

**create_lights** (bool) – Enable the creation of lights in the level

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('create_lights', True)
```

**create_nodes** (bool) – Enable the creation of static meshes in the level

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('create_nodes', True)
```

**small_res_upscale** (int32) – Specifies the multiplier for the number of low resolution (16) lightmaps that can be set in the level (e.g. multiplier of 0 will set the minimum lightmap resolution of a mesh to 8; multiplier of 1 will set the minimum lightmap resolution of a mesh to 16).

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('small_res_upscale', 16)
```

**use_full_proxy_meshes** (bool) – When enabled, proxies will be imported as static meshes

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('use_full_proxy_meshes', True)
```

**y_axis_up** (bool) – Enable this if your vrscene was generated from a software that has its Y-axis set as an up vector (e.g. Maya)

```
e.g. unreal.VRaySceneImportSettings().set_editor_property('y_axis_up', False)
```


### **VRaySceneFactory()**

**import_settings** (VRaySceneImportSettings) – Optional override to tweak some of the import settings. If set, the VRayScene import will be executed without any user confirmation (i.e. silent import). If not set the default settings settings will be used and the VRay import settings dialog will be shown to confirm the import settings

```
e.g. unreal.VRaySceneFactory().set_editor_property('import_settings ', unreal.VRaySceneImportSettings().set_editor_property('y_axis_up', False))
```



## **Usage Example**

---