(defun c:plt1 () (vl-load-com) (vl-mkdir "C:\\PLOT-PDF") (setq Path (getvar "dwgprefix")) (setq Dwg_Name (substr (getvar

"dwgname") 1 (- (strlen (getvar "dwgname")) 4))) (setq Dwg_Name1 (strcat "C:\\PLOT-PDF\\" Dwg_Name)) (command "-plot" "y" "model" "dwg to pdf.pc3" "ANSI B (11.00 x 17.00 Inches)" "M illimeters" "Landscape" "No" "Display" "Fit" "Center" "Yes" "as_built" "yes" "As displayed" Dwg_Name1 "no" "yes") )

Sign up to vote on this title
UsefulNot useful