Get Inteselection point element between detail lines in family?

Get Inteselection point element between detail lines in family?

sonicer
Collaborator Collaborator
285 Views
1 Reply
Message 1 of 2

Get Inteselection point element between detail lines in family?

sonicer
Collaborator
Collaborator

Is it possible get Inteselection point element between detail lines in family?

0 Likes
286 Views
1 Reply
Reply (1)
Message 2 of 2

FAIR59
Advisor
Advisor

I'm presuming you want the intersection Point

 

            SymbolicLine line1;
            SymbolicLine line2;

            IntersectionResultArray resArray = null;
            SetComparisonResult res = line1.GeometryCurve.Intersect(line2.GeometryCurve, out resArray);
            IntersectionResultArrayIterator iter = resArray.ForwardIterator();
            while (iter.MoveNext())
            {
                IntersectionResult r = iter.Current as IntersectionResult;
                // intersectionPoint r.XYZPoint;
                TaskDialog.Show("debug", string.Format("{0}", r.XYZPoint));
                break;
            }