When developing application which interacts with SOLIDWORKS entities in some cases it is required to reference certain objects and track them during different actions. For example it is required to find the specific feature in the template model or identify the user selected face after the face got modified (split or merged).
There multiple different ways to handle this requirement. The most common approaches are:
Persistent Reference Ids
Refer Tracking Objects article for detailed explanation of all of the above approaches and reference code examples.