# Create a drop down list and mesh swap using data table.

**URL:** <https://forums.unrealengine.com/t/create-a-drop-down-list-and-mesh-swap-using-data-table/1607405>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 11, 2024, 9:25pm UTC](https://forums.unrealengine.com/t/create-a-drop-down-list-and-mesh-swap-using-data-table/1607405 "2024-01-11T21:25:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephenarchie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stephenarchie](https://forums.unrealengine.com/u/stephenarchie)\
**Post date:** [January 11, 2024, 9:25pm UTC](https://forums.unrealengine.com/t/create-a-drop-down-list-and-mesh-swap-using-data-table/1607405/1 "2024-01-11T21:25:35Z")

</div>

Hey guys,

I’m trying to set up a system where I can take meshes in game and swap them out for others.

E.G - If i had a bunch of rocks in a scene and wanted to change one of them. Ideally, I want to click on the rock mesh and select another from a drop down menu in the details panel.

I have this more or less working using a setup with enumerations but I’ve heard that using a Data Table t is more performant. I’ve used a structure to set up the meshes in the data table and have the Data Table looking as I want.

However I can’t for the life of me get the mesh swap to work or the drop down to appear.

Is what I’m trying even possible?

Apologie for the lack of images of my set up but it mainly looked like the setup in the link below. I have followed this a couple times to no success.

> [@Place Static Meshes with from Data Table](https://forums.unrealengine.com/t/place-static-meshes-with-from-data-table/434054):
>
> Hi. I have a data table like this Index, PosX, PosY, PosZ, RotX, RotY, RotZ, RotW, modelname 1, 534, 244, 15, 0, 0, 0, -1, house1 2, 343, 238, 14.8, 0, 0, 0, 0, house2 3, … The Pos’s and Rot’s are stored as float and modelname as string And i have a folder with the models (StaticMesh) inside: house1, house2, … All i want to do is to read the table index by index and load by the modelname the model from the models folder and place it with the Position and Rotation from the table into th…

Any help you could provide would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [January 12, 2024, 1:07am UTC](https://forums.unrealengine.com/t/create-a-drop-down-list-and-mesh-swap-using-data-table/1607405/2 "2024-01-12T01:07:13Z")

</div>

Hey @stephenarchie

have a look at this:

[UE427\_SelectMesh.zip](https://forums.unrealengine.com/uploads/short-url/6dA1P0Xf0Af9fnWIFxs8e97XDhX.zip) (1.9 MB)

---

<div class="post-metadata">

**Author:** ![stephenarchie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stephenarchie](https://forums.unrealengine.com/u/stephenarchie)\
**Post date:** [January 12, 2024, 9:27am UTC](https://forums.unrealengine.com/t/create-a-drop-down-list-and-mesh-swap-using-data-table/1607405/3 "2024-01-12T09:27:14Z")

</div>

Thanks, I’ll take a look and report back. 🙂
