Blender > Fbx > Import > Meta Property Access?

Is there a way to associate meta data from blender, exported as fbx and imported into Unreal to access some sort of meta properties? I see Blender has a Custom Properties section and I can add a typical key/value pair. I’d like to access this data from a custom workflow python script but atm have no idea how to query that data.

A use case might be I’m designing a level and want to associate a pickup items with various points. Harder to reach items would be worth more points. Atm I design levels in Blender and I intend to keep the workflow there. I can set a custom property of “meta_pointvalue” = 10, but have no way of accessing this within Unreal atm. There are other use cases, just wanted to add an example.

Is there a way to set tags on Blender > export fbx so I could use something like get_metadata_tag via the EditorAssetLibrary in python? (unreal.EditorAssetLibrary — Unreal Python 5.0 (Experimental) documentation)

Progress to getting the data to show up in Unreal but having trouble accessing via python api.

1 Like

Turns out I’m just a newbie at python;

check custom properties during blender fbx export

unreal py script, gotcha for me was the prepended FBX. convention.

import unreal
al = unreal.EditorAssetLibrary()
a = al.load_asset(“/Game/cubemeta”)
m = al.get_metadata_tag_values(a)
m[“FBX.meta_prop1”]

3 Likes