Turn off lineweights

Discussion in 'AutoCAD' started by kadway, Jul 27, 2003.

  1. kadway

    kadway Guest

    Is there a way to turn off lineweight with VB other than using the "SendCommand". I'm using "Thisdrawing.SendCommand "lwdisplay" & vbCr & "0" & vbCr" to turn off the lineweights in a drawing. It works with no problems but I prefer not to use "SendCommand" if any other way is available. I have tried several different things but none seem to work. I've searched the different groups but have not found anything. Can anyone help me here.

    Thanks
    Ken
     
    kadway, Jul 27, 2003
    #1
  2. ThisDrawing.SetVariable "LWDisplay", 0


    --
    R. Robert Bell, MCSE
    www.AcadX.com


    "kadway" <kdale> wrote in message | Is there a way to turn off lineweight with VB other than using the
    "SendCommand". I'm using "Thisdrawing.SendCommand "lwdisplay" & vbCr & "0" &
    vbCr" to turn off the lineweights in a drawing. It works with no problems
    but I prefer not to use "SendCommand" if any other way is available. I have
    tried several different things but none seem to work. I've searched the
    different groups but have not found anything. Can anyone help me here.
    | Thanks
    | Ken
    |
     
    R. Robert Bell, Jul 27, 2003
    #2
  3. kadway

    kadway Guest

    Thanks!! Your help is greatly appreciated. Don't know why that one excaped me. Ken
     
    kadway, Jul 27, 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.