Prompt for insertion point

Discussion in 'AutoCAD' started by ecable, Aug 9, 2004.

  1. ecable

    ecable Guest

    I am trying to clean up a routine and need to make it look more like the AutoCAD Prompts. Right now it works but I get a lot of text on the command line. If I turn off cmdecho I get no prompts.
    (command "_.-INSERT" "SG04-detector" "s" AS "r" 0)
    Is there something I can add to the end of the command to prompt for the insertion point and still have it show the block as I insert it.
    AS is my scale factor and rotation is 0.
    AutoCAD 2000i Win 2K
     
    ecable, Aug 9, 2004
    #1
  2. ecable

    T.Willey Guest

    I think if you turn cmdecho off then before your insert command add a line like:
    (prompt "\nInsert point: ")
    Then it will show the way you want.

    Tim
     
    T.Willey, Aug 9, 2004
    #2
  3. ecable

    ecable Guest

    Thanks that works great.
     
    ecable, Aug 9, 2004
    #3
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.