VBA in ACAD

  • Thread starter Thread starter ԥW
  • Start date Start date
Status
Not open for further replies.
Ԥ

ԥW

Can anyone help me to get the apparent intersection of two 3d-polyline in autocad by using VBA? Thanks a lot!
Ron
 
Hello Ron,

To calculate the intersection point of two 3-d lines you have to know the begin and end points of the two lines. From the points you can derive the linear equation of both lines. You can solve both formula's using matrix algebra. If there is a solution the lines cross and you will get the exact result vecor (3-d point) back. If not there is no solution to the problem.

Kind regards, Darius Blaszijk

"ԥW" wrote:

Can anyone help me to get the apparent intersection of two 3d-polyline in autocad by using VBA? Thanks a lot!
Ron
 
Status
Not open for further replies.

Latest threads

Back
Top