# Change Imported ACAD Line Styles to Match Revit Line Styles Based on Line Weight

**URL:** <https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895>\
**Category:** Revit\
**Created:** [September 18, 2017, 5:54pm UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895 "2017-09-18T17:54:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will.Comeau](https://avatars.discourse-cdn.com/v4/letter/w/7cd45c/32.png) [@Will.Comeau](https://forum.dynamobim.com/u/Will.Comeau)\
**Post date:** [September 18, 2017, 5:54pm UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895/1 "2017-09-18T17:54:23Z")

</div>

Hello all,

I am working on a way to convert ACAD details to Revit and still retain line weights, styles, patterns, etc.

I would like to filter all of the imported line styles, and then by using the imported line weights, change the line style to match a pre-existing Revit line style with a similar line weight. This would be a simple task, if not for the fact that line weights are stored in such a way that I can’t read/change them using normal Dynamo nodes. The Bimorph package has a node which allows me to see the individual attributes of each line style (name, weight, color, graphicstyle), but does not let me use these in any meaningful way.

Does anyone have a workaround for this/has anyone dealt with converting ACAD details before? Am I looking at this the wrong way? The end goal of this is to create a best practice for our other offices, so any and all suggestions would be appreciated.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![Chad\_Clary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/chad_clary/32/10510_2.png) [@Chad\_Clary](https://forum.dynamobim.com/u/Chad_Clary)\
**Post date:** [September 25, 2017, 4:34pm UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895/2 "2017-09-25T16:34:31Z")

</div>

Don’t know if it helps at all but there are some 3rd party apps that can change / swap line types in a project. I know the CTC BIM Manager suite has that functionality: [http://ctcexpresstools.com/product/bim-manager-suite-2018](http://ctcexpresstools.com/product/bim-manager-suite-2018)

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [September 25, 2017, 4:41pm UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895/3 "2017-09-25T16:41:00Z")

</div>

> [@Will.Comeau](#):
>
> does not let me use these in any meaningful way

In the tutorial, we can read: “_Line Style names can be input to map Line Styles to curves from each layer_”. Would that meet your expectations?  
[http://bimorph.co.uk/bimorph-nodes/curves-from-cad-layers/](http://bimorph.co.uk/bimorph-nodes/curves-from-cad-layers/)

---

<div class="post-metadata">

**Author:** ![Will.Comeau](https://avatars.discourse-cdn.com/v4/letter/w/7cd45c/32.png) [@Will.Comeau](https://forum.dynamobim.com/u/Will.Comeau)\
**Post date:** [September 25, 2017, 4:56pm UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895/4 "2017-09-25T16:56:52Z")

</div>

Thank you and Chad\_Clary for both of your help. Your solutions are both on the right track but do not meet what I was in need of.

Our corporate BIM team recently developed a tool to help with this that we were notified of after I posted, so this issue is now resolved. Thanks again.

---

<div class="post-metadata">

**Author:** ![cftrevizo](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cftrevizo](https://forum.dynamobim.com/u/cftrevizo)\
**Post date:** [September 26, 2018, 6:19pm UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895/5 "2018-09-26T18:19:13Z")

</div>

My solution was to Prepare the CAD file by writing a LSP that would assign them to the Color Number. Then in CAD simply rename them to my Revit Line Styles, & or by Pens 3-11 for later assigning a Style using CTC’s “Type Swapper”.

---

<div class="post-metadata">

**Author:** ![dspshin073a](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@dspshin073a](https://forum.dynamobim.com/u/dspshin073a)\
**Post date:** [December 8, 2020, 11:18am UTC](https://forum.dynamobim.com/t/change-imported-acad-line-styles-to-match-revit-line-styles-based-on-line-weight/14895/6 "2020-12-08T11:18:11Z")

</div>

Hello Will.Comeau

Now I’m Searching similiar thing that you post?  
If you find solution, Can you give me a hint?  
thank you
