Change refrence of Drawing doc

Hello Everyone,

How to change reference of a drawing document by API?

Thanks

SolidworksApi macros