code: def get_object_position(self, object_name, relative_to_object=None):
          
          h = self.get_object_handle(object_name)
          relative_handle = (-1 if relative_to_object is None
                             else self.get_object_handle(relative_to_object))
  
          return self.call_remote_api('simxGetObjectPosition',
                                      h, relative_handle,
                                      streaming=True)
docs: Gets the object position.