# Create AbbruchLinie with Dynamo

**URL:** <https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [September 4, 2023, 9:16am UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458 "2023-09-04T09:16:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![berat.seker](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@berat.seker](https://forum.dynamobim.com/u/berat.seker)\
**Post date:** [September 4, 2023, 9:16am UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/1 "2023-09-04T09:16:00Z")

</div>

I need to create a specific line type. It’s a detail line with ‘X’ marks on it, used to indicate elements to be demolished in architectural demolition plans in Revit. I’m new to Dynamo, and I don’t have much knowledge. I’m sharing the line type I need, along with my previous attempts. Thank you in advance for your assistance.

 ![LineStyleCreate_2023-09-04_11-14-24](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/4/44674dae0f2aa7b199221a3d32263458c8ec881c.png)

---

<div class="post-metadata">

**Author:** ![berat.seker](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@berat.seker](https://forum.dynamobim.com/u/berat.seker)\
**Post date:** [September 4, 2023, 9:16am UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/2 "2023-09-04T09:16:46Z")

</div>

And here is the line type that i need to create

 ![abbruchlinie](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/b/6b0e1378f2d884769a77fcf949a4bb41f634c460.png)

---

<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:** [September 4, 2023, 9:44am UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/3 "2023-09-04T09:44:47Z")

</div>

Revit doesn’t make line types with symbols unfortunately, only dashes and dots. It’s a real shame on the developers this one as it has been on wishlist for _ages_, and AutoCAD has been doing this before Revit even existed.

Best workaround is typically line based detail components (which I believe that second screenshot you sent is based on the reference planes and ref line in the middle). Dynamo can’t break this limitation naturally.

---

<div class="post-metadata">

**Author:** ![berat.seker](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@berat.seker](https://forum.dynamobim.com/u/berat.seker)\
**Post date:** [September 4, 2023, 10:41am UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/4 "2023-09-04T10:41:01Z")

</div>

Thank you for the quick response. I was aware of the struggle but had hoped that maybe Dynamo could somehow fix this problem.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 4, 2023, 11:22am UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/5 "2023-09-04T11:22:25Z")

</div>

Hi @berat.seker i would say as Gavin with try a linebased detail family…but if can live with detailcurves on this curve something could work…

![Revit_XcoVlpnWvT](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/4/44305e9a649d102b354c8acc51be60fba50081de.gif)

---

<div class="post-metadata">

**Author:** ![berat.seker](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@berat.seker](https://forum.dynamobim.com/u/berat.seker)\
**Post date:** [September 4, 2023, 12:13pm UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/7 "2023-09-04T12:13:35Z")

</div>

Thank you! I’m attempting to replicate your previous suggestion, but I’m encountering an error with my code block node that I’m struggling to understand. Additionally, I couldn’t find the ‘Document.ActiveView’ node that you used. I have a ‘Document.ActvieView’ node, which has only a ‘document’ input and ‘view’ output. Could you please specify the correct node names and their corresponding packages, and possibly help me resolve the error with the code block node?

 ![LineStyleCreate_2023-09-04_02-10-01](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/8/c8462ef5d809c69f5c73561add652aab65f56efd.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 4, 2023, 12:19pm UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/8 "2023-09-04T12:19:37Z")

</div>

Hi @berat.seker difficult to see your image try zoom in with expended nodes [cant see whats goin on in the codeblock]…active view i like to use is from spring…but you can just use ootb as you do, but you just miss currentdocument before you active view node…

---

<div class="post-metadata">

**Author:** ![berat.seker](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@berat.seker](https://forum.dynamobim.com/u/berat.seker)\
**Post date:** [September 4, 2023, 12:25pm UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/9 "2023-09-04T12:25:18Z")

</div>

So sorry, here it is

 ![LineStyleCreate_2023-09-04_02-24-18](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/f/8fd6c6bc0fd462082c8f2491b671e48b96a5c6d3.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 4, 2023, 12:27pm UTC](https://forum.dynamobim.com/t/create-abbruchlinie-with-dynamo/93458/10 "2023-09-04T12:27:08Z")

</div>

hi its becourse you have #0 in your array try lets say 5 up to you but not 0  
PS remember current document node before active view node, and take a look at lacing as in my exemple
