Issues loading pattern (.pat) file in Revit.

Issues loading pattern (.pat) file in Revit.

Anonymous
Not applicable
5,385 Views
9 Replies
Message 1 of 10

Issues loading pattern (.pat) file in Revit.

Anonymous
Not applicable

I've gone to import a model surface pattern for my floor in Revit. I created a custom pattern, but when I try to load it in, I get the error:

"No 'Model' type patterns found."

 

Here is the text contained within my .pat file:

;%UNITS=INCH
;%VERSION=3.0

 

*PCT 24x24, 24 x 24 Floor Tiles
;%TYPE=MODEL
0, 0, 0, 24.25, 0, 24, -0.25
0, 0, 24, 24.25, 0, 24, -0.25
90, 0, 0, 0, 24.25, 24, -0.25
90, 24, 0, 0, 24.25, 24, -0.25

 

<END>

 

I'll attach the file as well.

 

Any idea what is causing the issue?

 

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

cbcarch
Advisor
Advisor

try deleting the <END> entry

Cliff B. Collins
Registered Architect The Lamar Johnson Collaborative Architects-St. Louis, MO
0 Likes
Message 3 of 10

Anonymous
Not applicable

"<END>" was simply to indicate that was the end of the .pat file. "<END>" is not actually included as text in the file.

0 Likes
Message 4 of 10

hugha
Collaborator
Collaborator
Accepted solution

Revit is technically correct as that pattern is flawed and it won't load it because the dX and dY values in the first two element specifications are juxtaposed and zero spacing between lines doesn't fly. Hence the informative message.

 

try:

 

;%UNITS=INCH
;%VERSION=3.0
*PCT 24x24, 24 x 24 Floor Tiles
;%TYPE=MODEL
0,  0,  0, 0, 24.25, 24, -0.25
0,  0, 24, 0, 24.25, 24, -0.25
90, 0,  0, 0, 24.25, 24, -0.25
90, 24, 0, 0, 24.25, 24, -0.25

 

Note that dX and dY (4th and 5th items on each line) are always measured assuming the element as being horizontal.

 

For further instructions read the preamble to the standard OOTB text file revit.pat

 

Hope this helps,

 

Hugh Adamson

www.hatchKit.com.au

 

 

Message 5 of 10

Anonymous
Not applicable

Hi there, your comment really did helped on me, just a question what is the 3.0 version in the command represent? 



@hugha wrote:

Revit is technically correct as that pattern is flawed and it won't load it because the dX and dY values in the first two element specifications are juxtaposed and zero spacing between lines doesn't fly. Hence the informative message.

 

try:

 

;%UNITS=INCH
;%VERSION=3.0
*PCT 24x24, 24 x 24 Floor Tiles
;%TYPE=MODEL
0,  0,  0, 0, 24.25, 24, -0.25
0,  0, 24, 0, 24.25, 24, -0.25
90, 0,  0, 0, 24.25, 24, -0.25
90, 24, 0, 0, 24.25, 24, -0.25

 

Note that dX and dY (4th and 5th items on each line) are always measured assuming the element as being horizontal.

 

For further instructions read the preamble to the standard OOTB text file revit.pat

 

Hope this helps,

 

Hugh Adamson

www.hatchKit.com.au

 

 


 


 

0 Likes
Message 6 of 10

hugha
Collaborator
Collaborator

Autodesk provides this description in the standard text file revit.pat

;
;    ;%VERSION=3.0
;
; This identifies the file as a Revit Fill Pattern file of the specified version. The version
; described here is 3.0. Include this directive in your files for future compatibility.

 

 

0 Likes
Message 7 of 10

Seychellian
Advocate
Advocate

I dont get it. How was this solved?

0 Likes
Message 8 of 10

hugha
Collaborator
Collaborator

Loading to HatchKit  immediately shows OP's pattern specification was fatally flawed as it contains elements with zero Delta-Y leading to an infinite looping when attempting to paint an area with those elements.

 

Spotting the juxtaposed file items showed why.

 

If you are wondering about it being the third revision of the pattern specification I do also as AFAIK it's never been amended or explained  beyond the description to be found in the standard Revit.pat file preamble or similar help found online.

0 Likes
Message 9 of 10

Seychellian
Advocate
Advocate

Its all a bit code-y for me I am afraid.

0 Likes
Message 10 of 10

jcarson44SWA
Participant
Participant

Howdy Folks, I am struggling with a similar problem. I got Chat GPT to help me out with writing a brick pattern code and I am not sure exactly what I am looking at. 
*RunningBondBrick, 2.5" x 16" Running Bond Brick Pattern
;%UNITS=INCH
;%TYPE=MODEL
0, 0, 0, 16, 0 ; Horizontal line for the first row of bricks
0, 0, 2.5, 16, 0 ; Second row of bricks, offset vertically by 2.5"
90, 0, 0, 0, 2.5 ; Vertical mortar joints spaced every 2.5"
0, 8, 2.5, 16, 0 ; Offset for the second row, shifted 8" horizontally

0 Likes