Hermm... I dont' have one
Any would be appriciated, thank you in advance...
~Kroke
![]() |
|
![]() |
|
![]() |
|
![]() |
Hermm... I dont' have one
Any would be appriciated, thank you in advance...
~Kroke
Kroke,
Here you go. It is a 2 1/2" Batten at 16" on center. It should be easy to edit the hatch numbers to any size batten/spacing you want.
*Board & Batten, 2.5" Batten at 16" o.c.
;%TYPE=MODEL
90, 0, 0, 16, 16, 16
90, 2.5, 0, 16, 16, 16
Thanks Scott!
You know, as I read your pat file 'code', I go back to thinking of the old Acad days when we were designers as well as computer hacking coders to make things the way we wanted. Heh.
Wich brings me to a wish item:
Make .PAT files WITHIN Revit.
That'd be sweet eh? Draw what you need in a pre determined sized area, and Revit makes it a .pat file out of it!
NOW THAT WOULD RAWK!
There used to be some third-party tools that would do this for autocad...maybe a google search?
Actually I made that hatch with "Hatch Manager 2004" using AutoCAD. I was using the shareware version (good for 30 days). Unfortunately Hatch Manager stores new hatches in a proprietary format. I got around this by using a lisp routine called "Getpat.lsp" to snatch the pattern off an AutoCAD drawing. A bit of a round-about way to make a custom hatch but I was able to do it without having to give my credit card number out to anyone. Both Hatch Manager and Getpat can be downloaded from:
http://www.caddepot.com/dcd/Autodesk/Hatching/
Yes it sure would be nice if Revit included a simple tool to make custom hatches.
Right, neat if you use acad, but what if you don't?
No AutoCAD? Then you are SOL!![]()
Or else you can enter the matrix and try to decipher the hatch format.![]()
This file did not work for me, what am I doing wrong. It showed up in autocad, but when I select it I am told that there is an error in the .pat file. Any help is greatly appreciated as I have a deadline today. Thanks!
Are you trying to use this .pat in AutoCAD? This is a Revit forum. My AutoCAD days are mostly behind me....and it's been a long time since I coded pattern files....you can try removing the line that says "%TYPE = MODEL" and see if that resolves it. I can't remember if the semicolon comments out a line so I don't know if that makes a difference.
Any line starting with a semicolon is a comment in an AutoCAD patttern.
Hope this helps (it's portion of HatchKit's Help file).
- Store custom hatch patterns as ASCII text files with a .PAT filename extension in a directory on your Support File Search Path.
- A custom hatch pattern file contains one hatch pattern internally named to match the file e.g. file X.PAT should contain one pattern called X.
- Optional comment lines commence with a semicolon ( ; ). Comments are optional.
- The first non-blank, non-comment line in the file should commence with an asterisk ( * ) followed by the pattern name then (optionally) a comma followed by a description. If the description is absent there should be no comma.
- Letters (A-Z), digits (0-9), and generally (but not always) dollar, dash (hyphen) and underscore characters may be used in the name. The name should start with a letter.
- Pattern definition lines follow the line containing the hatch pattern name.
- No line may be longer than 80 characters.Each line's definition must be completed on one line with no continuation.
- A blank line should precede the end of file. Otherwise, blank lines are ignored.
Try this:
<<Copy from below this line >>
*BoardBatten, 2.5" Batten at 16" o.c.
90, 0, 0, 16, 16, 16
90, 2.5, 0, 16, 16, 16
<<to above this line into a text file called BOARDBATTEN.PAT>>
Beware Notepad's propensity to add a .TXT filename extension
Hugh Adamson
www.hatchkit.com.au
Last edited by hugh.69031; 2010-04-17 at 05:30 AM.