In what time I have spare I've been fiddling with some very basic lisps cut and carving them to get some very basic processes made easier for my everyday work.I've managed to get create a lisp that will do thew above but is no way perfect and I have one fundemental flaw.
I get iit to create the PDF,all great but it gets the drawing name together with .dwg file extension .so my file is drawingno.dwg.pdf .How do I get it to ignore the .dwg when it gets the drawing name?
Also we normally add all our PDF files to one folder,where as our dwg files are dotted about in different folders,my routine will only create a PDF within the folder the drawing is located.Is there a utility that will grab all my PDF files afterwards and do a cut and paste to the desired folder?Id rather do it this way than have to specifiy the folder to place the PDF every time.Here's my humble code
;;PLOT TO PDF
(DEFUN C:PDF ()
(command
"-plot" "n" "" "" "DWG To PDF.pc3" (getvar "dwgname") "N" "Y")(princ))
Suiggestions welcome as to what I should have done with my code.Like I shouldve had the bottom line broken up more into further lines.
Oh I forgot to say to big hello to you all not been around much busy with my flat,girlfriend and work.