FILEDIA Trouble With PUBLISH

Discussion in 'AutoCAD' started by TomD, Jul 12, 2004.

  1. TomD

    TomD Guest

    From the command line, with FILEDIA off, the following happens:

    Command: filedia
    Enter new value for FILEDIA <1>: 0
    Command: -publish
    Enter name of sheet list <C:\WINDOWS\Temp\cecdwflogtemp.dsd>:

    ....which is exactly what I want. When I try to ensure this with VBA, I'm
    still getting the dialog for the DSD file:

    iOldFileDia = ThisDrawing.GetVariable("FILEDIA")
    ThisDrawing.SetVariable "FILEDIA", 0
    ThisDrawing.Save
    ThisDrawing.SendCommand "-PUBLISH" & vbCr & DsdFileName & vbCr

    This works, except that the dialog comes up and the user has to select it
    and press ok.

    Any thoughts appreciated.
     
    TomD, Jul 12, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.