TheSwamp
CAD Forums => CAD General => Topic started by: M-dub 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?
-
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.
-
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/
-
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?
-
I thought there is also an option in AutoCAD to automatically save a pdf and/or dwf everytime you save the dwg.
-
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 :)
-
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.
;;;---------------------------------------------------------------------------
;;; 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)
)
;;;---------------------------------------------------------------------------
;;;---------------------------------------------------------------------------
;;;
(defun DeleteAllPlotConfigurations ()
(vl-load-com)
(vlax-for ps (vla-get-plotconfigurations
(vla-get-activedocument (vlax-get-acad-object))
)
(vla-delete ps)
)
)
;;;---------------------------------------------------------------------------
-
Would Automatic Publish and set for Save work?
-
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.
-
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:
-
...and if you use Sheet Set Manager, you can print to any output format including PDF without any prompts.
-
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.