Is there a method to change reference document of view using SW API?

Guys,

Is there an API which can change the reference model document object in view?

Rajat Jain

SolidworksApi macros