/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h
Replaces specified Actors with the same number of a different kind of Actor using the specified factory to spawn the new Actors note that only Location, Rotation, Drawscale, Drawscale3D, Tag, and Group are copied from the old Actors
void ReplaceActors ( [UActorFactory](API\Editor\UnrealEd\ActorFactories\UActorFactory) * Factory, const [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) & AssetData, const [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > & ActorsToReplace, [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > * OutNewActors, bool bCopySourceProperties )