This is something a collegue of mine put together.
You can follow these rules to create certain custom patterns using notepad.
|
This is something a collegue of mine put together.
You can follow these rules to create certain custom patterns using notepad.
In http://new.cadalyst.com/code/members/oct05.zip, one of the lisp routines is Hatch Maker, where you draw in a 1x1 unit square in autocad and export as a pattern file.
You can then use the hatch scale editor http://new.cadalyst.com/code/members/jan07.zip to change the scale of the apttern, or adjust the scale when importing to Revit.
Note that in the example - you end up with a hatch pattern that over a long distance will result in inaccuracies. 2.667 * 3 = 8.001 Seems small, but on big buildings I've had it result in rounding errors.
A better pattern definition is:
0, 0,0, 0, 8
0, 0,2.667, 0,8
0, 0,5.334, 0,8
etc...
This put the distance between any three lines at exactly 8" spacing.
Both the AutoCAD and Revit patterns have the small inaccuracy....
It's good that you pointed that out....it's a huge deal even in a 2 story brick building...I've been meaning to do what you posted, but haven't had the time to modify the pat file....
Thanks!
Originally Posted by aaronrumple
How can I take a custom pat file I created and use it in Revit as a model pattern? It says that "No Model Type Patterns found". I know there's another method of importing a dwg with the hatch and exploding it, but I'd rather use the pat file directly. Anything that needs to be added to the pat file for this? Thanks.
EDIT: Nevermind, got it. Just needed to add ";%TYPE=MODEL" to the pat file.
Last edited by dbaldacchino; 2007-03-19 at 06:12 PM.