# Convert Static to Skeletal Mesh via Python API

**URL:** <https://forums.unrealengine.com/t/convert-static-to-skeletal-mesh-via-python-api/2153182>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, question\
**Created:** [November 26, 2024, 8:11pm UTC](https://forums.unrealengine.com/t/convert-static-to-skeletal-mesh-via-python-api/2153182 "2024-11-26T20:11:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubb85](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rubb85](https://forums.unrealengine.com/u/Rubb85)\
**Post date:** [November 26, 2024, 8:11pm UTC](https://forums.unrealengine.com/t/convert-static-to-skeletal-mesh-via-python-api/2153182/1 "2024-11-26T20:11:46Z")

</div>

Hi,

Via the Python API, how can I do the equivalent to:  
static mesh “right click” \> “Convert to Skeletal Mesh” \> (set options) \> Convert  
(step 2 in the “Creating a Skeletal mesh” section [here](https://dev.epicgames.com/documentation/en-us/uefn/convert-static-mesh-to-skeletal-mesh-in-unreal-editor-for-fortnite))

I came across the [InterchangePipelineMeshesUtilitiesContext](https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/InterchangePipelineMeshesUtilitiesContext?application_version=5.4#unreal.InterchangePipelineMeshesUtilitiesContext.convert_static_mesh_to_skeletal_mesh) docs, but I am not sure if I am heading in the right direction. Any guidance/snippets will be really appreciated! 🙏

Thanks beforehand!

---

<div class="post-metadata">

**Author:** ![BalazsToereki\_4DP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BalazsToereki\_4DP](https://forums.unrealengine.com/u/BalazsToereki_4DP)\
**Post date:** [February 3, 2026, 3:56pm UTC](https://forums.unrealengine.com/t/convert-static-to-skeletal-mesh-via-python-api/2153182/2 "2026-02-03T15:56:04Z")

</div>

Hello Rubb85,

With Interchange you could import your assets to be SkeletalMesh always, via setting the [ForceAllMeshAsType](https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/InterchangeGenericCommonMeshesProperties?application_version=5.7#unreal.InterchangeGenericCommonMeshesProperties.force_all_mesh_as_type) variable on the [CommonMeshesProperties](https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/InterchangeGenericCommonMeshesProperties)of the [AssetsPipeline](https://dev.epicgames.com/documentation/en-us/unreal-engine/python-api/class/InterchangeGenericAssetsPipeline?application_version=5.7#unreal.InterchangeGenericAssetsPipeline).

Here is a snippet to help you get started:

> ```python
> import os
> import sys
> import unreal
> 
> import_file = os.path.normpath('pathToYourFile')
> import_directory = 'PathToContentFolder' 
> #for example /Game/ImportFolder
> 
> import_asset_parameters = unreal.ImportAssetParameters()
> # To import without import dialog popping:
> import_asset_parameters.is_automated = True 
> interchange_manager = unreal.InterchangeManager.get_interchange_manager_scripted()
> source_data = interchange_manager.create_source_data(import_file)
> 
> # Create pipeline in case you don't have your own yet.
> assets_pipeline = unreal.InterchangeGenericAssetsPipeline()
> # Force all Mesh types to be SkeletalMeshes:
> assets_pipeline.common_meshes_properties.force_all_mesh_as_type = unreal.InterchangeForceMeshType.IFMT_SKELETAL_MESH
> 
> # To use the created pipeline with the force all mesh setting:
> import_asset_parameters.override_pipelines.append(unreal.SoftObjectPath(assets_pipeline.get_path_name()))
> 
> interchange_manager.import_asset(import_directory,source_data,import_asset_parameters)
> 
> ```

Hope this helps on your journey!

Much obliged,  
Balazs Toereki  
[4D Pipeline](https://www.4dpipeline.com/)
