# Editor.EditorUtility.CreateModelFromMeshFile

```csharp
static Asset CreateModelFromMeshFile(Asset meshFile, string targetAbsolutePath = null)
```

Create a vmdl file from a mesh. Will return non null if the asset was created successfully

### Parameters

- `meshFile` (`Asset`)
- `targetAbsolutePath` (`string`), default `null`

### Returns

`Asset`

Declared in [Editor.EditorUtility](/api/Editor.EditorUtility).
Assembly: `Sandbox.Tools`.
