UDatasmithSceneElement::GetExistingDatasmithScene

Open an existing DatasmithScene asset file from disk.

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h

Include

#include "DatasmithBlueprintLibrary.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithBlueprintLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="Editor Scripting | Datasmith")
static UDatasmithSceneElement * GetExistingDatasmithScene
(
    const FString & AssetPath
)

Remarks

Open an existing DatasmithScene asset file from disk.

Returns

The opened DatasmithScene, that can be modified and can be reimported.

Parameters

Parameter

Description

AssetPath

Path of the DFatasmithScene asset (eg. "/Game/MyAsset")