+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Super Member asos2000's Avatar
    Computer Details
    asos2000's Computer Details
    Operating System:
    WinXP
    Using
    AutoCAD 2007
    Join Date
    Sep 2007
    Location
    Cairo Egypt
    Posts
    573

    Default Autolisp function menu

    Registered forum members do not see this ad.

    I want to share a code I found in theswamp.org

    Request: Hi is it possible to get in lisp the menu like in pedit command? see atach.

    Reply: yep the [ ... ] does the trick

    Code:
    (initget "Left Right Up Down Sideways Insideout Forwatd Backwards")
      (setq direction
             (getkword
               "\nElbow direction [Left/Right/Up/Down/Sideways/Insideout/Forward/Backwards ] <Right>: "
             )
      )
    to have the prompt display
    you will need the
    DYNMODE variable set to 1, 2, or 3
    and
    DYNPROMPT variable set to 1
    Attached Images
    Sorry for my English.

  2. #2
    Senior Member Kerry Brown's Avatar
    Using
    not applicable
    Join Date
    Jan 2006
    Location
    Brisbane, Australia UTC+10
    Posts
    195

    Default

    Registered forum members do not see this ad.

    ohhh, that looks familiar.
    Perfection is not optional.
    another Swamper

Similar Threads

  1. Call Autolisp API function from VBA
    By poddarmohit in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 16th Sep 2009, 09:27 pm
  2. Keeping track of variables function to function day to day
    By Hudson in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 27th Aug 2009, 06:13 pm
  3. How to return value Autolisp function
    By techjunkie09 in forum AutoLISP, Visual LISP & DCL
    Replies: 30
    Last Post: 21st Jul 2009, 05:46 pm
  4. Exploring the autolisp SSGET function - part 2
    By CAD Panacea in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 21st Aug 2008, 04:50 am
  5. Exploring the autolisp SSGET function - part 1
    By CAD Panacea in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 20th Aug 2008, 04:50 pm

Bookmarks

Posting Permissions

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