Problem with DWF

Discussion in 'AutoCAD' started by SpeedCAD, Jun 22, 2004.

  1. SpeedCAD

    SpeedCAD Guest

    Hi...

    I did a application to convert DWG2DWF, but I have a problem with AutoCAD 2005.

    This one work fine in Acad2004 but Acad2005 don't:

    ObjPlot.PlotToFile(DWF, PC3)

    DWF = Path + dwfname
    PC3 = "DWF6 ePlot.pc3"
     
    SpeedCAD, Jun 22, 2004
    #1
  2. Did you set BACKGROUNDPLOT sysvar to 0?
    The default value of BACKGROUNDPLOT is 2. As a result plots from the API
    will be generated in background. Since the second plot will be start before
    the first one ended, it will fail.

    Ravi
    Autodesk, Inc.
     
    Ravi Pothineni, Jun 22, 2004
    #2
  3. SpeedCAD

    SpeedCAD Guest

    Hi Ravi Pothineni...

    Ok, I will prove the system variable. One thing more, the problem is in the DWF name. When I write the dwf name, for example:

    ObjPlot.PlotToFile("C:\Folder\MyFile.dwf", PC3) then some time there is error.

    But if I write only the folder then it work fine.

    ObjPlot.PlotToFile("C:\Folder\, PC3)

    The system variable it solve?

    Thanks
     
    SpeedCAD, Jun 29, 2004
    #3
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.