Results 1 to 3 of 3

Thread: Intersectwith issue

  1. #1
    Active Member
    Join Date
    2008-06
    Posts
    52
    Login to Give a bone
    0

    Default Intersectwith issue

    I'm having some trouble resetting the value returned from an "intersectwith". Depending on how I handle resetting the "Intpoints" I almost always get True for all Test or false for all test. I know based on my model I should be getting a mix.

    To test this set up a drawing with Nested XREFS. Once I get the intersection issue figured out it should report back which Xrefs overlap the "test" area.

    Thanks in advance,

    Robert
    Attached Files Attached Files

  2. #2
    Active Member
    Join Date
    2008-06
    Posts
    52
    Login to Give a bone
    0

    Default Re: Intersectwith issue

    I think I just figured it out... I'm testing now...

    yesterday I crashed once while I was testing. In the process I lost the code that set "testhatchobj".... if you look at the intersectwith statement I'm intersecting the hatchobj with the testhatchobj! if I would have looked back up through the code I would have realized that testhatchobj was never set!!! errrr!

  3. #3
    Active Member
    Join Date
    2008-06
    Posts
    52
    Login to Give a bone
    0

    Default Re: Intersectwith issue

    ok didn't expect it... but I guess I should have. When I added the Testhatchobj back into the code and ran it... AutoCAD locked up and died. LOL

    guess I know what made me crash yesterday!

    any thoughts are welcome!

Similar Threads

  1. IntersectWith motod problem VBA
    By 4gokay372489 in forum VBA/COM Interop
    Replies: 1
    Last Post: 2013-02-06, 11:22 AM
  2. IntersectWith Problems
    By srperrier in forum Dot Net API
    Replies: 0
    Last Post: 2011-08-05, 08:07 PM
  3. IntersectWith says lines don't intersect
    By bsardeson in forum VBA/COM Interop
    Replies: 3
    Last Post: 2010-08-23, 08:09 PM
  4. Problems with IntersectWith
    By Lee Mac in forum AutoLISP
    Replies: 3
    Last Post: 2009-05-17, 11:20 PM
  5. IntersectWith Question
    By david.brissenden in forum VBA/COM Interop
    Replies: 3
    Last Post: 2008-10-13, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •