vla-intersectwith...

Discussion in 'AutoCAD' started by Devin, Aug 9, 2004.

  1. Devin

    Devin Guest

    I'm trying to use vla-intersectwith, the array returned gives errors. It
    says invalid index when I try to convert it to a list using
    vlax-safearray->list. Anybody know why?

    Thanks,

    Devin
     
    Devin, Aug 9, 2004
    #1
  2. Devin

    Jeff Mishler Guest

    Check this out..... Two ways of getting the coordinate(s)

    $ (setq ints (vla-intersectwith obj1 obj2 acextendnone))
    #<variant 8197 ...>
    _$ (vlax-safearray->list (vlax-variant-value ints))
    (5358.4 5278.53 0.0)
    _$ (setq ints2 (vlax-invoke obj1 "intersectwith" obj2 acextendnone))
    (5358.4 5278.53 0.0)
     
    Jeff Mishler, Aug 9, 2004
    #2
  3. Devin

    Devin Guest

    test
     
    Devin, Aug 9, 2004
    #3
  4. Devin

    Jürg Menzi Guest

    Hi Devin

    Visit my homepage -> 'Free Stuff' and search for 'VxGetInters'...

    Cheers
     
    Jürg Menzi, Aug 10, 2004
    #4
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.