In an earlier post, Luke Malpass mentions earlier versions of the API can save a file as an XAML. Today's version certainly will not.
I think I have gone through all the older methods (there are a lot of them!) and I have not found one that will export a file of this type.
Has anyone ever found a way to save an XAML file through the API?
SolidworksApi macros