jbirk
asked on
convert to .dwg/.dxf format from a drawing made of gdi drawing functions
I'm writing a program which is essentially a simplified CAD program. It uses a series of the gdi drawing functions (like line/rect/polygon/textout/ draw(bitma ps)/etc.) to produce an overall drawing. So when these files are saved to a file, they are in their own format to describe the item to draw (written as a structure with binary data to the file).
I'm looking to be able to convert this drawing into the .dxf and .dwg formats.
How do I do this? I'd like to just use a program which I can give a description of my structures to or somehow inform on how to read/write with my format, and then do the rest for me. But if this isn't possible how else can I do this?
Thanks!
-Josh
I'm looking to be able to convert this drawing into the .dxf and .dwg formats.
How do I do this? I'd like to just use a program which I can give a description of my structures to or somehow inform on how to read/write with my format, and then do the rest for me. But if this isn't possible how else can I do this?
Thanks!
-Josh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also how about http://www.dcs.ed.ac.uk/home/mxr/gfx/3d-hi.html
sorry these are coming in slowly - I looked up this info for a friend who uses autocad a few weeks back - so I am just waking my history between compiles :)
sorry these are coming in slowly - I looked up this info for a friend who uses autocad a few weeks back - so I am just waking my history between compiles :)
ASKER
I've looked at it more in depth with my company, and it looks like opendwg is what we'll go with. I'm probably going to try and get something working with it tomorrow. I'll get back to you on how it goes, and if it'll work out for sure.
-Josh
-Josh
ASKER
Well, the project was put on hold, but I'm confident that the opendwg is what I was looking for, so here's your points. Sorry for the delay in rewarding them.
-Josh
-Josh
you may also find this useful
Take a look at Kadmos' DXFReader control at
http://www.kadmos.com/activex/
Take a look at Kadmos' DXFReader control at
http://www.kadmos.com/activex/
ASKER
-Josh