Performancing Metrics

Tuesday, December 17, 2013

AutoCAD Tip of the Day – Hatch Boundary Selection Optimization

How many times have you almost lost your religion over hatching?  In today’s AutoCAD Tips, we are going to addresses a few of the problems associated with selecting a hatch boundary.

Tell me if this sounds familiar.  You are working towards a deadline, you are almost finished, and all you need to do is hatch one last area and then plot.  You select a point inside the boundary and wait.  And wait, and wait.  You start sweating as you think “when was the last time I saved?”  You start praying, “Please don’t freeze up!”  After what seems like an eternity, if you are luck, the boundary finally selects and disaster if avoided. This time…

Cause 1: When you select a point AutoCAD starts analyzing the objects around it to create the hatch boundary.  Having an X-ref on the screen significantly slows down the selection process and may even lead to AutoCAD freezing up.
Solution 1: Temporarily unload the X-ref (or zoom to the point where it’s not visible on the screen) and re-pick your point.  If necessary, draw a pline around the area you need on the X-ref if it’s required to complete the boundary before unloading.

Cause 2: There may be several blocks it’s trying to analyze that are part of an X-ref.
Solution 2: Turn the layer containing the blocks off before picking the point for the hatch boundary.  As a general rule of thumb, the more objects you can turn off that you do not want in the hatch boundary, the better.

Cause 3: The boundary is not closed.
Solution 3: You can set your Gap Tolerance through the system variable HPGAPTOL to a distance that is big enough to close in the gaps, but this sometime yields inconsistent result and make boundary selection even more troublesome in some cases.  The best solution is to make sure boundary is completely closed and then select the hatch boundary.

Cause 4: Not all items you’ve selected for the hatch boundary are on the same plane.  Something has a different “Z” value (it’s in 3D space).  But you may be saying, “I don’t draw in 3D”.  Trust me; this has a habit of happening sometimes.
Solution 4: Make sure all the items in the hatch boundary have the same “Z” value.

Please post you comments to this tip below.  If you found it useful, please Digg-it by selecting the link above.  If you find any of our AutoCAD Tips useful, please let your friend and colleagues know about this site or link to it from your website or blog.

Mike Williams

Sign-up to receive your FREE AutoCAD Tip of the Day in your Inbox at Please Login or Register to see the link.

If you found this tip helpful, would you please consider a donation to help support this site?




If you found this post helpful, do my a favor and please press the Facebook “like” button below. 

Comments

39 Responses to “AutoCAD Tip of the Day – Hatch Boundary Selection Optimization”
  1. suvin says:

    sometimes when i plot the drawing the complete drawing is not seen on the preview even though every thing is selected..plz help me

  2. Joe says:

    Thanks for the tip, it was very helpfull.

  3. Sam says:

    Hi thanks for the tips, very helpful. I have been having a struggle with x-ref based drawings and maintaining consistency, and wondered if you have any information on how to check cad drawings?
    Thanks

  4. Hey Suvin,
    could you give me a little more information about your problem? Did you make sure you didn’t have some items on a layer that is set to “no plot”?
    Mike

  5. Sam,
    Using XREFs will help with maintaining consistency. Without XREF, you have to make sure you update all drawings individually when a change is made.
    Mike

  6. cesar says:

    How do you hatch a single line object? I need to hatch tons of lines (hvac single line dwg.)
    Is there any way to hatch them without converting to polylines, offset, etc.
    Thank you !

  7. Cesar,
    By any chance are you using Architectural Desktop (AutoCAD Architecture)? If so, you can make a wall style that only shows the hatch and not the bounding lines. Another option would be to create a dynamic block that hatches and area that’s on a noplot layer. Let me know if either of those works for you.
    Mike

  8. Emanuel says:

    Hey, I’m sort of new at AutoCad and I was just wondering what Hatch and Xref have in common
    thanks ,Emanuel

  9. NCA says:

    It’s been a long time since these types of problems occurs to me and fortunately I solved it by myself. I think this kind of forum is very helpful to all AutoCAD users from beginners to experts. Thanks to the author for making this forum.

  10. NCA,
    Thank you so much for the encouragement. I really appreciate it.
    Mike

  11. Emanuel,
    The thing XREF and HATCH have in common for this tip is the fact that when you try to hatch an area and you have an XREF visible on the screen, it can take a long time to find the boundary and, in my experience, is also a major cause of AutoCAD locking up.

  12. john says:

    i am very new at auto cad will you plse explain what xref is. all the tips i have seen have been greatly insightful

  13. Jose Pezo says:

    I would like to know how to fix a problem we encountered when hatching with “concrete”. After we select a boundary the hatch appears like straight line confetti instead of showing it as little triangles and dots. What can I do to solve this problem?
    Thanks in advance.

  14. KM Zachariah says:

    I had edited the file acad.pat and inclued some new patterns which were available from the internet. However, these newly added patterns are not displayed in the pull down submenu of the BHATCH command.

    How can I ensure the display and use of newly added patterns?
    Is it sufficient to include the new patterns in acad.pat alone? What would be the effect if I included the changes in the acadiso.pat file? Can I retain the new patterns in an entirely independent file with extension “.pat”?

  15. This usually has to do with how far that hatch is away from your hatch origin. If you are on an old version of AutoCAD, you may have to type SNAPBASE, pick somewhere near your hatch area and re-hatch. If you are on a newer version, select your hatch, right-click and select “set origin” and pick a point on or by your hatch. Let me know if that works.

  16. Check and see if they are showing up under the “Custom” tab in the hatch patter palette.

  17. Natalie says:

    Why using the “pick points” method? Always, always, always use the “select objects” method to create hatches. Create yourself a “hatch-boundary” layer, set it not to plot, take 2 seconds to draw a polyline for your boundary, and use the “Add: Select objects” to select your boundary for your hatch. No freezing. No sweating. Problem solved.

  18. That’s a good option if the are you are hatching is fairly simple. But many times the areas get so large and complex that drawing a pline would take much much longer than picking a point in the center. That’s assuming it can find a boundary of course.

  19. Natalie says:

    You can always use the ncopy command to copy a bunch of lines from your xref or block so you don’t have to actually draw the pline entirely. I just think that selecting the “pick a point” method is madness, especially if your drawing is so complicated that it’s difficult to draw a polyline for our boundary!

    I work on fairly big urban design schemes with loads of hatching, and quite often solid hatch, and the CAD technicians who use the “pick a point” method usually don’t use it twice! I’ve seen computers crashing for half an hour, whereas it only take a few seconds, or up to a minute if a very complicated boundary, to draw your boundary. The advantage of this is you can then alter your boundary very easily and without causing further freezing, which is super important when you are being asked to change a boundary 10 minutes before a meeting and you know the drawing takes 5 minutes to print so you have no time to mess about!

  20. Natalie,
    Thanks so much for the in-depth explanation. I see that I need to revisit my methods
    Mike

  21. Mark says:

    I agree with Natalie’s methods. I swore off the pick point method a long time ago, mainly because hatches created with the pick boundary method seem to hold their associativity better for future revisions as Natalie said. I am also impressed that you (Mike Williams) are willing to re-think your methods. I’m known as the AutoCAD answer guy in my office, but I’m occaisonally ‘schooled’ on better ways to do things too! Keep up the good work and open mind! Thanks.

  22. Amber says:

    I was literally trying to hatch my project for a midterm deadline and having this exact problem! I wish you’re post had shown up about 12 hours earlier. :) Luckily, it was a nonjuried midterm and I’ll know now how to hatch quicker for finals!

    What is the easiest method for creating boundries in a drawing?

    Thanks!

  23. Rick says:

    At work i deal with a lot of blocks. The person who draws the blocks sometimes has an open in them and on occasion its been hard to find with out exploding it. On simple shapes such as rectangles, squares, or circles i will duplicate the shape over the existing one, hatch it, then delete mine off the original.

  24. Excel says:

    nice tip. but even with the above info, you will definitely loose your religion trying to do hatches and boundaries most of the time with curves. ending up trying to join each individual curves in your drawing to produce closed curves just for hatching isn’t funny anymore – that autodesk has resolved by now rather than just changing screen icons, file formats and others (layer filter, scale list, etc) from one release to another by the next release.

  25. Marola says:

    I have a question not about hatch, but related to the cause and solution 4. Many times I work with drawings from different people and when I discover the 3D-mess I get crazy. Is there a way to make objects with different Z value have zero Z value at once? Thanks for your tips and answers.

  26. If you have express tools installed, you can use the command FLATTEN to get rid of the 3Dness of the object.

  27. Marola says:

    Thanks for your answer Mike. I didn’t know about that command. When I want to convert 3D geometry to 2D geometry, I use to use the command “FLATSHOT” (the difference is that with this command a block with the 2D lines is inserted).
    My question and my big problem is when the drawing has only 2D objects with different Z value (or different Z value in the same object). I know a solution that is plotting a DXB file, but I don’t like it at all, because there is a degradation of drawing precision, yes I know it’s insignificant, but if I draw a line with a value of 200, I think that 199,954664 is not a valid value (although the difference is insignificant). I think accuracy is very important. With this method you also lose a lot of information (layers, blocks…). After many years I haven’t been able to find a good solution…
    Thanks for your answer Mike

  28. Marola says:

    I’ve been trying the command flatten and at first I thougth it didn’t work with 2D object, but that’s because I used it in an isometric view, and it’s extrange how it works in this view (I saw it with the orbit). Then I tried it in a plan view, and it’s better, of course, but I think is not a good command because it degradates the precision.

  29. Rudy says:

    Good Tip: This ‘HAS’ happened to me on more than one occasion and you ‘CAN’ develop somewhat of a sweat…but never to the point of losing religion. That wouldn’t be too wise.

    By the way, how can upload my photo?

  30. Rudy says:

    I meant to say how can ‘I’ upload my photo?

  31. haha. You are correct. that wouldn’t be very wise. If you create an account on the site, you should be able to upload a photo under you user profile.
    Thanks,
    Mike

  32. randomnewb says:

    the command “bpoly” works wonders. works similar to hatching, and im sure it uses the same mechanics as the hatch pick a point method. this aside, it works nicly to create “boundary” Plines to contain your hatching.

  33. You are correct. Bpoly is a great way to generate a boundary in Autocad without using the hatch command.
    Mike
    http://www.autocadforeveryone.com
    http://www.autocadtipoftheday.com

  34. Freddy says:

    Thanks mike ur tips are really helpful.

  35. praful says:

    how to creat linetype.

  36. praful says:

    how to creat linetype.

  37. Keith says:

    One shouldn’t have to go through the troubles to get a simple hatch to work.

  38. Mark says:

    Great suggestions, xrefs do create problems. Zooming in to eliminate as many of the xrefs as possible helps. Using bpoly for bounding polylines sometimes helps create an object to hatch to. As noted above, much better to hatch object than picking a point.

  39. saianandan says:

    very good tips and helpful

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

What is 5 + 4 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)
  • Buy Cheapest pharmacy alprazolam Now Pharmacy At The Best Price! Low Prices.
  • Buy Cheapest viagra professional discount Now Cheap Online Pharmacy. Best Drugstore.
  • Buy Cheapest cialis mechanism Now Pharmacy Store. Cheap Online Pharmacy.
  • Buy Cheap cheapest brand viagra Online Low Prices. Safe And Secure Payment System.
  • Buy Cheapest viagra doses Now Guaranteed Shipping. Cheap Pharmacy Online.
  • Buy Cheap side effects Now WorldWide Shipping. Buy Medications Online.
  • Buy Cheapest buy periactin online Now Cheap Prescription Drugs. Best Internet.
  • Buy Cheapest buy cheap levitra online Online Best Prices. Cheap Pharmacy Online.
  • Buy Cheap cialis directions for use Online Top Online Pharmacy. WorldWide Shipping.
  • Buy Cheapest side effects Now Low Prices. Discount Online Pharmacy.
  • Buy Cheapest clomid sale without prescription Online 24/Online Pharmacy. Best Online.
  • Buy order pills lotrisone Without Prescription Doctor. Low Prices. Best Internet.
  • Buy Cheapest cheap pfizer viagra Now Internet Prices For cheap pfizer viagra! Best Internet.
  • Buy Cheap ephedraxin discount prices cheap Online Guaranteed Shipping. Free Viagra Pills!
  • Buying Cheap take hydrochlorothiazide without prescription. Offshore Rx, Good Prices. Guaranteed Shipping.
  • Buy Cheap viagra levitra review Now Discount Online Pharmacy. Pharmacy Store.
  • Buy Cheapest buying pills prednisolone Now 24/Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest tadacip no prescription needed Now Buy Medications Online. Best Internet.
  • cheapest order brand cialis Online Without Prescription Low Prices. WorldWide Shipping.
  • Buy Cheapest drugs without prescription Online WorldWide Shipping. Free Viagra Pills!
  • Buy Cheap fluconazole for Online Best Internet. Discount Online Pharmacy.
  • Buy Cheap cheapest prednisolone australia Now Best Internet. Drugs, Health And Beauty.
  • Buy Cheap viagra discount india Now 24/Internet)(safe Pharmacy. Pharmacy Store.
  • Find The Latest News And Information About meridia pharmacy purchase Pills Low Prices.
  • Buy Cheap pharmacy alprazolam Online Special Prices For pharmacy alprazolam! Best Prices.
  • Buy Cheapest add medication Online 24/Online Pharmacy. Best Internet.
  • Buy Cheap levitra description Now Guaranteed Shipping. Online Prices For levitra description!
  • Buy Cheapest secure online pharmacy Online Best Prices. 24/Online Pharmacy.
  • Buy Cheapest viarga online Now Free Viagra Pills! Guaranteed Shipping.
  • Buy Cheap buy pills ephedraxin Now 100% Satisfaction Guaranteed. Best Prices.
  • Buy Cheapest purchase cheap ventolin Now Free Viagra Pills! 24/Online Pharmacy.
  • Buy Cheap best price cialis online Online Best Drugstore. Online Prices For best price cialis online!
  • Buy Cheapest levitra professional mail order Now Drugs, Health And Beauty. Pharmacy Store.
  • Buy Cheapest buy lithium Online Pharmacy Store. Cheap Online Pharmacy.
  • cialis guys Online Without Prescription Best Drugstore. Best Prices.
  • Buy Cheap cheap pills Now Top Online Pharmacy. Online Prices For cheap pills!
  • Buy Cheap take hydrochlorothiazide without prescription Online Best Online. Buy Medications Online.
  • Buy Cheap cialis rx online Online WorldWide Shipping. Top Online Pharmacy.
  • Buy Cheap ciailis paid by paypal Online Best Prices. 100% Satisfaction Guaranteed.
  • Buy Cheapest pill prescriptions Online Low Prices. Pharmacy At The Best Price!
  • Buy Cheap buy periactin online Now Low Prices. Bonus Pills And Reorder Discounts!
  • Buy Cheap ordering viagra without prescription Online 24/Internet)(safe Pharmacy. Low Prices.
  • Buy Cheap order no prescription prednisolone Now Drugs, Health And Beauty. Guaranteed Shipping.
  • Buy Cheap lotrisone without prescription Now Free Viagra Pills! Cheap Pharmacy Online.
  • Buy Cheapest ephedraxin without prescription canada Online Buy Medications Online. Best Online.
  • Buy Cheap viagra overdose Online Best Drugstore. Cheap Pharmacy Online.
  • Buy Cheap cialis canada rx Now 100% Satisfaction Guaranteed. Low Prices.
  • denver viagra Online Without Prescription Cheap Meds Without Prescription.
  • Buy Cheap infertility medication treatment Now Drugs, Health And Beauty. Best Internet.
  • Buy Cheap tadalifil cheap Now Pharmacy Store. Special Prices For tadalifil cheap!
  • Buy Cheap buy cheap silagra Online Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy Cheap no prescription ephedraxin Now Top Online Pharmacy. Cheap Prescription Drugs.
  • Buy Cheap buy cialis sublingual online Online Online Prices For buy cialis sublingual online! Best Internet.
  • Buy Cheapest cialis purchase online Now Buy Medications Online. Best Online.
  • Buy Cheapest contraception Online No Prescription Needed. Best Drugstore.
  • Buy Cheapest cialis overdose Now Best Internet. 24/Online Pharmacy.
  • Buy Cheap purchase ventolin generic Now Best Drugstore. 100% Satisfaction Guaranteed.
  • Buy Cheap buy brand viagra Now Online Medical Shop. Free Viagra Pills!
  • Buy Cheapest viagra what to expect Now Low Prices. Safe And Secure Payment System.
  • Buy Cheap generic viagra cialis paypal Now Low Prices. Pharmacy At The Best Price!
  • Buy Cheapest discount viagra generic Now Cheap Prescription Drugs. Pharmacy Store.
  • Buy Cheap cheapest order clozaril Online Best Prices. Top Online Pharmacy Supplier.
  • Buy Cheapest viagra professional discount Online Online Medical Shop. Best Online.
  • Buy tadacip order online canada Without Prescription Doctor. Best Online. Low Prices.
  • Buy Cheapest cheapest prednisolone australia Now Pharmacy Store. Online Prices For cheapest prednisolone australia!
  • Buy Cheap cialis generic cost Now Special Prices For cialis generic cost! Free Viagra Pills!
  • Buy Cheapest mail order viagra online Now Best Prices. Pharmacy At The Best Price!
  • Buy Cheapest can cialis super active Now 24/Online Pharmacy. Online Medical Shop.
  • Buy Cheapest viagra australai Now Pharmacy Store. Cheap Pharmacy Online.
  • Buy Cheap generic drugs with paypal Now Online Medical Shop. Free Viagra Pills!
  • Buy Cheap alternative buying zimulti Online Best Online. Drugs, Health And Beauty.
  • Buy Cheap viagra levitra review Now No Prescription Needed. Cheap Pharmacy Online.
  • Buy Cheap herpes medication Online Top Online Pharmacy. Pharmacy Store.
  • Buy Cheapest cialis and alcohol symptoms Online Best Online. Pharmacy At The Best Price!
  • Buy Cheap buy pills online Online Buy Medications Online. Pharmacy Store.
  • Buy Cheapest online pharmacies no prescription Now Online Medical Shop. Free Viagra Pills!
  • Buy Cheap viagra sperms Now Cheap Online Pharmacy. WorldWide Shipping.
  • Buy Cheap brend viagra Now Guaranteed Shipping. Discount Pharmacy Online.
  • Buy Cheapest brand name viagra Online WorldWide Shipping. Pharmacy Store.
  • Buy Cheap viagra soft tab generic Now Low Prices. Discount Online Pharmacy Shopping.
  • Buy Cheapest internet pills Now 24/Online Pharmacy. WorldWide Shipping.
  • Buy Cheap viagra cost uk Now Best Prices. Pharmacy At The Best Price!
  • Buy Cheap cheap estrace Now Best Drugstore. Online Prices For cheap estrace!
  • Buy Cheap cialis 10mg Now Best Drugstore. Buy Medications Online.
  • Buy Cheapest lotrisone no prescription needed Online Best Prices. 24/Online Pharmacy.
  • Buy Cheap prescription drug costs Online Safe And Secure Payment System. Low Prices.
  • Buy Cheap buy cialis soft tabs Now All Medications Are Certificated! Low Prices.
  • Buy Cheapest removing retention fluids Now WorldWide Shipping. Guaranteed Shipping.
  • Buy Cheapest generic cialis 5mg Online Best Prices. Guaranteed Shipping.
  • Buy Cheap cheap cetirizine Now Free Viagra Pills! Online Medical Shop.
  • Buy Cheap price of rx drugs Online Best Internet. Cheap Online Pharmacy.
  • Buy Cheap all about cialis Now Best Online. 100% Satisfaction Guaranteed.
  • Buy Cheap natural alternative to cialis Online Best Online. Drugs, Health And Beauty.
  • Buy Cheap order cheap max gentlemen Now No Prescription Needed. Cheap Pharmacy Online.
  • Buy Cheap buying orthotricyclen on line Now Best Internet. The Largest Internet Pharmacy.
  • Buy Cheap cialis soft canada Online Drugs, Health And Beauty. Pharmacy Store.
  • Buy Cheap purchase colchicine from canada Now Guaranteed Shipping. WorldWide Shipping.
  • Buy Cheapest purchase colchicine no prescription Online 24/Online Pharmacy. Pharmacy Store.
  • Buy Cheapest cheap headache relief Now Cheap Pharmacy Online. Best Internet.
  • Buy Cheap flu symptoms Now FDA Approved Rx: Online Pharmacy. Low Prices.