You can use SolidWorks attributes which are the special features you can attach to various entities with some custom information:
Please take a look at these examples:
Thank you for replying so quickly.
I figured that the right way to approach this was by creating a special attribute to the part, or feature.
actually, my interest is to find that part via code by that attribute. when i say find, i mean is to navigate to that part and mark it graphically in the UI. when i record my self doing just the selection, this is the line of code that produces :
swModel.Extension.SelectByID2(objName, "BODYFEATURE", 0, 0, 0, false, 0, null, 0)
so, lsets say, that my part HAS now the special attribute, how to i navigate to that part in the UI?