Path Location

Discussion in 'AutoCAD' started by BobBuilder, Jan 12, 2004.

  1. BobBuilder

    BobBuilder Guest

    Hi,

    When you insert a new support path remotley using lisp, how do you tell it to put it abt the bottom of the list?

    E.g 0 tells it to go to the top, what number tells it to go to the bottom?

    Cheers

    BobT.
     
    BobBuilder, Jan 12, 2004
    #1
  2. If you insert a new support path using setenv function, path's order in list will determine by path's order in string, what you put in function.

    E.g.
    Code:
    (setenv "ACAD" (strcat (getenv "ACAD") "C:\\MyPath"))
    add path "C:\\MyPath" to the bottom of list, and

    Code:
    (setenv "ACAD" (strcat "C:\\MyPath;" (getenv "ACAD")))
    insert path "C:\\MyPath" to the top of list.
    _____________________
    Igor Kostiukovitch
    e-mail:
     
    Igor Kostiukovitch, Jan 19, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.