Hatch creation - Invalid Input - AppendOuterloop - InsertLoopAt

Hatch creation - Invalid Input - AppendOuterloop - InsertLoopAt

Anonymous
Not applicable
587 Views
0 Replies
Message 1 of 1

Hatch creation - Invalid Input - AppendOuterloop - InsertLoopAt

Anonymous
Not applicable
I am trying to recreate a hatch that was created by one of my users.

Problem is that the outer loop is rejected because 2 lines of the boundary (witch is made entirely of simple line objects) touch themselves.



I know that this is the problem, but I cannot start to tell my users that even taught AutoCAD allows you to do a hatch with a problematic boundary (for some reason I can't attach a DWG - Attached is a screen shot), they can't because my program doesn't support them.



Is there a way to force autocad to accept this outerloop?



F.Y.I.: My code uses AppendOuterLoop first. If it fails, it uses InsertLoopAt (I have tried all AcLoopTypes with the InsertLoopAt method), but to the same "Invalid Input" error message!
0 Likes
588 Views
0 Replies
Replies (0)