UDatasmithSceneElement::ConstructDatasmithSceneFromFile

Open an existing UDatasmith file from disk.

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](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Datasmith")
static UDatasmithSceneElement * ConstructDatasmithSceneFromFile
(
    const FString & FilePath
)

Remarks

Open an existing UDatasmith file from disk.

Returns

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

Parameters

Parameter

Description

FilePath

UDatasmith file path to open. ie: c:/MyFolder/MyFiles.udatasmith

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