Skip to main content
Solved

export dxf files api

  • August 27, 2020
  • 1 reply
  • 173 views

Hello, 


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


Thank you.

Best answer by Csilla Timar-Fulep

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

View original
Did this topic help you find an answer to your question?

1 reply

Csilla Timar-Fulep
Zemax Staff
Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings