getpoint getstring combo?

Discussion in 'AutoCAD' started by C Witt, Jan 8, 2004.

  1. C Witt

    C Witt Guest

    I need a way of making a single promt that will accept either user
    picked points.. or an entered value (but the entered value may not
    always be a #, could be a string).

    It must be possible.. but how?
     
    C Witt, Jan 8, 2004
    #1
  2. C Witt

    C Witt Guest

    hmm.. What is (initget 128)??

    (and thank you.. this should work)
     
    C Witt, Jan 8, 2004
    #2
  3. C Witt

    C Witt Guest

    nevermind.. I looked it up. Nice command.

     
    C Witt, Jan 8, 2004
    #3
  4. C Witt

    Adesu Guest

    Hi McSwain, I 've got from you a "knowledge",thanks a lot

    (initget 128)
    (setq a (getpoint "\n Pick a point -or- enter a string "))
     
    Adesu, Nov 5, 2004
    #4
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.