Perhaps this tidbit from the Help files will help.
DWS files must be saved in the current drawing file format. To create a DWS
file in a previous drawing file format, save the file in the desired DWG
format, and then rename the DWG file using a .dws extension.
My guess would be to save the drawing as a dwg and rename it to dws since it
does not appear the API supports saving it directly.
Joe ...
wrote in message news:6296411@discussion.autodesk.com...
I need to save the current drawing in dws format using API (vba/object arx)
How can I do that
the saveformat foes not show any dws enum
I am using AcadDocument::SaveAs method