display state and drawing

Hi,

I have a drawing created from an assembly with configurations and display states. Is it possible to get name of used configuration and displaystate?

SolidworksApi macros