Author Topic: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt  (Read 13667 times)

0 Members and 1 Guest are viewing this topic.

M-dub

  • Guest
Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« on: November 04, 2010, 10:48:04 AM »
I didn't think this was as difficult as it's proving to be.  Maybe I was using a different pdf printer.

How do I do it with DWG to PDF?  Anyone know?

M-dub

  • Guest
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #1 on: November 04, 2010, 11:14:37 AM »
Found it.   :loco:

In the Publish window, hit Publish Options... button and the first option (Default output location (DWG and plot-to-file)) is the one.

mary

  • Guest
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #2 on: April 21, 2011, 09:26:14 PM »
Just saw your post and would like to share with you, that I am running AutoDWG which converts my drawings into PDF file format with easy steps, no more struggle with AutoCAD, I downloaded it from here: http://www.autodwg.com/PDF/

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #3 on: April 21, 2011, 10:24:21 PM »
Just saw your post and would like to share with you, that I am running AutoDWG which converts my drawings into PDF file format with easy steps, no more struggle with AutoCAD, I downloaded it from here: http://www.autodwg.com/PDF/

Does it perform hidden line removal / hidden line substitution, and if so, with the same degree of fidelity?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

huiz

  • Swamp Rat
  • Posts: 913
  • Certified Prof C3D
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #4 on: April 22, 2011, 03:00:42 AM »
I thought there is also an option in AutoCAD to automatically save a pdf and/or dwf everytime you save the dwg.
The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #5 on: April 22, 2011, 03:47:01 AM »
I thought there is also an option in AutoCAD to automatically save a pdf and/or dwf everytime you save the dwg.

Not that I know of
... and I'd have it disabled if there was :)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #6 on: April 22, 2011, 04:05:02 AM »
Mike,
attached is what I do :

This is intended to run from a toolbar button per drawing, not through publisher :)

Note that I haven't modified the code, so you may want to.

I extract the revision number from the border and append it to the base file name.
The PlotConfigurations are deleted and replaced from a template drawing ...  not critical

A folder is made under the Drawing Folder
The PDF is created there.
Code: [Select]
;;;---------------------------------------------------------------------------
;;; CodeHimBelonga kdub@theSwamp
;;;
;;; (c:DWGToPDF_A1)
(defun C:DWGToPDF_A1 (/ old-expert rev_value PDFPath dwgname PDFName)
  (DeleteAllPlotConfigurations)
  (setq old-expert (getvar "EXPERT"))
  (setvar "EXPERT" 5)
;; (or (kdub:stringprintable-p (setq rev_value (_getBorderRevision)))
;;      (setq rev_value "--")
;;  )
;; Workaround for forum posting
  (setq rev_value "--")

  (setq PDFPath (strcat (getvar "DWGPREFIX") "PDF\\")
        dwgname (vl-filename-base (getvar "DWGNAME"))
        PDFName (strcat PDFPath dwgname "[REV " rev_value "].PDF")
  )
  (vl-mkdir PDFPath)
  (if (and (vl-cmdf "-psetupin"
                    "C:/kdub_SteelTools/BLOCKS/_PLOT_Template_2011.DWG"
                    "*"
           )
           (vl-cmdf "-plot"       "no"          "Model"       "DWGToPDF_A1"
                    "DWG To PDF.pc3"            PDFName       "No"
                    "yes"
                   )
      )
    (princ (strcat "PDF File Created: " PDFName))
    (princ "Failed to create PDF File ")
  )
  (setvar "EXPERT" old-expert)
  (princ)
)
;;;---------------------------------------------------------------------------

Code: [Select]
;;;---------------------------------------------------------------------------
;;;
(defun DeleteAllPlotConfigurations ()
  (vl-load-com)
  (vlax-for ps (vla-get-plotconfigurations
                 (vla-get-activedocument (vlax-get-acad-object))
               )
    (vla-delete ps)
  )
)
;;;---------------------------------------------------------------------------
« Last Edit: April 22, 2011, 04:10:45 AM by Kerry »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Jeff H

  • Needs a day job
  • Posts: 6144
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #7 on: April 22, 2011, 05:22:17 AM »
Would Automatic Publish and set for Save work?
« Last Edit: April 22, 2011, 06:46:19 AM by Jeff H »

huiz

  • Swamp Rat
  • Posts: 913
  • Certified Prof C3D
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #8 on: April 22, 2011, 07:13:43 AM »
I thought there is also an option in AutoCAD to automatically save a pdf and/or dwf everytime you save the dwg.
Not that I know of
... and I'd have it disabled if there was :)

Would Automatic Publish and set for Save work?


That 's what I was talking about. Automatic publish will save a PDF each time you save the drawing.

I have disabled it but I can imagine other people like the option.
The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #9 on: April 22, 2011, 08:34:02 AM »
I thought there is also an option in AutoCAD to automatically save a pdf and/or dwf everytime you save the dwg.
Not that I know of
... and I'd have it disabled if there was :)

Would Automatic Publish and set for Save work?


That 's what I was talking about. Automatic publish will save a PDF each time you save the drawing.

I have disabled it but I can imagine other people like the option.


Thanks for letting me know about that one.  And Yes I have disabled it for my users.   :evil:
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #10 on: April 22, 2011, 08:59:08 AM »
...and if you use Sheet Set Manager, you can print to any output format including PDF without any prompts.

Johnvictor

  • Guest
Re: Publish Using DWG to PDF.pc3 AND Suppress Filename Prompt
« Reply #11 on: December 19, 2013, 08:40:49 AM »
I would like to suggest you goggling DWG to PDF online converter so you'll get lot of sites and check the ratings of the sites. According to ratings use one good quality sites, where you'll get the format of DWG to PDF.