

the location of acadiso.pat as its first entry. My support file search path (Options -> Files -> Support File Search Path) includes C:\Users\antti\appdata\roaming\autodesk\autocad 2015\r20.0\enu\support, i.e. HathPatternType.PreDefined, name "JIS_LC20") I get eInvalidInput indicating the said pattern can not be found.Īny pointers and hints will be highly appreciated. When trying to set the hatch pattern of a hatch to be what it is in a given hatch (i.e. Well, in reality it is not quite that simple, but that suffices for the purposes of context for this problem. 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.

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? And be that as it may, it still remains a mystery why some of the predefined patterns are not available in the included drawing. 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. 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).open the properties for the hatch on the right.see that when navigating to the available predefined patterns as above (properties -> Pattern -> Pattern Name -> Other predefined - tab) JIS_LC20 is not available.click on the hatch on the left and see its properties.open the attached drawing minimal_sample.dwg.see that it is not possible to use JIS_LC20 hatch pattern in the attached drawing.you should be able to find JIS_LC20 on the "Other predefined" tab (third tab) of the Hatch Pattern Palette - dialog that opens.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.select the hatch you just created and view its properties.create a hatch (using command H, click inside the rectangle, press esc).see that the pattern JIS_LC20 is available on your autocad as a predefined hatch pattern.

To make the matter stranger, there is a hatch in the drawing that uses the said hatch pattern and is displayed correctly. However, in the attached minimal_sample.dwg the said predefined pattern is not available for new hatches I create. When I create a new drawing this pattern is readily available in hatches I create. not custom defined) and can be found in file acadiso.pat whose location you can find by typing (findfile "acadiso.pat") as autocad command. The said hatch pattern is predefined (i.e. I have encountered a strange problem regarding the predefined hatch pattern JIS_LC20.
