Revit to Unreal 5 -> Import model with combined materials

Hi,

is there a way to import a Revit model via FBX or Datasmith in a way the meshes are combined by their materials instead of single or grouped elements?