Quickly Output PDF & DWF Files

Do you commonly share your drawings as PDF files with others? Did you know you can automate PDF creation or quickly create PDF files with a few clicks?

Well, you're in luck. AutoCAD includes two features that let you quickly create PDF (or DWF) files.

Note: The video doesn't contain audio or closed captions.
Note: Steps, images, and videos may differ slightly from your version of the product.

Setup Automatic Publishing

Now, we'll setup Auto Publish to create a PDF of the layouts in fully automatic mode. Each time you save, Auto Publish will create a PDF for each layout.

  1. Open the Options dialog using the OPTIONS command (or the OP shortcut).
  2. In the Options dialog, click the Plot and Publish tab.
  3. Select Automatic Publish.

  4. Click Automatic Publish Settings.
  5. In the Auto Publish Settings dialog box, there are a few settings that you may want to change.
  6. Set Include to Layouts.

    Include - Allows you to control whether to publish the model, the layouts or both the model and layouts to the PDF.

  7. Set Type to Single-sheet file.

    Type - Controls whether to create a single-sheet for each layout or all layouts in a multi-sheet PDF.

    File naming

    • When the Type is set to Single-sheet file, the PDF (or DWF) files are named using the drawing filename and the layout name separated by a hyphen, for example, A-02-ELEVATIONS.pdf.
    • When Type is set to Multi-sheet file, the PDF (or DWF) file is named using the drawing file name, for example, A-02.pdf.
  8. Set File format to PDF.

    File format - Sets the output format for publishing. You can select from PDF, DWFx, or DWF.

  9. Click OK.
  10. Click OK again in the Options dialog.

Additional Auto Publish Options

  • Publish on - Specifies when the publishing takes place: on drawing Save or Close. In addition, you can choose to have the publish occur automatically or you can be prompted.
  • Location - Sets the folder where exported files are saved when you publish drawings. There are three options: in the same folder as the drawing, in a sub-folder under the drawing's folder, and a folder you select. Once you select a folder, it is remembered in a list of recent locations.
  • For more information about Auto Publish settings, see Auto Publish Settings Dialog Box.

Automatic Publish

Now that you have configured Auto Publish, let's give it a try.

  1. Open a drawing.
  2. Set one of the layouts current.
  3. On the Quick Access Toolbar, click Save.

    You'll see the Publish Job Progress dialog briefly appear.

Note: Auto Published PDF, DWF, or DWFx files automatically overwrite existing versions of the same name.

Automatic Publish with Prompts

If you want to control whether a PDF or DWF is created, you can set the Publish on setting to Prompt on save or Prompt on close.

  1. Open the Options dialog using the OPTIONS command (or the OP shortcut).
  2. In the Options dialog, click the Plot and Publish tab, enable Auto Publish if it's not already set.
  3. Click Automatic Publish Settings.
  4. In the Auto Publish Setting dialog, specify the following:
    • Publish on to Prompt on Save.
    • Set Type to Single-sheet file.
    • Set File format to PDF.
  5. Click OK.
  6. In the Options dialog box, click OK.
  7. Now open a DWG and save it.
    You will see the Auto-Publish message dialog.
  8. Click Yes to create the PDF, or No to skip it.

Start Auto Publish Manually

You can also start Auto Publish manually or with a script. Below are the steps to manually start Auto Publish.

  1. At the Command prompt, enter AUTOPUBLISH.
  2. At the AutoPublish DWF or specify override [Location] <AutoPublish>: prompt, press Enter to select the AutoPublish option and start the publish.

To publish to a specific location, select the Location option.

  1. At the Command prompt, enter AUTOPUBLISH.
  2. At the Command prompt, enter L to select the location option.
  3. Select the folder where the PDF is to be created.

Quick Export to PDF from a Layout

The first time using the Quick Export feature, you may need to select the output format; PDF, DWF, or DWFX. After the format is selected, the Export button can be clicked directly.

  1. Open a drawing.
  2. Set one of the layouts current.
  3. Click Output tab > Export to DWG/PDF panel > Export drop-down menu > PDF. Find
    Note: Alternatively, enter EXPORTPDF at the Command prompt.
  4. Select the folder for the PDF.
  5. Name the PDF.
  6. Click Save.
Note:
  • The last folder selected used is remembered for the next time.
  • If you want to automatically see the resulting PDF, choose Open in viewer when done.

Quick Export to a PDF from Model Space

The first time using the Quick Export feature, you may need to select the output format, PDF, DWF, or DWFX. After the format is selected, the Export button can be clicked directly.

  1. Open a drawing.
  2. Set the Model tab current.
  3. Click Output tab > Export to DWG/PDF panel > Export: Window from the drop-down list.
  4. In the Export to DWF/PDF - Specify Window Area message box, click Continue to select the area.
  5. In the Export to DWF/PDF - Preview Window Area message box, click Display a preview.
  6. Review the preview.
  7. Click Export on the Preview toolbar to output the window area.
  8. Select a folder for the PDF.
  9. Name the PDF.
  10. Click Save.
Note: In model space, there are three export options you can select: objects currently displayed, drawing extents, or a selected area.

Related Commands and System Variables

Here are some frequently used commands and system variables related to publishing PDF and DWF automatically.

Command Description
AUTOPUBLISH Publishes drawings to DWF, DWFx, or PDF files automatically to a specified location.
EXPORTPDF Generates a PDF file from a single layout, all layouts, or a specified area in model space.
EXPORTDWF Creates a DWF file and allows you to set individual page setup overrides on a sheet-by-sheet basis.
EXPORTDWFX Creates a DWFx file where you can set individual page setup overrides on a sheet-by-sheet basis.
System Variable Description Default Value Saved in
AUTODWFPUBLISH Controls whether DWF (Design Web Format) files are created automatically when you save or close drawing (DWG) files. 0 Registry
EXPORTEPLOTFORMAT Sets the default electronic file output displayed on the ribbon: PDF, DWF, or DWFx. 2 User-settings