how to get list of all the models referenced in a drawing?

Is there any method to get the list of all the models refered in a drawing. I am having a drawing with multiple models (not configurations) in different view. Can I get all the refered models in the drawing. I know I could get one that is in first view of the drawing, but need all.

Amit

SolidworksApi macros