Page 1 of 1

how do create a link with an external image

Posted: Mon Dec 06, 2010 1:52 pm
by AndyB78
I tried to use the method "writeImageDef" but when I opened the dxf file with autocad the following error appears: "Unknown object type IMAGEDEF ignored".

Which are the correct step to do add a background image in a dxf file?

Thanks in advanced for your help.

Posted: Mon Dec 06, 2010 10:01 pm
by andrew
- Write the image definitions inside the OBJECTS section of the DXF file (see DL_Dxf::writeObjects / writeObjectsEnd).
- Write the image itself (writeImage) inside the ENTITIES section

Re: how do create a link with an external image

Posted: Sun Apr 03, 2022 2:21 am
by Dagata-mining
Any updates on that?? Been strugling for a bit and tried this approach without any succesz