AutoCAD for Mac Forum
Welcome to Autodesk’s AutoCAD for Mac Forums. Share your knowledge, ask questions, and explore popular AutoCAD for Mac topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hatch pattern error

20 REPLIES 20
SOLVED
Reply
Message 1 of 21
JohnRennie
5249 Views, 20 Replies

Hatch pattern error

Is there a way I can identify an error in the acad.pat file?

I've pasted in a heap of legacy hatch patterns into the acad.pat file, but everytime I open a drawings I get an error message that I have to acknowledge before I can continue.

20 REPLIES 20
Message 2 of 21
maxim_k
in reply to: JohnRennie

Hi John,

 

Could you please to review this thread at getsatisfaction.com. It is about hatch patterns in AC LT for Mac, but I'm sure that it also applies to full version of AC for Mac.

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 3 of 21
Leaf.chai
in reply to: JohnRennie

Hi User,

 

Thanks for connecting Autodesk.

Can you share you hatch defination to us?



Leaf Chai
AutoCAD QA Analyst

Message 4 of 21
JohnRennie
in reply to: Leaf.chai

Hi, I haven't managed to try Maxim's suggestions yet but here are my hatch pattern files. I've since reverted to the original hatch pattern file but I'm still getting the error messages crop up when I go to hatch something, or if I switch drawings.

My reseller had a look at the .pat file for me and said it was ok, but I did have a revit pattern in there (I think it was the schist pattern)

The strange thing is it is the same file I used on 2011 and it worked fine. It also waorks fine on the windows version of AutoCAD 2012 too.

 

I'm unable to attach a .pat file to the forum post, so is there any other way I can get it sent to you?

 

Message 5 of 21
maxim_k
in reply to: JohnRennie

Hi John,
In order to be able to attach .pat file you have to compress it and attach as .zip archive

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 6 of 21
JohnRennie
in reply to: maxim_k

Here are the hatch patterns (old and new)

Message 7 of 21
maxim_k
in reply to: JohnRennie

Hi John,

 

Maybe it is strange, but your modified acad.pat works for me well - no warning messages. Maybe the case is in DWG file?

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 8 of 21
JohnRennie
in reply to: maxim_k

Thanks Maxim,

 

I'm not entirely sure what is going on really, as I cant get any errors to repeat in the Windows version.

 

I've attached the dwg file for you if you get a chance to look at this too.

Message 9 of 21
JohnRennie
in reply to: JohnRennie

Actually it must be something else as it comes up with a couple of error messages everytime I go into a hatch command in any drawing.

Either way it is very annoying, especially as I have reverted back to the original acad.pat file.

Message 10 of 21
maxim_k
in reply to: JohnRennie

Hi John,

 

It appears that you have some ".pat" (with single hatch definition in it) somewhere on AutoCAD Support File Search Path, and this file have an error. An error message should look like this one:

 

Screen shot 2012-02-22 at 14.26.41.png

 

Check, please, AutoCAD Support File Search Path for additional .PAT files.

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 11 of 21
GraciMaiO
in reply to: JohnRennie

Hello I am Having this problem please help me.

 

 

Message 12 of 21
maxim_k
in reply to: GraciMaiO

Welcome to the Autodesk Forums!

 

Hi,

 

At what moment exactly do you get this alert - please provide more details.

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 13 of 21
GraciMaiO
in reply to: maxim_k

Well I get this message when i Decide to hatch  something I open the hatch tool and when I click Hatch it appears this message is pretty annoying please help me.

 

 

Message 14 of 21
maxim_k
in reply to: GraciMaiO

Not absolutely sure, but maybe you have this file 3tab.pat somewhere on AutoCAD support files search path (or maybe in the same folder as the opened DWG file). It seems this file have errors in hatch pattern defenition and AutoCAD can not load it correctly to Hatch library.
Try to find this file - 3tab.pat - on your Mac with Spotlight search and move it to some location where AutoCAD will not find it (external flash drive for example). then try to use Hatch command.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 15 of 21
eric
in reply to: JohnRennie

I have been struggling with this for a while with Autocad mac and have figured out how to make any hatch work. 


The mac version seems to be very finicky when it comes to how the files are written and the naming is case sensative.

 

One of the following changes is what fixed it, but I am not sure which one did the trick:

 

Rename the files from

 

1) MONTANALEDGE.PAT or MontanaLedge.pat --- to --- montanaledge.pat

 

2) Open the file in Textedit or some rich text program and take out any notes that may look like this:

 

;-------------------------------------------------------------------------------
;-Template=Entities
;-Source =G:\Graphics\Artwork\CAD\Ha...estones\VirginiaLedge\Virginia Ledge.dxf
;-Date =12/22/2009
;-Time =1:53:31 PM
;-HatchKitVersion=2.7.1.1995

 

3) Change the first line of the file to match the file name.

 

If it is montanaledge.pat ---- then:

*MONTANALEDGE, Mountain Stone

 

I include the comma and a description because the default hatches have that. Note that the file name AND extension are all lowercase, but the name in the text file is all uppercase.

 

4) Remove any spaces and blank lines from the end of the .pat file and then add one blank line (not sure if this does anything). 

 

Good luck! I have made this work for 5 or six hatches I have tried it on.

 

Message 16 of 21
calaudiopile
in reply to: eric

Seems like a pretty crazy workaround to the known hatch issues in AutoCAD for Mac... Wonder why they just don't fix the bug? Maybe they think that AutoCAD for Mac users don't need hatches?

Message 17 of 21
donaldgoerig
in reply to: maxim_k

Hi Maxim

I get this Hatch error as well.  I am on ACAD LT 2016 for mac.  Whenever I paste a hatch from another drawing, I am able to copy properties but whenever I try ro start a custom hatch from scratch, I always get the error message.  Any idea on this one?

Don

Message 18 of 21
maxim_k
in reply to: JohnRennie

Hi Don,

Can you share problem hatch pattern file?

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 19 of 21
donaldgoerig
in reply to: maxim_k

Yes, here it is.  This actually happens on all 3rd party patterns I have.  If it works for you, list the exact steps you do and I will try it again on my end.  Same thing happens to be both on my macbook and desktop.

Don

 

Message 20 of 21
maxim_k
in reply to: donaldgoerig

Works fine on my side.
Here is how I setup custom hatch patterns:
- I created special folder for custom hatch patterns
- Added this folder to AutoCAD Support Files Search path in AutoCAD Preferences
- that is all.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost