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 | RemoveStep |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepCoreUtils.h |
| Include Path | #include "DataprepCoreUtils.h" |
static bool RemoveStep
(
UDataprepActionAsset * ActionAsset,
int32 Index,
int32 & ActionIndex,
bool bDiscardParametrization
)
Parameters
| Name | Remarks |
|---|---|
| ActionAsset | Action asset to perform the operation on |
| Index | Index of the step to remove. |
| bDiscardParametrization | If true, discrad parameterization associated with the action step |
| ActionIndex | Set to INDEX_NONE if the action was not removed from its owning Dataprep asset. Valid index otherwise. |