<?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: Missing predefined hatch patterns in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913711#M302471</link>
    <description>&lt;P&gt;&lt;SPAN&gt;acad&lt;STRONG&gt;iso&lt;/STRONG&gt;.dwt -&amp;nbsp;ISO, metric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;acad&lt;STRONG&gt;iso&lt;/STRONG&gt;.pat -&amp;nbsp;"&lt;SPAN&gt;Customized for ISO scaling",&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;contains pattern&amp;nbsp;&lt;SPAN&gt;JIS_LC20.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;In your dwg MEASUREMENT == 0 - imperial, Feet.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;AutoCAD&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;displays the hatch pattern&lt;/SPAN&gt; &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;acad&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pat - for imperial units.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;acad&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pat&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;may not contain&lt;/SPAN&gt; &lt;SPAN&gt;JIS_LC20.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or set&lt;/SPAN&gt; &lt;SPAN&gt;MEASUREMENT =&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;meters&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;either&lt;/SPAN&gt; &lt;SPAN&gt;add a description&lt;/SPAN&gt; &lt;SPAN&gt;JIS_LC20&lt;/SPAN&gt; &lt;SPAN&gt;hatch patterns&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;acad&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pat.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2015 14:13:52 GMT</pubDate>
    <dc:creator>АлексЮстасу</dc:creator>
    <dc:date>2015-11-18T14:13:52Z</dc:date>
    <item>
      <title>Missing predefined hatch patterns</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913516#M302469</link>
      <description>&lt;P&gt;I have encountered a strange problem regarding the predefined hatch pattern JIS_LC20. The said hatch pattern is predefined (i.e. not custom defined) and can be found in file acadiso.pat whose location you can find by typing (findfile "acadiso.pat") as autocad command. When I create a new drawing this pattern is readily available in hatches I create.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in the attached minimal_sample.dwg the said predefined pattern is not available for new hatches I create. To make the matter stranger, there is a hatch in the drawing that uses the said hatch pattern and is displayed correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see the problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;see that the pattern JIS_LC20 is available on your autocad as a predefined hatch pattern&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;create a new drawing using e.g. acadiso.dwt template&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;draw a rectangle&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;create a hatch (using command H, click inside the rectangle, press esc)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;select the hatch you just created and view its properties&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;in the "Pattern" section in the properties, first make sure you have selected "Predefined" as the pattern type and then click the icon on the right of Pattern Name&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;you should be able to find JIS_LC20 on the "Other predefined" tab (third tab) of the Hatch Pattern Palette - dialog that opens&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;see that it is not possible to use JIS_LC20 hatch pattern in the attached drawing&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;open the attached drawing minimal_sample.dwg&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;zoom extents (z &amp;lt;enter&amp;gt; e &amp;lt;enter&amp;gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;click on the hatch on the left and see its properties&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;see that when navigating to the available predefined patterns as above (properties -&amp;gt; Pattern -&amp;gt; Pattern Name -&amp;gt; Other predefined - tab) JIS_LC20 is not available&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;open the properties for the hatch on the right&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;see that Pattern Name is JIS_LC20&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;open the pattern selection dialog (the icon right to Pattern Name) and see that the pattern JIS_LC20 is not available where it was in the newly created drawing ("Other predefined" - tab in the Hatch Pattern Palette dialog that opens)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;To the best of my knowledge I have not installed any custom defined hatch patterns nor edited acadiso.pat so I should just have the ones that come with AutoCAD. And be that as it may, it still remains a mystery why some of the predefined patterns are not available in the included drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is: why is JIS_LC20 (and possibly other patterns defined in acadiso.pat) not available in the attached drawing but are available in new drawings? What can I do to remedy the situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some context in case it matters: in the end what I am doing is that I am writing C# (.NET) plugin code that will copy hatch properties from one hatch to another. Well, in reality it is not quite that simple, but that suffices for the purposes of context for this problem. When trying to set the hatch pattern of a hatch to be what it is in a given hatch (i.e. HathPatternType.PreDefined, name "JIS_LC20") I get eInvalidInput indicating the said pattern can not be found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers and hints will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ::Antti::&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ps. My support file search path (Options -&amp;gt; Files -&amp;gt; Support File Search Path) includes C:\Users\antti\appdata\roaming\autodesk\autocad 2015\r20.0\enu\support, i.e. the location of acadiso.pat as its first entry.&lt;/P&gt;&lt;P&gt;Pps. Using AutoCAD 2015 64-bit version on Windows 7&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 12:40:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913516#M302469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-18T12:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Missing predefined hatch patterns</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913675#M302470</link>
      <description>Without your source PAT file no one can recreate a custom hatch in a DWG file: I don't see that you've included it here yet.</description>
      <pubDate>Wed, 18 Nov 2015 14:01:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913675#M302470</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2015-11-18T14:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Missing predefined hatch patterns</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913711#M302471</link>
      <description>&lt;P&gt;&lt;SPAN&gt;acad&lt;STRONG&gt;iso&lt;/STRONG&gt;.dwt -&amp;nbsp;ISO, metric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;acad&lt;STRONG&gt;iso&lt;/STRONG&gt;.pat -&amp;nbsp;"&lt;SPAN&gt;Customized for ISO scaling",&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;contains pattern&amp;nbsp;&lt;SPAN&gt;JIS_LC20.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;In your dwg MEASUREMENT == 0 - imperial, Feet.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;AutoCAD&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;displays the hatch pattern&lt;/SPAN&gt; &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;acad&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pat - for imperial units.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;acad&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pat&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;may not contain&lt;/SPAN&gt; &lt;SPAN&gt;JIS_LC20.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or set&lt;/SPAN&gt; &lt;SPAN&gt;MEASUREMENT =&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;meters&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;either&lt;/SPAN&gt; &lt;SPAN&gt;add a description&lt;/SPAN&gt; &lt;SPAN&gt;JIS_LC20&lt;/SPAN&gt; &lt;SPAN&gt;hatch patterns&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;acad&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pat.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:13:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5913711#M302471</guid>
      <dc:creator>АлексЮстасу</dc:creator>
      <dc:date>2015-11-18T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Missing predefined hatch patterns</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5915092#M302472</link>
      <description>&lt;P&gt;Thanks, this really helped! Now I understand what's going on here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing MEASUREMENT=1 in the drawing I attached makes JIS_LC_20 hatch pattern be available there. However, if I create a new drawing using acad.dwt (and check that MEASUREMENT=0 there) I still have the said pattern available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I investigated some more and it seems AutoCAD sticks with the hatch patterns indicated by MEASUREMENT when the hatch pattern dialogue is first opened. To change the pattern file used once the hatch pattern dialogue has been opened at least once one needs to restart AutoCAD.&lt;/P&gt;&lt;P&gt;Any ideas on how to make AutoCAD refresh the hatch patterns available (short of a restart)?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 07:13:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5915092#M302472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-19T07:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Missing predefined hatch patterns</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5915095#M302473</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I mentioned&amp;nbsp;in my post (and its topic), the question was not about a custom hatch pattern but a predefined one. Also, like I mentioned, no customizations have been made to my acad.pat or acadiso.pat files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow,&amp;nbsp;АлексЮстасу explained what's going on here. The problem is almost solved, short of finding out how to make AutoCAD reload the .pat file it uses when changing from one measurement system to another (please see my reply to his post).&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 07:20:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5915095#M302473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-19T07:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Missing predefined hatch patterns</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5915422#M302474</link>
      <description>&lt;P&gt;In my 2012, 2014 in active dwg replacement acadiso.pat to acad.pat occurs immediately after changing the MEASUREMENT from 1 to 0 and vice versa. Without&amp;nbsp;&lt;SPAN&gt;restarting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It may be useful to you even see the influence of values MEASUREINIT 0/1.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 12:38:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/missing-predefined-hatch-patterns/m-p/5915422#M302474</guid>
      <dc:creator>АлексЮстасу</dc:creator>
      <dc:date>2015-11-19T12:38:02Z</dc:date>
    </item>
  </channel>
</rss>

