Get all dynamic obstacles from scenario and delete them

Hi,

I looked in the api, but I could not find a solution. (Probably wrong keywords)
How do I delete all dynamic obstacles from a scenario?
I would need a funtion that gives me all obstacles in a scenario and a way to delete them.
Cannot find it. I would appreciat your help.

Thank you!
P.S.: Could it be that there is no documentation for scenario here https://commonroad-io.readthedocs.io/en/latest/api/scenario/?highlight=scenario ?
I only see that scenario is a class, but no properties or members.

Nevermind, using PyCharm gives me all the information I need. I just installed it.
It was easier than I thought. I am not deleting my post, because some people might need this to remember that IDEs are very useful. Fell free to delete it if you think this is spam. Thank you.

Hi Lukas, sorry for the inconvenience. We had some recent updates in the classes and it seems that the documentation was not updated accordingly. As you mentioned, checking out via PyCharm helps a lot. You can also directly browse the source code in PyCharm with Ctrl+Left Click on the class name.
We are happy to answer more questions if you encounter any.

The documentation issue has been fixed.