_blank Command Lines...

Discussion in 'AutoCAD' started by smd, Apr 19, 2004.

  1. smd

    smd Guest

    When I'm running my VBA-Macro, AutoCAD is inserting multiple blank Command-lines, I do not use any Send Commands and I did try to avoid it with CMDECHO, but it won't help... Thanks for any ideas ... SMD
     
    smd, Apr 19, 2004
    #1
  2. smd

    SpeedCAD Guest

    Hi...

    Multiple blank Command-lines??. It can be that you are using Events???

    Un saludo de SpeedCAD... ;)
    CHILE
    FORO: http://www.hispacad.com/foro
     
    SpeedCAD, Apr 20, 2004
    #2
  3. smd

    Tim Arheit Guest

    I know 'Application.Update' will do this. I don't know of a way to
    refresh the screen without adding a balnk command line (but it would
    be nice.)

    -Tim
     
    Tim Arheit, Apr 20, 2004
    #3
  4. smd

    pipedrmmr Guest

    SMD,

    As well as CMDECHO, be sure that NOMUTT is set to 0, not 1.

    Lon
     
    pipedrmmr, Apr 27, 2004
    #4
  5. Hi,

    The following code extracts from an MNL file show how to leave a clean
    command line when the CA_DuplicatesPoints command is called from either the
    keyboard or the menu..


    (defun C:CA_DuplicatePoints ()
    (setq sLandToolboxFunction (strcat sLandToolboxPath
    "CADApps_DuplicatePointsL4.dvb!DuplicatePoints"))
    (vl-vbarun sLandToolboxFunction)
    (CADApps_BlankCommandLine sLandToolboxFunction)

    ) ; end Defun CA_DuplicatePoints

    (defun CADApps_BlankCommandLine (spString)
    (setq n (strlen spString))
    (repeat n(prompt(chr 8)))
    (repeat n(prompt(chr 32)))
    (princ)
    ) ; CADApps_BlankCommandLine


    --

    Regards


    Laurie Comerford
    www.cadapps.com.au
     
    Laurie Comerford, Apr 28, 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.