Results 1 to 2 of 2

Thread: Quick Plot Routine

  1. #1
    Member
    Join Date
    2004-08
    Posts
    2
    Login to Give a bone
    0

    Question Quick Plot Routine

    Hello all,
    I am trying to get an easy plot program for Autocad 2004, I have some uninitiate users here at the shipyard who need a very simple way to print by picking (2) points. I pirated this cool LISP routine off the internet that some very helpful guy had available for free. He ran the following to capture (2) points that the user picks...

    (setq pt1 (getpoint "\nSelect Lower Left Hand Corner
    of Plotting Area: "))
    (setq pt2 (getcorner pt1 "\nSelect Upper Right Hand
    Corner of Plotting Area: "))

    and then he ran the following to use those points to define the plot window.

    (command "-plot" "Yes" "Model" pltyp plsize "Millimeters"
    "Landscape" "No" "Window" pt1 pt2 "Fit" "Center"
    "Yes" plstyle "Yes" "No" "No" "Yes" "Yes")

    Everything works fine, but for some reason Autocad 2004 is not recognizing the points! It defaults to the last plot window picked, whatever that was (extents, points, whatever) and fits it on the page. Usually it just plots out a blank sheet. I have the .dcl and .lsp files that I used if that will help explain.

    Can someone tell me what I am doing wrong? Can this routine work in 2004, or will the points not be recognized? As you can tell I am not real up on LISP so any assistance would be sooooooo greatly appreciated. Thanks!

  2. #2
    Member
    Join Date
    2004-08
    Posts
    2
    Login to Give a bone
    0

    Default Re: Quick Plot Routine

    Further to this post here is the LISP file... wouldn't let me do the dcl file...
    JV
    Attached Files Attached Files

Similar Threads

  1. Quick Plot
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2014-10-23, 01:00 PM
  2. 2014: Quick Plot to PDF Macro
    By sbrennan in forum AutoCAD Customization
    Replies: 3
    Last Post: 2014-03-17, 04:54 PM
  3. Routine to create quick preset views
    By supermanmud in forum AutoLISP
    Replies: 6
    Last Post: 2011-10-05, 12:16 PM
  4. Quick Plot menu button
    By sigmaman88 in forum AutoLISP
    Replies: 3
    Last Post: 2010-05-13, 11:05 AM
  5. Quick Plot
    By sigmaman88 in forum VBA/COM Interop
    Replies: 1
    Last Post: 2010-04-27, 07:56 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
  •