Solved

export dxf files api

  • 27 August 2020
  • 1 reply
  • 143 views

Hello, 


is it possible to export dxf file from api? If so, How?


Thank you.

icon

Best answer by Csilla Timar-Fulep 27 August 2020, 14:11

View original

1 reply

Userlevel 5
Badge +2

Hello Luca,


Thanks for your question here!


Unfortunately, currently we do not directly support exporting into DXF format from the API. The analogue to this function in the user interface (using the DXF/IGES Linework tool) isn’t hooked up to the API. This set of features is intended only for older CAD programs that cannot handle 3D solid export. The Export CAD feature should be used unless there is a compelling need for these older formats. Exporting to DXF could be a new feature request. If you would like to add this, please let us know!


If it is appropriate for your purposes, at this time, you can use the methods of the ZOSAPI.Tools.General.IExportCAD inteface for exporting to various CAD formats. Please check out Example 20: Exporting as CAD File in the ZOS-API Syntax Help for more info and correct syntax.


If you have further questions, please let us know and we will be happy to help!


Best,


Csilla

Reply