You can use DynaPAT_PRO (Hatch Pattern Generator) - dyn attached

Hi, Dynamo lovers

DynaPAT is a dyn which generates *.pat files for Revit patterns
I know there are some add-ins and dyn from others.(including pyRevit)
I hope you can find some advatanges from mine though.

I created the first version about two years ago.
Recently I updated most of nodes with python to accelerate speed and minimize the graph.
Now it’s more than 3x faster than the first version, and with 1/4 sized graph.
해치샘플

What DynaPAT can do

  1. Non square pattern (any rectangles available)
  2. Patterns with curves
  3. Honeycomb pattern (There were two different scripts, and I combined them as one)
  4. Custom pattern size (What you draw is what you get)
  5. No template or line type specification necessary. Just draw your own pattern with any lines on any view. (you can use any two different line styles for boundary and pattern)
  6. It creates *.pat file, so you can use created files for other apps like Autocad.
  7. You can choose the pattern styles as Drafting or Model.
  8. Automatically detect current project units and apply it to PAT file. (inch or mm)

This is a video as an instruction.(It was recorded with the old version)

Watch below If you want to see some explanation. Each of them has subtitles in Eng.
(for Rectalgular pattern)

(for hexagonal pattern)

I’m releasing it here to express my gratitude for this forum.
Hope it helps you to enjoy your projects or find something useful in the script.
Please let me know if any of you have trouble on using DynaPAT.
Enjoy. :slight_smile:

ps. Special thanks to Dynamo Team members(@solamour @Michael_Kirschner2 @jacob.small )
It can run on any Revit versions thanks to you.
DynaPAT_PRO_v2_fixed.dyn (242.3 KB)

21 Likes

Nice job, @Hyunu_Kim :blush:

2 Likes

This is super awesome @Hyunu_Kim! Love seeing all the epic patterns created in this workflow :smiley:

1 Like

fantastic @Hyunu_Kim , I’m a fan.
I had to make some modifications to adapt it to a French version of Revit.
Thank you so much for sharing.

1 Like

Thank you @Hyunu_Kim but i haven’t been able to make it work. Many errors not only because the languaje (i made the changes to spanish) but others i don’t know how to fix.

@Manuel_Lopez1 You are the first one who reported error… Not sure what’s the problem on you.
I’ll see what I can do if you attatch your rvt file with your pattern drawn.

Thanks for your work @Hyunu_Kim
As I want to run this script with Relay for Revit, I made an User Interface to replace Dynamo player.


DynaPAT_PRO_UI.dyn (234.2 KB)

Looks great @Villager_Academy, Thanks :slight_smile:

the Hexagonal pattern gives an unexpected result, am i missing something?

It’s not a hexagon. It only works for rectangles or hexagons.

with a hexagon the result is also not as expected.

Make an edge on top…

Hi, Thanks a lot for this script! It seems to be powerful weapon! Unfortunetely does not work properly in my Revit 2024. Could you in some way help me with 25 isseues which i have during running script?

Thanks a lot in advance
Shemek.

@przemyslaw.winiarski Try this
And you need to install ‘Dynamo Python2.x’ package.

It seems that i have allready innstall python package:
1
I bought a script from your Ko-fi Website and does not working properly still.
I would like to have tihis working on Revit 2024. If it will help i can send a warnings log
(cannot attach it here like new user)
Hopefully it will cast more light :slight_smile:

@przemyslaw.winiarski Did you try the file I just linked above?

I do, still have some issue and wirte pat file but it does’t contain information abot pattern itself:

I don’t find any problem on my system.
I will see what I can do if you give me a link of your pattern in rvt.

Willing to do that, but in what way extract a link of pattern? Would you like to have it here or on your mail?

why don’t you just upload your file