Probezeit
(Probezeit)
October 6, 2022, 9:25pm
1
Hello folks,
Thanks for the help the last time.
I am in desperate need of exporting selected fbx assets from a level via c++.
As you have an export button for every asset I though it would be easy but I was wrong. I searched the whole source code but am obviously to unknown to find the correct part I need. Anyone able to help?
It would be also great to export it directly to a path.
Ares9323
(Ares9323)
October 7, 2022, 2:08pm
2
Do you need to export assets from a level (scaled, rotated and moved) or just the original static mesh that is linked to them?
I think that you can achieve what you need with editor scripting utilities
Probezeit
(Probezeit)
October 7, 2022, 2:58pm
3
I just want to export the fbx mesh.
Ares9323
(Ares9323)
October 7, 2022, 4:42pm
4
You don’t even need a script as long as they are static or skeletal meshes:
Select all the assets you want to export in the world
Press CTRL+B
Right click one of the selected assets in content browser
Asset Actions → Bulk Export
Select a folder
Export all
Tell me if it works
Probezeit
(Probezeit)
October 7, 2022, 5:09pm
5
Thanks for the help but that’s not what I am trying. I am trying to export it via c++.
Ares9323
(Ares9323)
October 7, 2022, 5:35pm
6
Oh ok, do you need to use this function in a packaged project?
I wouldn’t be surprised if it was an editor-only function.
You could try to use IAssetTools::ExportAssets , it works in BP:
1 Like
Probezeit
(Probezeit)
October 7, 2022, 10:00pm
7
Thank you so much. IAssetTools is exactly what I needed!
1 Like