Get Unknown Sensor Name(s) with Script Commands

I have a probably trivial application, but am missing vital information. I have following setup:

  • a generalized script
  • different vehicles and Sensors
    with the objective:
  • export a video from the perspective of every sensor

So, my current script starts the IPG Movie, starts the simulation and is able to export said video. The problem is, that it only supports the default view(s) since I do not have the names of possible sensors from which I want the perspective to be.

How do I get a list of sensor names I can iterate over, and use the ‘Movie camera select’ command in order to change my perspective?