-
-
I'm looking forward to seeing the coded definition of a "hole"
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
-
Hi Joseph,
When picking the hatch button on the toolbar it should bring up a dialog box. Pick the advanced tab, at the bottom pick ray casting, then pick pick point, if the boundry is "broken" there will be a message box that opens up that ask "ok" or "Look at it". If you pick look at it the boundry will be "selected line type".
Now what I do when that happens: I get mad and enclose it with a closed pline and see if that works My right click sends osnaps (INT,END,MID,QUA,CEN,INS,NOD) so it is real quick & easy to draw primitives. (verses 3d)
-
-
I'm not an Autocad person and this may not suit your problem.
Is it possible to select the boundary lines and returm the end points to an array. Analysis of this might be a way to a solution.
Regards
MD
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
Md,
The way Joseph is doing it is selecting a point in the middle(hand grenade method close counts ). The boundries could be anything anywhere, another problem is that the boundry could also be off screen.
Joseph,
Are you drawing with the snap on? If so what is your snap set to on what scale? Will you post a drawing to look at?
I am looking into doing a hatch via VBA to see if there is a way to determine the boundries, but it is going to be just a quick look. I will be back soon.
-
I can find how to create the hatch but you have to add the boundries (outerloop). Otherwise the hatch has to exist before you can get to the boundries. So so far as I can tell - No there is no way to tell where the boundries are not intersecting without zooming.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules