create custom hatch file on a mac and into a .pat file

create custom hatch file on a mac and into a .pat file

Anonymous
Not applicable
1,670 Views
3 Replies
Message 1 of 4

create custom hatch file on a mac and into a .pat file

Anonymous
Not applicable

hoping someone might be able to help here. I am trying to create a custom hatch pattern for a project I am working on. I currently have Autocad for mac 2018 LT. Below is the hatch pattern which i created in mac verison of notepad. My issue is turning this txt file into a .pat file. Any help would be greatly appreciated. thanks and look forward to some responses! 

 

;%UNITS=INCH
*2X1,2X1
;%TYPE=DRAFTING
0,0,0,0,1.135,2,-0.135
0,0,1,0,1.135,2,-0.135
90,0,0,0,2.135,1,-0.135
90,2,0,0,2.135,1,-0.135

0 Likes
Accepted solutions (1)
1,671 Views
3 Replies
Replies (3)
Message 2 of 4

hugha
Collaborator
Collaborator

Rename the file to 2x1.pat - note the file name MUST exactly match the single pattern name defined within and the file extension must be (caseblind) PAT.  AutoCAD regards any line starting with a semi-colon as a comment and you must have a blank line at the end of the file.

 

Your pattern will appear on the hatch control Custom tab.

 

Here's a guide to pattern specification explaining these and other idiosyncrasies:

https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Au...

 

 

hope this helps,

 

Hugh Adamson

www.hatchkit.com.au

 

 

 

 

0 Likes
Message 3 of 4

maxim_k
Consultant
Consultant
Accepted solution

Welcome to Autodesk Forums!

 

Hi Joseph,

 

As @hugha said, you need to rename your custom hatch definition file to 2X1.PAT  (in Finder).

Plus, when you create hatch definition - be sure to add an empty line after the last line of the hatch definition.

You can find hatch pattern file in the attachment. Put it to folder, which is on support files search path


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
0 Likes
Message 4 of 4

Anonymous
Not applicable

Thank you both so much for the help, it worked great!!

0 Likes