I am developing an automation tool which will import a bunch of FBX files as a batch. Everything about import part works fine, works fine for both static meshes and skeletal meshes.
What I need to do is organize the imported assets according to there types. Right now everything is imported inside a single folder defined in fbx import options. Lets call that folder BASE FOLDER. What I need to do is, create a folder called ‘materials’ inside BASE FOLDER and import all materials inside that folder. Similarly for textures and static meshes.
I have checked the documentation but to no avail, the import options are there for static meshes and textures but there does not seem to be any option for import path with these options. Or do I need to reimport same asset multiple times specifying a separate ‘import task’ for each type of assets that I want to check for?
I need to check for just 3 three types of assets and create folders for them if they are imported with fbx file,.
- Static meshes
- Materials
- Textures
This does not seem to be a rare requirement so I am hoping I must be missing something simple and obvious. Any help is greatly appreciated.