Retrieving Used Configuration On A Drawings 'Default' View

Hi there,

On a drawing it's possible to get the configuration name from a model with \\\$PRP:"ShowConfig".

Now I like to get that info within the API but I don't know how.

I like to add this information to the drawings filename to make clear which configuration from a part or assy is on the drawing.

Anyone ?

Greetings !

SolidworksApi macros