Navigation
API > API/Plugins > API/Plugins/DataprepCore > API/Plugins/DataprepCore/UDataprepAsset > API/Plugins/DataprepCore/UDataprepAsset/InsertAction
References
| Module | DataprepCore |
| Header | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepAsset.h |
| Include | #include "DataprepAsset.h" |
| Source | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepAsset.cpp |
bool InsertAction
(
const UDataprepActionAsset * InAction,
int32 Index
)
Remarks
Insert a copy of the action to the Dataprep asset at the requested index True if the insertion is successful, false if the action or the index are invalid
Parameters
| Name | Description |
|---|---|
| Action | The action we want to duplicate in the Dataprep asset |
| Index | The index at which the insertion must happen |