how do create a link with an external image

Use this forum to ask questions about how to do things in dxflib.

Moderator: andrew

how do create a link with an external image

Postby AndyB78 » Mon Dec 06, 2010 1:52 pm

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.
AndyB78
Registered Member
 
Posts: 1
Joined: Mon Dec 06, 2010 1:46 pm

Postby andrew » Mon Dec 06, 2010 10:01 pm

- 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
User avatar
andrew
Site Admin
 
Posts: 2592
Joined: Fri Mar 30, 2007 6:07 am


Return to dxflib 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron