I was able to look at it and it now works great. Thanks again for the help,
I'm now off to tell my boss. Now I just need to wait for the released
version of DWFwriter 2 to implement it.
Cheers,
Joe
>
> "Garrick Evans" wrote in message
> news:6C46B5EE0938365369EEE9808032DEB9@in.WebX.maYIadrTaRb...
> > Joe,
> >
> > Thanks for the detaled reply. If you haven't already, I encourage you
to
> > get the beta version of DWFwriter 2. It is available here:
> > http://betaprograms.autodesk.com/betaweb.htm
> >
> > This version has the option of suppressing the "Save As" dialog box and
> > providing a directory path for publishing the DWFs to. I should say
that
> > there is a slight caveat in this however. The DWFwriter printer driver
> was
> > developed specifically for Revit which interacts with the driver more
> > intimiately than any other application does. Part of this interaction
is
> > the exchange of the target DWF filename, and thus, no dialog box is
shown.
> > The developers left in the "Save As" dialog box for the case when other
> > (non-Revit) applications would use the driver, though it is not
supported.
> >
> > Future versions of the driver will attempt to expand support across many
> > applications. However, it is still just a printer driver, not a
software
> > library. As such, if an application is not inherently aware of the
driver
> > it will not be able to specify the DWF filename directly. However,
> > DWFwriter 2 Beta does provide the option under "Advanced Properties" ->
> "DWF
> > Filename" to select "Don't prompt - use source filename". Make this
> choice
> > and the "Save As" dialog will not appear any longer.
> >
> > When DWFwriter 2 Beta is installed, a string value in the registry is
> > created with an empty value:
> >
> > HKCU\Software\Autodesk\DWFwriter\2\Publish Directory
> >
> > Change this value to your desired target directory (with or without a
> > trailing \) and your DWF files will land here.
> >
> > Your DWF file will be named based on the source file that was "printed"
by
> > your application. I've tried an Inventor 7 file, and it came out named
> > "engine_assy.dwf"
> >
> > I hope this will solve your immediate needs. Please don't hesitate to
> offer
> > feedback on the beta - please do so using the form provided at the beta
> > programs site however.
> >
> > "Joe Bartels" wrote in message
> > news:667C9E924BD4D8ACF89EE51297B34341@in.WebX.maYIadrTaRb...
> > > Basically what I would like the DWFwriter do is interact with the
> Inventor
> > > API correctly. Currently it will not run as a silent operation, or
> > > PrintToFile out of the API correctly.
> > >
> > > We currently use Inventor and the rest of our company uses Windows 98.
> > > Since Volo View doesn't view Inventor files on Windows 98 I wrote a VB
> > macro
> > > that will save a DWF to a server location every time an Inventor
drawing
> > > file is saved. This macro runs silently and there's no interaction
with
> > the
> > > designer. So far this has worked very well for us to distribute
> > information
> > > to our purchasers, vendors, and weld shop.
> > >
> > > We have run into the problem with the DWF not centering correctly. I
> > > downloaded the DWFwriter to test it out and it fixes the problem if
you
> > use
> > > the Best Fit option. I tried to write a new marco that would now
print
> > the
> > > DWF to the DWFwriter without any interaction by the user and ran into
> some
> > > obstacles. The DWFwriter will always bring up the prompt to save the
> > file,
> > > even when you try to run the operation silently. I have also tried to
> > have
> > > the code PrintToFile and it will save an empty file to the server
> > location,
> > > and it still prompts for a save.
> > >
> > > So, until Inventor has the same print options while doing a Save As,
or
> > the
> > > DWFwriter can print silently or actually PrintToFile we have to just
> deal
> > > with it. I'm not a VB expert by any means so I could be easily
missing
> > > something. I have also tried to contact Autodesk on many fronts and
all
> > > I've been told is Autodesk doesn't support any customization, even
> though
> > > it's their API that's not performing correctly.
> > >
> > > Joe Bartels
> > >
> > > "Garrick Evans" wrote in message
> > > news:05E4DA69E121BFDA81E0800BF361DD7D@in.WebX.maYIadrTaRb...
> > > > Could you elaborate your last comment, please? What are you
requesting
> > > that
> > > > DWFwriter do?
> > > >
> > >
> > >
> >
> >
>
>