OrthoOn

Discussion in 'AutoCAD' started by jthoutman, Aug 14, 2003.

  1. jthoutman

    jthoutman Guest

    I cannot get the OrthoOn to work.

    Dim viewportObj as AcadViewport
    Set viewportObj = ThisDrawing.ActiveViewport
    MsgBox "Ortho mode is: " & IIf(viewportObj.OrthoOn,"On","Off"

    This either gives me an error or always
    returns Off.
    The same is true for SnapOn

    Why??
     
    jthoutman, Aug 14, 2003
    #1
  2. jthoutman

    James Murphy Guest

    Missing a  ")" at the end.



     



    Murph



     



    "jthoutman" <> wrote in message news:...

    I cannot get the OrthoOn to work.

    Dim viewportObj as AcadViewport
    Set viewportObj = ThisDrawing.ActiveViewport
    MsgBox "Ortho mode is: " & IIf(viewportObj.OrthoOn,"On","Off"

    This either gives me an error or always
    returns Off.
    The same is true for SnapOn

    Why??
     
    James Murphy, Aug 14, 2003
    #2
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.
Similar Threads
Loading...