write_polygon_xld_dxf — Write XLD polygons to a file in DXF format.
write_polygon_xld_dxf writes the XLD polygons
Polygons to the file
FileName in DXF format.
If no absolute path is given in
FileName the output file is created in the current
directory of the HALCON process.
write_polygon_xld_dxf writes the file according to the
DXF version AC1009 (AutoCAD Release 12). Each polygon is stored
as a POLYLINE.
read_polygon_xld_dxf can be used to read the
The XLD contours that are possibly referenced by
are not stored in the DXF file. Therefore, when the polygons are
read again using
read_polygon_xld_dxf, this information
is lost, and no references to contours are generated for the
polygons. Hence, operators that access the contours associated with
a polygon, e.g.,
split_contours_xld will not work
XLD polygons to be written.
Name of the DXF file.
File extension: .
If the parameters are correct and the file could be written the
write_polygon_xld_dxf returns the value 2 (H_MSG_TRUE).
Otherwise, an exception is raised.