Command suppression using (command "vplayers"..)

Discussion in 'AutoCAD' started by tsigwing, Dec 22, 2003.

  1. tsigwing

    tsigwing Guest

    I am using the following to freeze layers in certain viewports:

    (vl-cmdf "vplayer" "f" "*e-*,*e|*,*m|*,*m-*,*clng*,*flor*,*furn*,*text*,*prop*" "s" vp "" "T" "XREF" "s" vp "" "")

    It works fine but spews everything to the command prompt which stinks. Any way to suppress this or a better way to freeze layers in viewports?
     
    tsigwing, Dec 22, 2003
    #1
  2. tsigwing

    Scott Guest

    You probably already know this, or have done it, but try setting cmdecho to
    0. I don't know if it will help, but it is a start...

    Scott

    "*e-*,*e|*,*m|*,*m-*,*clng*,*flor*,*furn*,*text*,*prop*" "s" vp "" "T"
    "XREF" "s" vp "" "")
    Any way to suppress this or a better way to freeze layers in viewports?
     
    Scott, Dec 22, 2003
    #2
  3. tsigwing

    John Uhden Guest

    Other than the cmdecho suggestion, as you had inquired earlier, check out my
    response in the "vla-sendcommand" thread.
    Meanwhile, no, there is no other method (save perhaps ARX) to accomplish what
    the VPLAYER command does.




    "*e-*,*e|*,*m|*,*m-*,*clng*,*flor*,*furn*,*text*,*prop*" "s" vp "" "T" "XREF"
    "s" vp "" "")
    way to suppress this or a better way to freeze layers in viewports?
     
    John Uhden, Dec 23, 2003
    #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.