Export to DWG (AutoCAD Mechanical) through API

Export to DWG (AutoCAD Mechanical) through API

CadacAutodeskExchange
Explorer Explorer
817 Views
1 Reply
Message 1 of 2

Export to DWG (AutoCAD Mechanical) through API

CadacAutodeskExchange
Explorer
Explorer

Hi,

 

When exporting an Inventor drawing by using 'Save Copy As', I can export to 'AutoCAD DWG'. The options allow me to set some specific options for AutoCAD Mechanical. These options are only shown in the export wizard if AutoCAD Mechanical is installed (if I am correct).

 

Does anybody know if such an export can be created by using the Inventor API? (I know how to export to AutoCAD DWG, but not if these specific options can be specified....

 

Screenshot 2020-06-09 at 09.34.21.png

0 Likes
818 Views
1 Reply
Reply (1)
Message 2 of 2

JhoelForshav
Mentor
Mentor

Hi @CadacAutodeskExchange 

I think it should work to first save an .ini-file for the export options and then reference that file while exporting through API. Would that work for you?

 

See my last two posts in this thread to get what i mean:

https://forums.autodesk.com/t5/inventor-customization/ilogic-pdf-per-sheet/m-p/9554586#M111591

In that specific case the problem was exporting a drawing to dxf of a specific version, but you should be able to use the same method for dwg export 🙂

 

0 Likes