Answering command line questions

Discussion in 'AutoCAD' started by kdhenry, Oct 7, 2004.

  1. kdhenry

    kdhenry Guest

    I'm writing a Toolbutton macro to join two polylines.

    ^c^c_pedit;m; puts me into a Move command.

    How do I answer command line questions that require alphanumeric input?


    Thank you
    Karl
     
    kdhenry, Oct 7, 2004
    #1
  2. This shouldn't put you into a 'MOVE' command, it does just what you intend
    (I think)
    starts pedit, enters Multiple option, your left with the select objects
    prompt.

    try
    ^c^c_pedit;m;\\;j;

    you'll have to add more to the end in order to specifiy fuzz factor etc.
    Just follow what you do at the command prompt.

    ; = enter (as you know)
    \ = wait for user input (in this case - select object)
     
    Casey Roberts, Oct 7, 2004
    #2
  3. Depends on what version you're running. 2004 allows Multiple selection in
    Pedit; 2000 does not.
     
    Kent Cooper, AIA, Oct 7, 2004
    #3
  4. kdhenry

    kdhenry Guest

    Thank you, Casey, works perfectly now.

    and I just learned another tidbit on how to make life easier.
    have a good one,
    Karl
    (|:-{>
     
    kdhenry, Oct 7, 2004
    #4
  5. kdhenry

    Walt Engle Guest

    You could also use the pljoin.lsp from 2000.
     
    Walt Engle, Oct 7, 2004
    #5
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.