How Would I Create an Automatic Mesh Replacement System Using Instances?

Hi guys,

I’m trying to make an addon that will look at all selected meshes, find instances of that mesh, then replace those instances with a high poly version of that model. For example, I am working on a LEGO model and I want to take in the .dae from Mecabricks, then select all the individual bricks and have them get replaced with their high poly counterparts. Is there a way to search through a .blend to find a mesh ID, select all its instances, then search through an asset browser library to find that same mesh ID and replace the former with the latter?

If this doesn’t make sense, I can try to add some diagrams to explain what I mean. Any help would be greatly appreciated!

Thanks,
Samuel

1 Like

I ended up figuring it out. :+1:

1 Like