AutoCAD 2004/2005/2006 DWG Format
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Generating a DXF with Graphics
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
106 Views, 2 Replies
06-20-2006 06:49 AM
Our company has a Project Management system that generates our default Title Block in DXF format with all of the job information filled in to the correct text boxes. The Title Block contains four default BMP images (the base title block was generated with LT which could only insert BMPs and many of our drafters are working in LT) which the drafters currently have to replace with job-related images. I have been looking for a good reference to tell me what format the graphics need to be in so that they can be inserted into the DXF programmatically.
I've checked the standard DXF specifications but it seems to cover primarily reading existing DXF files and I don't see an answer to my question there. I've also tried searching these forums without much success. The only reference manual I could find in that search (Mastering Autocad 2000 Objects by Dietmar Rudolph, Rudolph Dietmar) is out of print and quite possibly obsolete.
I'm hoping that someone here can point me in the right direction. If there's a book that you can recommend or a reference site that I've missed, I'd greatly appreciate hearing about it.
Thanks,
Dan Lyons
ASC of Boston, Inc.
I've checked the standard DXF specifications but it seems to cover primarily reading existing DXF files and I don't see an answer to my question there. I've also tried searching these forums without much success. The only reference manual I could find in that search (Mastering Autocad 2000 Objects by Dietmar Rudolph, Rudolph Dietmar) is out of print and quite possibly obsolete.
I'm hoping that someone here can point me in the right direction. If there's a book that you can recommend or a reference site that I've missed, I'd greatly appreciate hearing about it.
Thanks,
Dan Lyons
ASC of Boston, Inc.
Re: Generating a DXF with Graphics
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-22-2006 10:58 AM in reply to:
DanLyons
Just an update if anyone looks at this thread:
I've managed to create a DXF file that opens without errors, unfortunately it opens without the graphics too.
From my research it looks like the DXF image data has been converted to hex format and that the binary file data contains some amount of locational information. If I swap just the binary data from one OLE wrapper to another, the image appears in the location of the graphic the binary information was taken from not where the headers indicate. If I convert my images to hex and insert them as binary data - the DXF will open without errors or graphics, as mentioned above. I've confirmed that the binary data is there, it's just missing whatever locational data is encoded into the data when it is inserted via AutoCAD.
I've managed to create a DXF file that opens without errors, unfortunately it opens without the graphics too.
From my research it looks like the DXF image data has been converted to hex format and that the binary file data contains some amount of locational information. If I swap just the binary data from one OLE wrapper to another, the image appears in the location of the graphic the binary information was taken from not where the headers indicate. If I convert my images to hex and insert them as binary data - the DXF will open without errors or graphics, as mentioned above. I've confirmed that the binary data is there, it's just missing whatever locational data is encoded into the data when it is inserted via AutoCAD.
Re: Generating a DXF with Graphics
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-25-2012 10:09 PM in reply to:
DanLyons
Hello
did you get the solution for your question?
As i am also facing the same problem
Regards,
Pranav C Lunavat

