Author Topic: dwf in .Net  (Read 4533 times)

0 Members and 1 Guest are viewing this topic.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
dwf in .Net
« on: June 15, 2006, 04:13:39 PM »
Does anyone know what files are needed to access the dwf stuff for autocad in .Net?  Im trying to write an app that will allow you to batch print DWF's
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

MikePerry

  • Guest
Re: dwf in .Net
« Reply #1 on: June 16, 2006, 09:54:50 AM »

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: dwf in .Net
« Reply #2 on: June 16, 2006, 11:07:35 AM »
ok, question, I'm using C#.  the source files are C++.  can I use them at all?

I guess the reason I ask is I thought the new thing with dot net was the ability to use different programming languages in your program.  Am I way off base?
« Last Edit: June 16, 2006, 11:11:02 AM by CmdrDuh »
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: dwf in .Net
« Reply #3 on: June 16, 2006, 07:33:10 PM »
I have no idea about dwf but if you have an api and some samples in C++ you can do this using DllImport to use the exported functions of the api.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.
- J.R.R. Tolkien

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: dwf in .Net
« Reply #4 on: June 16, 2006, 09:15:00 PM »
Can't help with DWF yet David.
Mark <the Man here> asked me yesterday to put it on my list ... so perhaps you will have it sorted out by the time I'm free to look. :-)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Draftek

  • Guest
Re: dwf in .Net
« Reply #5 on: June 19, 2006, 08:12:51 AM »
David,

You should check out plotting, the dwf issue will merely be a driver selection for autocad.