Message 1 of 1
Hatch creation - Invalid Input - AppendOuterloop - InsertLoopAt
Not applicable
01-15-2009
12:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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!
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!