sim.getObjectUid

Retrieves the unique identifier of an object: throughout a CoppeliaSim session, there won't be two identical unique identifiers. Unique identifiers are however not persistent (i.e. are not saved with the object)

Synopsis

int uid = sim.getObjectUid(int objectHandle) int uid = sim.getObjectUid(int objectHandle)

Arguments

  • objectHandle: object handle

Return values

  • uid: the unique identifier


See also: