FReimportManager::ReimportMultiple

Attempt to reimport multiple objects from its source by giving registered reimport handlers a chance to try to reimport the object

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorReimportHandler.h

Include

#include "EditorReimportHandler.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Editor.cpp

Syntax

virtual bool ReimportMultiple
(
    TArrayView< UObject * > Objects,
    bool bAskForNewFileIfMissing,
    bool bShowNotification,
    FString PreferredReimportFile,
    FReimportHandler * SpecifiedReimportHandler,
    int32 SourceFileIndex,
    bool bForceNewFile,
    bool bAutomated
)

Remarks

Attempt to reimport multiple objects from its source by giving registered reimport handlers a chance to try to reimport the object

Returns

true if the objects all imported successfully, for more granular success reporting use FReimportManager::Reimport

Parameters

Parameter

Description

Objects

Objects to try reimporting

bAskForNewFileIfMissing

If the file is missing, open a dialog to ask for a new one

bShowNotification

True to show a notification when complete, false otherwise

PreferredReimportFile

if not empty, will be use in case the original file is missing and bAskForNewFileIfMissing is set to false

SourceFileIndex

which source file index you want to reimport default is INDEX_NONE(the factory will choose)

bAutomated

True to skip dialog prompts

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss