rajeshmuthu Posted February 27, 2014 Author Posted February 27, 2014 Hi MSasu, sorry for the delay. is the routine printing successfuly in fact and the issues were the location of the PDF files and their naming? Yes correct...its printing successfuly but the issues are "the location of the PDF files and their naming only" By the way, did you checked the PUBLISH feature of AutoCAD? Yes... I checked the PUBLISH command. its good one but Every time i have to set the PDF file output location in the "PUBLISH options" for each projects manually. becoz the PDF file out path location will be different for each projects. Quote
rajeshmuthu Posted March 15, 2014 Author Posted March 15, 2014 Can someone help to fix this issue? It would be very helpful if i got any help. Quote
ReMark Posted March 15, 2014 Posted March 15, 2014 It seems you are getting help from a couple of members so why don't you just have some patience and await further replies? This is not an "on demand" service that you have paid for. Members volunteer not only their time but their efforts as well. A little appreciation for that fact would be nice. Quote
hosyn Posted July 16, 2015 Posted July 16, 2015 My fault, I had not tested the code in Layout, too. So please find below a fixed version and sorry for inconvenience. (defun c:test12 ( / cm ) (setq cm (getvar 'CMDECHO)) (setvar 'CMDECHO 0) (command "_.-plot" "_y" (if (= 1 (getvar 'TILEMODE)) "Model" (getvar 'CTAB)) "DWG To PDF.pc3" "ARCH D (36.00 x 24.00 Inches)" "_M" "_L" "_N" "_E" "_F" "_C" "_Y" "monochrome.ctb" "_Y" ) (if (= 1 (getvar 'TILEMODE)) (command "_A") (command "_N" "_Y" "_N") ) (command (strcat (getvar 'DWGPREFIX) "PDF files\\" (vl-filename-base (getvar 'DWGNAME))) "_Y" "_Y") (setvar 'CMDECHO cm) (princ) ) (vl-load-com) (princ) I checked this routin for first time after load it saved in my documents after running again plot it save in proper location!!!!!!!!!!!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.