PK_ENTITY_ask_identifier   

PK_ERROR_code_t PK_ENTITY_ask_identifier
(
--- received arguments ---
PK_ENTITY_t     entity,             --- entity

--- returned arguments ---
int      *const identifier          --- identifier of entity (possibly 0)
)


This function returns the identifier of an entity within a part.


If the entity does not belong to a part, then zero is returned.

Fins do not have identifiers and the function will return zero if given a fin.

Bodies do not have identifiers, except for child bodies in a compound body.