# Remove Parent Actors in Dataprep

**URL:** <https://forums.unrealengine.com/t/remove-parent-actors-in-dataprep/1719465>\
**Category:** Plugins\
**Tags:** Datasmith, Dataprep, unreal-engine, question, Visual-Dataprep\
**Created:** [February 29, 2024, 1:31am UTC](https://forums.unrealengine.com/t/remove-parent-actors-in-dataprep/1719465 "2024-02-29T01:31:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidnewsome](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aidnewsome/32/602537_2.png) [@aidnewsome](https://forums.unrealengine.com/u/aidnewsome)\
**Post date:** [February 29, 2024, 1:31am UTC](https://forums.unrealengine.com/t/remove-parent-actors-in-dataprep/1719465/1 "2024-02-29T01:31:46Z")

</div>

How do I remove the parent actors from this Static Mesh so that it sits at the top of the hierarchy in Dataprep/Datasmith?

 ![Removing_Actor_Parent_Dataprep](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/0/e00eef547518bc1a297f1acb73cf4743a7313ed6.png)

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [February 29, 2024, 11:41am UTC](https://forums.unrealengine.com/t/remove-parent-actors-in-dataprep/1719465/2 "2024-02-29T11:41:02Z")

</div>

You could do something like that custom Dataprep Editing Operation blueprint “DEO Re Attached” in the example.

> **[Custom Dataprep Operation to reattach to an ancestor node with sibblings...](https://blueprintue.com/blueprint/gu6vyajk/)**
>
> No description provided

You can modify it to need, ATM it should for each static mesh provided by the filter, go back up the tree and stop on the first node with siblings and then reattach the static mesh actor there

and then you use it like this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/e/5bec5e5400ed9d021b814b31aa311f1d42ba61fb.png)

---

<div class="post-metadata">

**Author:** ![aidnewsome](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aidnewsome/32/602537_2.png) [@aidnewsome](https://forums.unrealengine.com/u/aidnewsome)\
**Post date:** [March 1, 2024, 12:15am UTC](https://forums.unrealengine.com/t/remove-parent-actors-in-dataprep/1719465/3 "2024-03-01T00:15:45Z")

</div>

Thank you, Flavien. I will try this out.
