Change View to Flat Pattern View

Hi!

I am searching for a method or a property to change an existing view of a sheet-metal-part from unfold to a flat pattern view. The user can do this in the view properties in solidworks. Is ther an API Call for this?

Thanks

SolidworksApi macros