Filename length issue - Datasmith & Revit

When importing geometry from a Revit Datasmith plugin export some of the filenames that are generated are too long to save. As there is no bulk rename feature in Unreal, to fix this takes hours of work in some instances. Would it be possible to either limit the characters in the generated filenames or to implement a bulk rename feature for assets in Unreal?

1 Like

If you want to some bulk renaming you could do something using blueprints or python.
Here is an example where the function will crop the name of all assets under /Content Browser/Renaming/ (/Game/Renaming/)

Please note that to access Asset library function through blueprint you have to use that in a Editor Utility Widget or make your blueprint inherit from Placed Editor Utility Base

1 Like

enable long file names in windows that solve it

  • Hit the Windows key, type gpedit.msc and press Enter.
  • Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS.
  • Double click the Enable NTFS long paths option and enable it.

what about Mac?