Hi,
Different entities may have very different entity token behaviors as far as their exact value goes. But the token for a BRepBody will be stable across body topology changes (unlike the face, edge, vertex topology entities). The token for an Occurrence is also fairly stable, and will normally only change with some restructure operations along the occurrence path (demotion/promotion on interior nodes of the occurrence path).
However, the precise value of entity tokens is implementation specific. And the implementation can be expected to change across releases. So there should be no expectation that a token generated for an entity in one version of the software will be identical to a token created on the same entity in a different version. You should make no assumptions about the exact value of a token, and should really not compare them as an equality check. To compare if two tokens are for the same entity, you should bind them to the entity (findEntityByToken) and compare the resulting entities for equality. (If two tokens are identical, they definitely are to the same entity. But you cannot assume that two different tokens are not to the same entity without binding the tokens first.)
Kris
Kris Kaplan