Results 1 to 6 of 6

Thread: Quick Plot Lisp no longer works...

  1. #1
    100 Club
    Join Date
    2004-12
    Posts
    153

    Default Quick Plot Lisp no longer works...

    Ok- so i wrote a lisp routine a long time back to be able to set all the variables to plot so that i don't have to go through the mind numbing task of making sure the print variables are all set the way i need them to be every time i print. Basically i made the lisp and then run it through a macro button so it's quick and easy. Until now...
    My company just installed new printers and here's the issue i'm having. The new printer calls what used to be ledger now 11" x 17" - and when i try and enter that 11"x 17" because of the quotes- it kicks my lisp out the door.

    Can you think of a way to work around this? Is there a way to put the 11" x 17" into a lisp routine so it doesn't force it to think it's part of the routine?

    Here is the full lisp routine.
    (DEFUN C:PLOT4000()(COMMAND "-plot" "y" "" "Ricoh 4000.pc3" "11"x17"" "i" "L" "N" "W" "0.000000,0.000000" "36.000000,24.000000" "Fit" "C" "Y" "$VI_HALF.ctb" "Y" "Y" "N" "N" "N" "N" "Y"))


    Thank you in advance.

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    6,836

    Default Re: Quick Plot Lisp no longer works...

    Have you tried using a forward slash '\' before the new quotes?
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    100 Club
    Join Date
    2004-12
    Posts
    153

    Default Re: Quick Plot Lisp no longer works...

    Got it- that worked. Thanks a ton!
    Last edited by tyeelaw13; 2009-09-30 at 05:48 PM.

  4. #4
    Member
    Join Date
    2009-03
    Posts
    10

    Default Re: Quick Plot Lisp no longer works...

    tyleelaw13,

    I have read your thread and was woundering how did you create a macro button to apply your lisp routine. I'm having issues on how to create one along with a lisp program.

  5. #5
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,344

    Default Re: Quick Plot Lisp no longer works...

    There's various ways. You could save the routine into its own LSP file, or add it to some other. Then you need to have that file loaded automatically, there's quite a few ways of doing that in itself. Otherwise you could add the routine to the ACAD.LSP or ACADDOC.LSP, or your CUI's MNL file. Then the macro would simply call the command, in this case PLOT4000

    Or lastly (if it's a rather small amount of code) you could add the contents of the defun directly into the button's macro.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  6. #6
    Member
    Join Date
    2009-03
    Posts
    10

    Default Re: Quick Plot Lisp no longer works...

    Thank you, for your expalnation on how I can get it to work.

Similar Threads

  1. Previous / Next Project Drawing no longer works
    By twatson.81992 in forum AutoCAD Electrical - General
    Replies: 2
    Last Post: 2008-03-05, 11:32 AM
  2. LISP Block Insert routine no longer works once a parameter is modified
    By JAC.95598 in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2005-11-22, 03:50 AM
  3. Xlist tool no longer works
    By jkramer in forum ACA General
    Replies: 1
    Last Post: 2005-07-27, 06:12 AM
  4. UNDO no longer works
    By patrick.callewier in forum AutoCAD Mechanical - General
    Replies: 7
    Last Post: 2005-02-22, 01:44 PM
  5. Split level overlaying no longer works R5.1.....
    By Martin P in forum Revit Architecture - General
    Replies: 0
    Last Post: 2003-06-20, 08:59 AM

Posting Permissions

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