Get only the views actually placed on the drawing

Hi All,

I would like to check if there is at least one drawing view present on a specific drawing sheet.

When I call GetViews() on the drawing sheet it returns all views. However what I need is only the views that are actually placed on the drawing.

I cannot find a way to identify those views.

Is there a way to get only the views that are actually placed on the drawing?

Any help is appreciated a lot!

Best regards,

Dennis.

SolidworksApi macros