<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adding Hatches in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750500#M192607</link>
    <description>&lt;P&gt;Its hard to say without the drawing, perhaps the boundary doubles back on itself.&amp;nbsp; polyline boundaries can sometimes act strange.&amp;nbsp; You could try this code, and then just change the solid hatch to whatever pattern you are trying to make:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:hatchpoints (/ b)
      (command "._pline")
      (while (&amp;gt;= (getvar "cmdactive") 1)
	(command PAUSE)
      ) ;_ end of while
      (command "._HATCH" "_P" "SOLID" "_S" (setq b (entlast)) "")
      (entdel b)
      (princ)
    ) ;_ end of defun
    (defun c:hp	(/)
      (c:hatchpoints)
    ) ;_ end of defun&lt;/PRE&gt;</description>
    <pubDate>Mon, 05 Feb 2018 02:34:16 GMT</pubDate>
    <dc:creator>chriscowgill7373</dc:creator>
    <dc:date>2018-02-05T02:34:16Z</dc:date>
    <item>
      <title>Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750475#M192606</link>
      <description>&lt;P&gt;I am getting the following error message when I try to add hatches to my floor plan, "A closed boundary could not be determined". The red circle is where AutoCAD is indicating the gap is. I've redrawn it numerous times but I keep getting the same error message. Does anyone know what the problem might be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your help in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Aisha.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 02:22:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750475#M192606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-05T02:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750500#M192607</link>
      <description>&lt;P&gt;Its hard to say without the drawing, perhaps the boundary doubles back on itself.&amp;nbsp; polyline boundaries can sometimes act strange.&amp;nbsp; You could try this code, and then just change the solid hatch to whatever pattern you are trying to make:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:hatchpoints (/ b)
      (command "._pline")
      (while (&amp;gt;= (getvar "cmdactive") 1)
	(command PAUSE)
      ) ;_ end of while
      (command "._HATCH" "_P" "SOLID" "_S" (setq b (entlast)) "")
      (entdel b)
      (princ)
    ) ;_ end of defun
    (defun c:hp	(/)
      (c:hatchpoints)
    ) ;_ end of defun&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Feb 2018 02:34:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750500#M192607</guid>
      <dc:creator>chriscowgill7373</dc:creator>
      <dc:date>2018-02-05T02:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750503#M192608</link>
      <description>&lt;P&gt;Aside from AutoCAD not being very good at handling hatches, I couldn't tell you.&amp;nbsp; If you attach your drawing we might be able to see something else, like maybe the lines aren't in the same plane?&lt;BR /&gt;&lt;BR /&gt;What happens when you draw the lines as a continuous polyline?&amp;nbsp; You could try isolating just the boundary lines of what you want to hatch; that works sometimes.&amp;nbsp; Or, you could try to initiate your hatch using "Add: Select object" instead of "Add: Pick points".&lt;BR /&gt;&lt;BR /&gt;Also, you are posting in the Windows forum, but someone else with the Mac version may have encountered a similar problem.&amp;nbsp; I'd try posting in the &lt;A href="https://forums.autodesk.com/t5/autocad-for-mac-forum/bd-p/520" target="_blank"&gt;AutoCAD for Mac forum&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 02:40:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750503#M192608</guid>
      <dc:creator>nrz13</dc:creator>
      <dc:date>2018-02-05T02:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750546#M192609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&amp;nbsp;I've redrawn it numerous times but I keep getting the same error message.&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt; &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;does Redraw or Regen commands fix the issue ? also try to&amp;nbsp;zoom out all of needed hatch area and see if any changes .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regatrds,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 03:41:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7750546#M192609</guid>
      <dc:creator>imadHabash</dc:creator>
      <dc:date>2018-02-05T03:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7753734#M192610</link>
      <description>&lt;P&gt;I tried those two commands and I am still having the same issue. I have attached my drawing below. The redraw or regen command removes the circles where AutoCAD indicated that my boundaries are not&amp;nbsp;closed.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 01:58:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7753734#M192610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-06T01:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7753738#M192611</link>
      <description>&lt;P&gt;I tried the code but I am still having the same issue. I've attached a copy of my drawing in case you have a moment to take a look at it. Thanks for all the help you've been giving me, I appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aisha.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 02:01:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7753738#M192611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-06T02:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7753742#M192612</link>
      <description>&lt;P&gt;I tried drawing my lines as a continuous polyline in the areas where AutoCAD said my boundary wasn't closed but I am still having the same issue. Thanks, I just posted to my question to the MAC forum. I have also attached a copy of my drawing here.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 02:03:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7753742#M192612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-06T02:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7754000#M192613</link>
      <description>&lt;P&gt;It hatches just fine for me in AutoCAD 2018 – see attachment below.&amp;nbsp; Without knowing any other variables, this problem seems limited to the AutoCAD for Mac version.&lt;BR /&gt;&lt;BR /&gt;You might experiment with the HPGAPTOL variable (mine is set to 1), although this seems an unlikely fix since you said you already tried re-creating polyline boundaries.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 05:53:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7754000#M192613</guid>
      <dc:creator>nrz13</dc:creator>
      <dc:date>2018-02-06T05:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hatches</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7754101#M192614</link>
      <description>&lt;P&gt;Aisha,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes hatching can be easy, sometimes a pain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance in your drawing (Windows 10) if I tried to hatch the walls when zoomed in so that it would be easy to get my cursor inside the walls, it gave me the same error message.&lt;/P&gt;
&lt;P&gt;If I zoomed out quite a bit so that I had all or most of that wall on screen, then it would hatch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But regardless, here are various steps I take in trying to get hatching to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Check all corners and intersections to make sure they are closed. No gaps. Fillet command "F&amp;gt;Enter" is good for this. Extend, fillet, things like that.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Look for things that are intersecting your attempted hatch area. Like leaders, dimensions, blocks. Try freezing the layers those are on. But of course you can't freeze the lines that are supposed to be the border for your hatch.&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; Look for lines that are under or on top of your hatch border. For instance you have some short wall lines at the corner on top of or overlapping each other. Make lines that are just one line. Again, fillet helps here.&lt;/P&gt;
&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; An object that intersects or is tangent seems to confuse hatching sometimes. Like a circle or arc that is tangent to a hatch border line. If the object is on a different layer, freeze it before hatching.&lt;/P&gt;
&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; Sometimes zooming in or out can help, regenerating "RE", things like that.&lt;/P&gt;
&lt;P&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp; Before 2018 Autocad seemed to require that the entire area to be hatched was visible on the screen to run the hatch command. Supposedly in 2018 they made that not necessary. But on your drawing when I was zoomed way in it didn't work. When I zoomed out it worked fine. Try zooming out so that the whole area to be hatched is visible.&lt;/P&gt;
&lt;P&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp; Sometimes I will use a non-printing line and make a polyline border to be hatched. Then you can hatch that as an object. Invoke the hatch command&amp;gt;S&amp;gt;Enter and it will give you a square cursor for selecting objects. Hatching a closed border object with the "object" selection method is generally more reliable than filling an area with the crosshair cursor. It can still get confused, just not as often. It has to be a closed border. This method doesn't require the&amp;nbsp; whole area to be visible on the screen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GChapp&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 06:51:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/adding-hatches/m-p/7754101#M192614</guid>
      <dc:creator>gccdesign</dc:creator>
      <dc:date>2018-02-06T06:51:19Z</dc:date>
    </item>
  </channel>
</rss>

