next_id#

objs.next_id() int#

Return the object id of the next object EnSight will allocate

All EnSight objects have a unique object ID. These IDs are monotonically increasing. This function returns the id number that EnSight will assign to the next object that it creates. It can be used to detect if an object is new, relative to when this function is called.

Returns:

The ENSOBJ object id of the next allocated object.