• Home
  • CADnotes Store
    • AutoCAD Block Best Practices
    • Document Management with AutoCAD Sheet Set
  • Write for CADnotes
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial

How to: create DWF/PDF automatically when you save AutoCAD drawing

January 8, 2013 by Edwin Prakoso 17 Comments

Table of Contents

  • Auto Publish
  • Auto Publish options
  • Let the others see your drawings!

Plotter worker

© Alfonso de Tomás – Fotolia.com

Do you need to create DWF or PDF for your drawing to share it with your coworkers? Sometimes you have to do this because not everyone have access to AutoCAD. Of course, you can ask them to install DWG TrueView, free DWG viewer from Autodesk. But not everyone want to install it, especially if they don’t have a good hardware.

PDF probably is a better choice if you often share your drawing with non CAD users. Almost everybody today has PDF reader installed in their computer. And you can open DWFx by using Internet Explorer 7 or later (doesn’t work with other internet browser, only IE. Try this link to open a sample DWFx)

Auto Publish

AutoCAD offers automatic publish to DWF or PDF. You can choose it to create DWF/PDF automatically when you save your file. When you share your drawing on a shared location, you can be sure if the PDF is also updated. No need to worry that you forget to update it!

To enable Auto publish, open AutoCAD options. In ‘Plot and Publish’ tab, you can enable Automatic Publish on the bottom left of the dialog.

Auto_publish_option

Auto Publish options

If you click ‘Automatic Publish Settings…’ you can change some options, so it will suit your needs.

Auto_Publish_Settings

First, Publish On. You can choose to auto publish every time you save the drawing or when you close it. Or let AutoCAD to ask you first. Publish when close is more relevant. Because we often save drawings even we haven’t finished it yet. We don’t want people to see unfinished drawings, aren’t we?

You can set the save location, what to save (model and/or layouts) and file format.

Let the others see your drawings!

This is a nice option to have, if we work with many non CAD users. It’s tedious to update the PDF/DWF every time we make changes. And we often forget to do it, so people may see old drawings instead of the last version.

About Edwin Prakoso

I work as an Application Engineer in Jakarta, Indonesia. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and also active in Autodesk discussion forum.
I'm an Autodesk Certified Professional (ACP) for Revit Architecture and AutoCAD. I'm also a member of Autodesk Expert Elite, appreciation for individuals who give contribution to Autodesk community.
Connect with me on twitter or LinkedIn

Filed Under: AutoCAD Tagged With: autocad tips

17
Leave a Reply

avatar
wpdiscuz_captcharefresh
4 Comment threads
13 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
6 Comment authors
HenryAkhtar RashidEdwin PrakosoBirger HålandRenderMan Recent comment authors
avatar
wpdiscuz_captcharefresh

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of
Henry
Guest
Henry

The only problem is, that Autocad 2018 doesn’t close after auto publish.

Hit X – Save? – Yes – Auto publish? Yes – No close.

Vote Up0Vote Down  Reply
2 years ago
Edwin Prakoso
Author
Edwin Prakoso

I tried this feature on AutoCAD 2018, and it works just like expected. AutoCAD closed after auto publish.
Do you use the same settings as in the older version?

Vote Up0Vote Down  Reply
2 years ago
Henry
Guest
Henry

Yes, exactly the same settings. I checked.

Vote Up0Vote Down  Reply
2 years ago
Edwin Prakoso
Author
Edwin Prakoso

The only thing that I can suggest now is to check the background publishing option. Try to disable it and see if it fix the issue.

Vote Up0Vote Down  Reply
2 years ago
Henry
Guest
Henry

That was disabled, I abled it and then disabled it.
Didn’t work.

Vote Up0Vote Down  Reply
2 years ago
Akhtar Rashid
Guest
Akhtar Rashid

Dear Edwin Prakoso, I am a great fan of your useful tips and tricks posted on this website. I have a problem to be solved through your nice help. I do not have a plotter installed on my computer. Usually I go to market for printing large sheets and get prints through model space. I want to prepare my layouts at home and get them printed from the market. How is possible without a plotter installed on the computer. If I select None printing deceive, will it still be printed in the same way, I mean the borders I have… Read more »

Vote Up0Vote Down  Reply
4 years ago
Edwin Prakoso
Author
Edwin Prakoso

Akhtar,
My suggestion is to plot it to pdf or dwf. Then you can bring the file and plot it. It will have all the predefined settings, and you can print it anywhere.

Vote Up0Vote Down  Reply
4 years ago
Birger Håland
Guest
Birger Håland

Is it possible to autopublish to both pdf AND dwf at the same time ?

Vote Up0Vote Down  Reply
5 years ago
Edwin Prakoso
Author
Edwin Prakoso

Not possible if you use AutoCAD out of the box. You need a LISP program to do that.

Vote Up0Vote Down  Reply
5 years ago
Birger Håland
Guest
Birger Håland

Do you know of any lisp made that does that or do I have to learn it ? ;)

Vote Up0Vote Down  Reply
5 years ago
Edwin Prakoso
Author
Edwin Prakoso

Try to post a request in CADTutor Forum. The kind gentlemen and ladies over there will be happy to help :)

Vote Up0Vote Down  Reply
5 years ago
Fadi Antoon
Guest
Fadi Antoon

Thank you for a great post, I wasn't aware of this! One question though, is this a global setting or can it be altered to be "drawing specific".

Sincerely.

Vote Up0Vote Down  Reply
6 years ago
Edwin Prakoso
Author
Edwin Prakoso

Thank you Fadi :)
The variable is saved in registry, so it's a global setting. It applies to all of your drawings.

Vote Up0Vote Down  Reply
6 years ago
RenderMan
Guest
RenderMan

While the AUTOMATICPUB System Variable is a global setting, one can easily change it as needed via one's AcadDoc.lsp file at drawing open. For example, one can search the DWGPREFIX System Variable to check for if a given drawing is a Model, or a Sheet (presuming these are kept in different directories, or have specific file naming conventions), and employ the SETVAR function accordingly: (setvar 'automaticpub 1) ;; on (setvar 'automaticpub 0) ;; off Now, to make this a complete automation, one *should* also incorporate a Visual LISP DocManager Reactor, specifically monitoring the :vlr-DocumentBecameCurrent Event, so that this setting is… Read more »

Vote Up0Vote Down  Reply
6 years ago
RenderMan
Guest
RenderMan

Pseudo code (written quickly): [code] (vl-load-com) (defun Automaticpub:Start () (or *Automaticpub_Reactor* (setq *Automaticpub_Reactor* (vlr-docmanager-reactor "My automaticpub reactor" '( (:vlr-DocumentBecameCurrent . Automaticpub:DocumentBecameCurrent ) ) ) ) ) (prompt "nAutomaticpub reactor loaded. ") (princ) ) (defun Automaticpub:DocumentBecameCurrent (rea doc) (prompt "nAutomaticpub = ") (princ (setvar 'automaticpub (cond ((wcmatch (setq dwgPrefix (strcase (getvar 'dwgprefix))) "*SHEET*" ) 1 ) (T 0) ) ) ) ) (defun c:AutomaticpubOff () (if *Automaticpub_Reactor* (progn (vlr-remove *Automaticpub_Reactor*) (setq *Automaticpub_Reactor* nil) (prompt "n** Automaticpub reactor stopped ** ") ) ) (princ) ) (Automaticpub:Start) (prompt "nInvoke "AUTOMATICPUBOFF" to end. ") (princ) [/code] ** Note – Just noticed that this posting… Read more »

Vote Up0Vote Down  Reply
6 years ago
Edwin Prakoso
Author
Edwin Prakoso

Thank you very much RenderMan… Great to see your comment here.

Nice code, I believe many can use it. It looks like many people like auto publish.

Yes, the posting system doesn't support bbcode like in forums. It's very unfortunate, but this is the best system I know to fight spam comments.

Vote Up0Vote Down  Reply
6 years ago
RenderMan
Guest
RenderMan

No worries, Edwin; I am happy to help. :beer:

Vote Up0Vote Down  Reply
6 years ago

Featured

Work Better with AutoCAD | Challenge 5 – Learn the new features

Autodesk releases new AutoCAD version annually. Do you learn the new features? Many of the new features can help you to be more productive!

Vertical Compound Wall

E-book: Top 25 AutoCAD Productivity Tips

Advertisement

Get Connected


Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

© 2009 – 2019 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz