Reload family

Hello friends of this community, I am making a routine to reload nested families (subfamilies) into a final family. These families are constantly updating independently and the reload process seems very tedious, so I thought of a routine that allows reloading the subfamilies that are in a folder in a directory. So far I have only been able to get all the folders in the directory to enter and those that already exist in the family are not reloaded. any suggestions?

hi @leonardo.pizarroHGHX

this topic might help you get started

Thank you very much, I will test and study it and when I have test results I will share, thank you very much