No announcement yet.

Filename length issue - Datasmith & Revit

  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    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

    Click image for larger version

Name:	renaming.png
Views:	623
Size:	331.9 KB
ID:	1659818


      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.
      Pierre-Felix Breton

      Sr Technical Product Designer AEC, Unreal Engine
      Epic Games - LinkedIn