Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

convert to .dwg/.dxf format from a drawing made of gdi drawing functions

Posted on 2000-04-06
6
Medium Priority
?
365 Views
Last Modified: 2010-04-10
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(bitmaps)/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
0
Comment
Question by:jbirk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 9

Accepted Solution

by:
ShaunWilde earned 800 total points
ID: 2690806
have you looked at the toolkit available at http://www.opendwg.org/

0
 
LVL 8

Author Comment

by:jbirk
ID: 2690924
Thanks for the reference.  Looks a good site!  A little expensive for commercial distribution, but it looks like it might do what I need.  I'll get back to you after I have a chance to try and use their libraries.

-Josh
0
 
LVL 9

Expert Comment

by:ShaunWilde
ID: 2690993
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 :)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Author Comment

by:jbirk
ID: 2721526
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
0
 
LVL 8

Author Comment

by:jbirk
ID: 2773062
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
0
 
LVL 9

Expert Comment

by:ShaunWilde
ID: 2773205
you may also find this useful

Take a look at Kadmos' DXFReader control at

http://www.kadmos.com/activex/ 

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question