Navigation
API > API/Plugins > API/Plugins/DataprepCore > API/Plugins/DataprepCore/FDataprepCoreUtils
Description
Helper function to remove a step from an action. This function will remove the action from the Dataprep asset owning it if this is the last step.
| Name | RemoveSteps |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepCoreUtils.h |
| Include Path | #include "DataprepCoreUtils.h" |
| Source | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepCoreUtils.cpp |
static bool RemoveSteps
(
UDataprepActionAsset * ActionAsset,
const TArray< int32 > & Indices,
int32 & ActionIndex,
bool bDiscardParametrization
)
Returns true if the removal was successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| ActionAsset | Action asset to perform the operation on |
| Indices | Array of step's indices to remove. |
| ActionIndex | Set to INDEX_NONE if the action was not removed from its owning Dataprep asset. Valid index otherwise. |
| bDiscardParametrization | If true, discrad parameterization associated with the action steps |