custom hatch pattern

custom hatch pattern

Anonymous
Not applicable
1,889 Views
9 Replies
Message 1 of 10

custom hatch pattern

Anonymous
Not applicable

Hi Guys,

 

I'm trying to create custom hatch pattern but i always got  the pop up saying "no model pattern find"

 

here is my pattern.

 

;%UNITS=MM
;%VERSION=3.0

*Ceiling1, (2) 600 X 1200 (1)150 x 1200
;%TYPE=MODEL
0, 0,0, 0,1350
0, 0,1200, 1350,0
90, 0,0, 0,1200
90, 600,0, 0,1200
90, 1200,0, 0,1200
90, 1350,0, 0,1200

 

can you please help me figure this out.. thanks

0 Likes
Accepted solutions (1)
1,890 Views
9 Replies
Replies (9)
Message 2 of 10

Corsten.Au
Advisor
Advisor

You just need two lines for rectangular model hatch

 

try this

 

*ceiling 1200 x 600
;%TYPE=MODEL
0, 0, 0, 0, 1200
90, 0, 0, 0, 600

Corsten
Building Designer
0 Likes
Message 3 of 10

Anonymous
Not applicable

Thanks. But I also need to have 150x600 every 2 of 600x 1200..

0 Likes
Message 4 of 10

Corsten.Au
Advisor
Advisor

am not sure how to add another level to that.. but if you have a 2D hatch pattern

available which works,  then just add

 

;%TYPE=MODEL

 

to hatch pat file...

 

 

 

 

Corsten
Building Designer
0 Likes
Message 5 of 10

Corsten.Au
Advisor
Advisor

try this..and modify accordingly

 

 

;%VERSION=3.0

;%UNITS=MM

* Ceiling

;%TYPE=MODEL

90,600,600,0,1200

90,300,300,0,1200

90,0,0,0,1200

0,0,0,0,600

Corsten
Building Designer
0 Likes
Message 6 of 10

FAIR59
Advisor
Advisor

there is a mistake in the 2nd line definition

 

;%VERSION=3.0
;%UNITS=MM

*Ceiling1 _ (2) 600 X 1200 (1)150 x 1200
;%TYPE=MODEL
0, 0,0, 0,1350
0, 0,1200, 0,1350
90, 0,0, 0,1200
90, 600,0, 0,1200
90, 1200,0, 0,1200
90, 1350,0, 0,1200

 

 

Message 7 of 10

David_Knight
Collaborator
Collaborator

your hatch pattern is missing 2 digits from each line.

 

*edit*

take a look at this:

https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Creati...

0 Likes
Message 8 of 10

David_Knight
Collaborator
Collaborator
Accepted solution

 

Try these out...

Revit 2017 file and pat file attached.

 

 

;%UNITS=MM
*Ceiling,Ceiling Grid
;%TYPE=MODEL
0,0,1200,0,-1200,1350,0
0,0,0,0,-1200,1350,0
-90,0,1200,0,-1350,1200,0
-90,1350,1200,0,-1350,1200,0
-90,150,1200,0,-1350,1200,0
-90,750,1200,0,-1350,1200,0

Message 9 of 10

hugha
Collaborator
Collaborator

 

@FAIR59 nails ir.

 

 

Defining Revit fill patterns consisting entirely of unbroken lines such as this ceiling grid is not at all difficult

 

Open a text editor and put this at the top of a text file 

 

;%VERSION=3.0

 

then for a pattern dimensioned in MM.

;%UNITS=MM

 

or, if dimensioned in inches

;%UNITS=INCHES

 

Then the pattern's name prefixed by an asterisk

*pattername

 

then, for a MODEL pattern  add this one line.
;%TYPE=MODEL

 

then, for each line in the pattern, add a line containing five numbers separated by commas. 

 

1.   Angle from horizontal in degrees

2.   X co-ordinate of a point on that line

3.   Y co-ordinate of the same point

4.  the number zero

5.  line's spacing, measured perpendicular to line

 

 

Save the file with extension .PAT and load to Revit.

 

This is explained fully in the preamble to the standard pattern file Revit.pat distributed with Revit.

 

 

Note:  the free HatchKit Add-In for Revit. graphically creates patterns consisting of multiple unbroken lines directly within Revit projects.

 

 

hth,

 

Hugh

 

0 Likes
Message 10 of 10

Anonymous
Not applicable

Thank you guys for your help... Smiley Happy

0 Likes