get drawing view reference

Hi

On my drawing view in my sheet, how can i get the model reference (part / assembly) from it? I need to get the full path of the reference and the type (Part or Assembly)

I am only needing the first view reference.

Cheers

Nacho

SolidworksApi macros