See the top rated post in this thread. Click here

Page 6 of 6 FirstFirst ... 23456
Results 51 to 54 of 54

Thread: Distance Lisp Routine Help

  1. #51
    Member
    Join Date
    2011-03
    Posts
    8
    Login to Give a bone
    0

    Default Re: Distance Lisp Routine Help

    Hello again.
    I wonder if the Lisp can be edited so that the EVAC-ROUTE layer is set not to print? (Layer Properies Manager> no-plot function).

  2. #52
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,105
    Login to Give a bone
    0

    Default Re: Distance Lisp Routine Help

    Sure it can. I'm not going to code that, though. Please look at the Create Layer function in the posted code. It starts off with
    Code:
      ;;||||||||||||||||||||||||||||||||||
      ;; Create Layer                     
      ;; Function provided by others      
      ;;||||||||||||||||||||||||||||||||||
      (defun
            MLAYC
    Somewhere in that function, you could add the necessary code to handle this request.
    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. #53
    I could stop if I wanted to
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    275
    Login to Give a bone
    0

    Default Re: Distance Lisp Routine Help

    On Opie permit


    ;; Create Layer
    ;; Function provided by others
    ;;||||||||||||||||||||||||||||||||||
    (defun
    MLAYC
    (LAYNAME COLOR)
    (if (= NIL (tblsearch "layer" LAYNAME)) ; check if LAYER exist
    (command "-layer" "m" LAYNAME "c" COLOR "" "")
    ;if not exist, create LAYER
    (progn
    (command "-layer" "t" LAYNAME "") ; Thaw LAYER
    (command "-layer" "on" LAYNAME "") ; Turn on LAYER
    (command "-layer" "s" LAYNAME "") ; Set LAYER CURRENT
    (command "-layer" "P" "n" LAYNAME "");set layer to NO PLOT
    )
    )
    )

  4. #54
    Member
    Join Date
    2011-03
    Posts
    8
    Login to Give a bone
    0

    Default Re: Distance Lisp Routine Help

    You're great. Thank you for your time.

    Primus.

Page 6 of 6 FirstFirst ... 23456

Similar Threads

  1. Surveying Bearing/Distance LISP Routine
    By BoarsNest01 in forum AutoLISP
    Replies: 59
    Last Post: 2017-03-02, 10:19 PM
  2. Help with a lisp routine to add a 12" line to this routine
    By Orbytal.edge341183 in forum AutoLISP
    Replies: 3
    Last Post: 2012-11-14, 10:33 PM
  3. Combine three lisp routine into one routine.
    By BrianTFC in forum AutoLISP
    Replies: 1
    Last Post: 2012-02-08, 12:14 PM
  4. Replies: 9
    Last Post: 2012-01-21, 07:58 AM
  5. distance routine
    By hernan.fuentes in forum AutoLISP
    Replies: 2
    Last Post: 2010-06-22, 02:36 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
  •