Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Issues loading pattern (.pat) file in Revit.

9 ANTWORTEN 9
GELÖST
Antworten
Nachricht 1 von 10
Anonymous
4077 Aufrufe, 9 Antworten

Issues loading pattern (.pat) file in Revit.

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?

 

9 ANTWORTEN 9
Nachricht 2 von 10
cbcarch
als Antwort auf: Anonymous

try deleting the <END> entry

Cliff B. Collins
Registered Architect The Lamar Johnson Collaborative Architects-St. Louis, MO
Nachricht 3 von 10
Anonymous
als Antwort auf: cbcarch

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

Nachricht 4 von 10
hugha
als Antwort auf: Anonymous

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

 

 

Nachricht 5 von 10
Anonymous
als Antwort auf: hugha

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

 

 


 


 

Nachricht 6 von 10
hugha
als Antwort auf: Anonymous

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.

 

 

Nachricht 7 von 10
Seychellian
als Antwort auf: hugha

I dont get it. How was this solved?

Nachricht 8 von 10
hugha
als Antwort auf: Seychellian

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.

Nachricht 9 von 10
Seychellian
als Antwort auf: hugha

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

Nachricht 10 von 10
jcarson44SWA
als Antwort auf: Anonymous

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

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report