Get all views in sheet...!

Good morning everyone.
I want to be able to get all views placed on the sheets…
I use Sheet.Views… but it has a problem, it only works with some plans… knowing that the elements entered are of the same type… because it only works halfway… how can I solve it… someone has a code Python ??
Thank you…

Can you check if those sheets really have views on them?

1 Like

If they have views.

It has something to do if these plans are from a linked file…!!

What do you mean by this? The view would have to exist in the current project, right? Whether it shows linked elements or not shouldn’t matter. Can you show us what the sheet/view actually looks like?