Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File conversion code in java programing  RSS feed

 
Suma Gowda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ... all
can any one explain me to convert (CAD File) from .dwg file to .dxf file in java programing . please send me the java code .
 
Tim Moores
Saloon Keeper
Posts: 3511
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A search for "dwg to dxf converter" or some similar phrase yields many hits; why does it need to be in Java? And no, nobody here will send you the code, although people will help you on your way to write it yourself.
 
Suma Gowda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:A search for "dwg to dxf converter" or some similar phrase yields many hits; why does it need to be in Java? And no, nobody here will send you the code, although people will help you on your way to write it yourself.



yes i am trying this application in java ,so i need help ,can you help me , if you know how to do .
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suma Gowda wrote:
Tim Moores wrote:A search for "dwg to dxf converter" or some similar phrase yields many hits; why does it need to be in Java? And no, nobody here will send you the code, although people will help you on your way to write it yourself.



yes i am trying this application in java ,so i need help ,can you help me , if you know how to do .


Sure, but you have to ShowSomeEffort(⇐click) and ask a more specific question first.

As for the actual mechanics of conversion, if you want to write it all yourself, you'll have to get the specs for both formats, understand them, figure out how to translate one to the other without Java or any other programming language, and then start thinking about how to do that conversion in Java.

As a dose of harsh reality, however, I'll point out that if you start by asking "How do I write this program", then you're probably already in over your head. Not that you can't do it, just that it will be a very slow process.
 
Tim Moores
Saloon Keeper
Posts: 3511
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suma Gowda wrote:yes i am trying this application in java

So you said, but I asked "why". Understanding your motivation will make it easier to help you. Writing the converter yourself will almost certainly be the most painful and time-consuming approach you could take.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!