VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API Saveas DWS

1 REPLY 1
Reply
Message 1 of 2
wgmdev
357 Views, 1 Reply

API Saveas DWS

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: wgmdev

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost