Hi @rockportbusiness. How can this component be identified, if not by its name? Is there anything else unique about it that could be used to identify it? Once we can find this component by code, we can simply run an iLogic rule that will check the value of the 'Stock Number' iProperty of the assembly, and if its value is a certain value, then it will suppress that component, and if the value is different, it will unsuppress the component, or not do anything.
Are you familiar with the process of 'stabilizing component browser names" in your assembly? This is essentially the process of renaming all of the assembly components within your template assembly to new unique, but meaningful names. I'm not talking about changing the names of the files, just the labels that are automatically assigned to the components as you see them within the model browser tree. Their names usually have something like ":1", or ":2" after them, in order to keep each name unique, but by default these are usually named as the file names. If you just change their names within the model browser tree, to something other than file name or part number, but still meaningful, that will stabilize their names for you. What I mean is, when you replace that component with another one, so that it is pointing to a different source model file, the name of the component, as seen in the model browser tree, will stay the same. When this is the case, you can always find that component within the assembly by its name, within your iLogic rule codes, even after they have been replaced with different source files. This has been a common practice talked about here on this forum, and on a few different user's personal Blogs, so you could probably search around for some codes to do the renaming part for you, if you do not want to do it manually.
Wesley Crihfield

(Not an Autodesk Employee)