Results 1 to 2 of 2

Thread: New Plot Device - LISP Routine

  1. #1
    Active Member
    Join Date
    Login to Give a bone

    Default New Plot Device - LISP Routine

    We just upgraded our plotting device and I need to get the new page setups into each of our CAD drawings.

    We have two seperate page setup files. One for 24x36 and another for 30x42. Currently when someone opens a drawing they have to manually run "PSIN30" or "PSIN24" ( our shortcuts coommands for importing pagesetups) to delete the old page setups and import the new ones.

    Can someone help me write a lisp routine that will detect the existing pagesetups in the file, and automatically run "PSIN30" or "PSIN24" when the file is opened.

    We are running AutoCAD Architectural 2005.

    Much appreciated.

  2. #2
    I could stop if I wanted to
    Join Date
    Login to Give a bone

    Default Re: New Plot Device - LISP Routine

    This should get you a list of all plot settings in a drawing
    (mapcar 'cdr(vl-remove-if-not '(lambda(x)(=(car x)3))(dictsearch(namedobjdict) "ACAD_PLOTSETTINGS")))

Similar Threads

  1. Replies: 7
    Last Post: 2016-06-17, 01:13 PM
  2. None plot device has been substituted...
    By SCR73 in forum AutoCAD Plotting
    Replies: 9
    Last Post: 2011-05-05, 12:01 AM
  3. Plot Device Display
    By feargt in forum AutoCAD Plotting
    Replies: 4
    Last Post: 2009-05-14, 02:54 PM
  4. How to convert Plot Lisp routine to VBA
    By ian.cook in forum VBA/COM Interop
    Replies: 3
    Last Post: 2006-07-10, 07:02 PM
  5. Current Plot device?
    By ccowgill in forum AutoLISP
    Replies: 6
    Last Post: 2006-05-16, 12:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts