I am writing to you about a problem that occurred to me when copying a definition in Dynamo. The main idea of said definition is to replace a combination of digits at the beginning of the family name and replace them with another example; A-INT- for ARQINT. I attach the definition so that you can analyze it.
The problem arises when I apply it, if the prefix changes however the family name changes, I hope you can help me solve it, I apologize for using a translator since I do not speak the language.
You’ve used FilterByBoolMask on your list for Family.Name, but not on your list of Elements that goes into Element.SetName. You also need to filter this so that the list of names align with your list of elements. Currently you’re sending 355 elements, but 265 names, so you will be putting the names on the wrong elements.
You are absolutely right, I missed filtering the list, but also if you join the Filter by Bool Mask node to the Element.SetName node it is resolved since the lists are the same.