API Saveas DWS

API Saveas DWS

Anonymous
Not applicable
427 Views
1 Reply
Message 1 of 2

API Saveas DWS

Anonymous
Not applicable
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
0 Likes
428 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
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
0 Likes