# Editor.EditorUtility.CreateModelFromMeshComponents

```csharp
static Asset CreateModelFromMeshComponents(MeshComponent[] meshComponents, string targetAbsolutePath)
```

Create a vmdl file from mesh components. Will return non null if the asset was created successfully.
The model's origin will be placed at the first mesh component's position.

### Parameters

- `meshComponents` (`MeshComponent[]`)
- `targetAbsolutePath` (`string`)

### Returns

`Asset`

Declared in [Editor.EditorUtility](/api/Editor.EditorUtility).
Assembly: `Sandbox.Tools`.
