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: 

.PAT file loads not as expected

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
winYHZZH
2265 Aufrufe, 5 Antworten

.PAT file loads not as expected

I made a custom brick hatch for a project that, based on my basic understanding of how .PAT files work, should create a header course every 7 courses. However, when I load it into Revit (I'm using 2019), I get nothing but a grid. Where have I gone astray? I uploaded my file to pattycake.io, which displays it as I intended, and returns no errors, so I'm really at a loss for how to make it work. The text of the .PAT file is below.

 

*Brick with Header Course
;%TYPE=MODEL
0, 0, 0, 0, 2.667
90, 0, 2.667, 0, 8, 2.667, 18.667
90, 4, 5.333, 0, 8, 2.667, 18.667
90, 0, 8, 0, 8, 2.667, 18.667
90, 4, 10.667, 0, 8, 2.667, 18.667
90, 0, 13.333, 0, 8, 2.667, 18.667
90, 4, 16, 0, 8, 2.667, 18.667
90, 0, 18.667, 0, 8, 2.667, 18.667
90, 2, 0, 0, 4, 2.667, 18.667

Beschriftungen (2)
5 ANTWORTEN 5
Nachricht 2 von 6
syman2000
als Antwort auf: winYHZZH

This is something @Pattycake_Kyle may help 

Check out my Revit youtube channel - https://www.youtube.com/user/scourdx
Nachricht 3 von 6
winYHZZH
als Antwort auf: winYHZZH

I simplified the .PAT file, but to no avail. Loading it into Revit gives the same result.

 

*AmericanBond
;%TYPE=MODEL
0, 0, 0, 0, 2.667
90, 2, 0, 0, 4, 2.667, 18.667
90, 0, 2.667, 0, 8, 2.667, 2.667
90, 4, 5.333, 0, 8, 2.667, 2.667, 2.667, 2.667, 2.667, 8

 

Nachricht 4 von 6
winYHZZH
als Antwort auf: winYHZZH

Figured it out by rereading the basics: spaces use negative values.

Nachricht 5 von 6
Pattycake_Kyle
als Antwort auf: winYHZZH

Hey @winYHZZH Sorry about the late reply here. This is a bug in our system, we are pushing out an update soon to fix.

 

Since PAT files should always have a negative value for space, we draw it as if it is there, which is a bug on our part. This was also found by @jason4W7GR in this thread here; https://forums.autodesk.com/t5/revit-architecture-forum/custom-hatch-pattern-not-rendering-corectly/...

 

You are correct, just add a negative value to the space and that fixes your issue.

 

Easiest way to remember this is that the space values should be negative values (to represent 'pen up'), while the dash values should be positive (to represent 'pen down'). And always free free to ping me directly here or reach out via our contact page!

www.pattycake.io
Web based & real time .PAT creator. The largest collection of free PAT files! Over 700+ Pat files ready to download
No plugins or add-ins to install, and Revit compliant!
Nachricht 6 von 6
Pattycake_Kyle
als Antwort auf: Pattycake_Kyle

Case anyone comes across this thread. This has been fixed in Pattycake Version 2.

 

We decided to still draw the pattern as the user 'intends' the pattern to be. But we now highlight this problem using our error notification system :ausrufezeichen: Hover over the icon and it gives you detail on what is wrong.

 

Thanks to everyone who helped us find this bug! :käfer: We appreciate it. :gefaltete_Hände:

 

SpaceError.JPG

 

 

 

www.pattycake.io
Web based & real time .PAT creator. The largest collection of free PAT files! Over 700+ Pat files ready to download
No plugins or add-ins to install, and Revit compliant!

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