Hi All,
I try to know if the insertion point of a block is on an entity (arc, line, polyline).
I made a test with a line as I saw in an example on the forum with :
AcGePoint3d MyPoint3D;
AcGeLineSeg3d myLine (Start, End) ;
if ( myLine.isOn (MyPoint3D) == Adesk::kTrue ) {
//- the point is on the line }
If some cases that works, especially if I insert the bloc with osnap, but in other cases, it seems to not works fine.
Any Ideas?
It is possible that I need to modify the AcGeTol, but I don't know how to do this.
Another question is to know how associate an ACDB and ACGE entity?
Please Help