import unreal
asset_name = "/Game/ProductViewer/SampleMesh/Gears/Transmission_part_10"
tag_name = "CreatedBy"
loaded_asset = unreal.EditorAssetLibrary.load_asset(asset_name)
value = unreal.EditorAssetLibrary.get_metadata_tag(loaded_asset, tag_name)
if not value is "":
unreal.log("Value of tag " + tag_name + " for asset " + asset_name + ": " + value)
import unreal
asset_name = "/Game/ProductViewer/SampleMesh/Gears/Transmission_part_10"
loaded_asset = unreal.EditorAssetLibrary.load_asset(asset_name)
all_metadata = unreal.EditorAssetLibrary.get_metadata_tag_values(loaded_asset)
for tag_name, value in all_metadata.iteritems():
if not value is "":
unreal.log("Value of tag " + str(tag_name) + " for asset " + asset_name + ": " + value)
Welcome to the new Unreal Engine 4 Documentation site!
We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.
We'll be sure to let you know when the new system is up and running.