RemoveHiddenLines property of IAcadPViewport

Discussion in 'AutoCAD' started by Bobby C. Jones, May 12, 2004.

  1. I am migrating a routine over that is running w/o problems in 2002. It has
    some calls to vla-get-removeHiddenLines and vla-put-removeHiddenLines for
    floating viewports. I pull up the code and run it in 2004 and it bombs on
    these as they are not recognized functions. This property is still a valid
    property of the interface, but these functions are no bueno. I switched to
    (vlax-get-property pvPortObj 'RemoveHiddenLines) and it is running again.

    Just wanted to know if this has already been discussed or if anyone else has
    seen something similar. Thanks.
     
    Bobby C. Jones, May 12, 2004
    #1
  2. Bobby C. Jones

    Devin Guest

    Bobby,

    The property you are trying to use is obsolete. It was switched for the
    following replacement (check the activex docs for more info):

    ShadePlot



    HTH,



    Devin
     
    Devin, May 12, 2004
    #2
  3. Thanks Devin. That explains it...and a dim wit like me needs plenty of
    explanations <g>
     
    Bobby C. Jones, May 13, 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.