ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Point on an entity

0 REPLIES 0
Reply
Message 1 of 1
sebastien.letutour
166 Views, 0 Replies

Point on an entity

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
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost