get_object_types#

get_object_types(domain)#

Retrieve the types and indices of objects within a given domain.

Parameters:
domainobject

An object that contains a dictionary of objects accessible via the objects attribute.

Returns:
tuple of numpy.ndarray

A tuple containing two numpy arrays: - object_type_array: An array of object types. - object_indices: An array of object indices.