# Get pattern hatch

**URL:** <https://forum.dynamobim.com/t/get-pattern-hatch/70267>\
**Category:** Uncategorized\
**Created:** [November 11, 2021, 12:24pm UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267 "2021-11-11T12:24:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![w.yusufJA9SF](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@w.yusufJA9SF](https://forum.dynamobim.com/u/w.yusufJA9SF)\
**Post date:** [November 11, 2021, 12:24pm UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/1 "2021-11-11T12:24:44Z")

</div>

hi there,

i would like to get the lines or curves of the pattern of the floor. is this possible?

greetings

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/2/22bfcb9d73d8146859fc92e386c350311687dc87.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [November 11, 2021, 5:21pm UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/2 "2021-11-11T17:21:47Z")

</div>

Not really, no. At least not from the element. A pattern is just an image mapped to a surface. The pattern doesn’t have any geometry to query.

However, if you can access the PAT file, you could theoretically recreate it in Dynamo.

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [November 11, 2021, 6:16pm UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/3 "2021-11-11T18:16:55Z")

</div>

Hi,

You can easily retrieve the fillpattern properties but this is not enough to generate the pattern.

 ![FillPattern](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7f29613368ccdd5d1cc3de553b4bef55f9101435.png)  
0

---

<div class="post-metadata">

**Author:** ![w.yusufJA9SF](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@w.yusufJA9SF](https://forum.dynamobim.com/u/w.yusufJA9SF)\
**Post date:** [November 12, 2021, 8:07am UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/4 "2021-11-12T08:07:49Z")

</div>

i havent found a way to work with the pat file  
is you know it plz let me know

---

<div class="post-metadata">

**Author:** ![w.yusufJA9SF](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@w.yusufJA9SF](https://forum.dynamobim.com/u/w.yusufJA9SF)\
**Post date:** [November 12, 2021, 8:08am UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/5 "2021-11-12T08:08:54Z")

</div>

i know about this method. if you know any more plz let me know

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [November 12, 2021, 9:02am UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/6 "2021-11-12T09:02:09Z")

</div>

If you know how pattern files are written you could effectively reconstruct this in Dynamo programatically, but not sure if the start point/orientation of a pattern is retrievable. In either case it is highly complex. You’d probably need the matching pat file outside the model to be read as a raw file by dynamo, not from the model

You’re going to have to think outside the box here Wihib - this is where it’s part dynamo, and part thinking like a computational designer to architect a solution.

---

<div class="post-metadata">

**Author:** ![w.yusufJA9SF](https://avatars.discourse-cdn.com/v4/letter/w/e480ec/32.png) [@w.yusufJA9SF](https://forum.dynamobim.com/u/w.yusufJA9SF)\
**Post date:** [November 12, 2021, 9:15am UTC](https://forum.dynamobim.com/t/get-pattern-hatch/70267/7 "2021-11-12T09:15:44Z")

</div>

thank you for you answer.

what ive done is an export dwg. then ive exploded the blocks and linked the file in revit and read the pattern and placed an line based family. quit the methode
