code: def simxGetObjects(clientID, objectType, operationMode):
      '''
      Please have a look at the function description/documentation in the V-REP user manual
      '''
  
      objectCount = ct.c_int()
      objectHandles = ct.POINTER(ct.c_int)()
  
      ret = c_GetObjects(clientID, objectType, ct.byref(objectCount), ct.byref(objectHandles), operationMode)
      handles = []
      if ret == 0:
          for i in range(objectCount.value):
              handles.append(objectHandles[i])
  
      return ret, handlef simxGetObjects(clientID, objectType, operationMode):
      '''
      Please have a look at the function description/documentation in the V-REP user manual
      '''
  
      objectCount = ct.c_int()
      objectHandles = ct.POINTER(ct.c_int)()
  
      ret = c_GetObjects(clientID, objectType, ct.byref(objectCount), ct.byref(objectHandles), operationMode)
      handles = []
      if ret == 0:
          for i in range(objectCount.value):
              handles.append(objectHandles[i])
  
      return ret, handles
docs: Please have a look at the function description/documentation in the V-REP user manual