ViewLayer not a subclass of ID?

hey guys,

can someone tell me, why almost every class ( scene, object, world, collection) is a subclass of ID and can therefore be selected as a type in the PointerProperty, exept ViewLayer?

How can I then get a Pointer to a ViewLayer?

1 Like