Having an Issue With Intersectwith or AddRegion in VB6

Having an Issue With Intersectwith or AddRegion in VB6

mgorecki
Collaborator Collaborator
1,232 Views
2 Replies
Message 1 of 3

Having an Issue With Intersectwith or AddRegion in VB6

mgorecki
Collaborator
Collaborator

Hello,

I help support our design centers globally, and recently I was asked to help on a VB6 project. 

It seems that a program they have been using for a number of years works with AutoCad 2010 or earlier.  We have moved to 2015 and now to 2018 and the program no longer works with the newer versions.

Does anyone know if there was a change to the way the functions "IntersectWith" or "AddRegion" work between 2010 and 2015? 

Thank you in advance for any information that could help in fixing this issue.

Mark

0 Likes
1,233 Views
2 Replies
Replies (2)
Message 2 of 3

Ed__Jobe
Mentor
Mentor

Not that I remember. I have a sub that uses IntersectWith without any problems. Perhaps it's another issue, like a missing reference. You never said what issue you're having or posted any code, so it's kind of hard to troubleshoot.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 3

mgorecki
Collaborator
Collaborator

Hi ed,

Thanks for the response.  I figured out the issue with AddRegion (they had zero length objects in the polyline).

As for Intersectwith, the people I support tell me that it doesn't always work with lines and regions.  I think it's drawing based and not code based.  I have to wait to get their drawing.

 

Again, thanks for responding.

Mark

0 Likes