# How do I isolate Type name for manipulation?

**URL:** <https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826>\
**Category:** Revit\
**Created:** [March 18, 2021, 4:06pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826 "2021-03-18T16:06:21Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 4:06pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/1 "2021-03-18T16:06:21Z")

</div>

Is there a way to get a list of only the Type names without the Family name following? I want to add a suffix to the Type name, but the + node is adding the suffix to the end of the Family name since that is what each item in my lists ends with.  
I tried using the Clockwork nodes “Element.ElementType+” and “Element.Name” and both return null values for all items.

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

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [March 18, 2021, 4:12pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/2 "2021-03-18T16:12:45Z")

</div>

@Redrunner262 Did you try using the FamilyType.Name node?  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/1/51e39eb693eee30839d8b1c3c3ec1fb1da0a0e80.png)

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 4:32pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/3 "2021-03-18T16:32:42Z")

</div>

That’s it. Now the Clockwork node “Element.SetName” is not changing the Type names. Now that I have string values for the Type names, how do I set these Type names in my Revit file? In the image below, the red arrow shows the incongruency between the changed string value and the element’s Type name.

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

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [March 18, 2021, 4:58pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/4 "2021-03-18T16:58:28Z")

</div>

@Redrunner262 It’s because you are trying to set the name to the element. Elements won’t have a name. Elements would have a FamilyType so you need to get that and set the new name to that type and not the element.  
Try this:

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

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 5:05pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/5 "2021-03-18T17:05:27Z")

</div>

My resulting list in the Element.ElementType node is returning nulls, whereas in your graph it returned the desired data. Do you know why that is?

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

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [March 18, 2021, 5:13pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/6 "2021-03-18T17:13:45Z")

</div>

@Redrunner262 My bad. I think you were already supplying the FamilyTypes. Ignore my previous reply  
Can you flatten both the lists and give it a try?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/d/9da378d9487068bd68978ba5984fdf696a6e5dc7.png)

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 5:19pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/7 "2021-03-18T17:19:15Z")

</div>

No more nulls but still no change. Maybe in this case it has something to do with the list levels? I see the results of one Flatten node has two list levels and the other has three. Consequently I tried manipulating the levels for both inputs of the Element.SetName node but alas, the results stayed the same.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/4/14ebca48a6069fbdb1630cb900a11e422edbdaa4.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 18, 2021, 5:29pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/8 "2021-03-18T17:29:38Z")

</div>

@Redrunner262 Could you try adding `List.Unique` node:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/b/8b0ef5232b37b099aa7e81abd01ac1726f6445b9.png)

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 5:44pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/9 "2021-03-18T17:44:17Z")

</div>

Still no change. I’m wondering if the discrepancy in list lengths (shown in red circles) is making the two List.UniqueItems nodes not cooperate together.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/504079f478d039f2c5a02e8b2c8a2464d845de15.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 18, 2021, 5:46pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/10 "2021-03-18T17:46:19Z")

</div>

@Redrunner262 what’s your revit, dynamo and clockwork package versions?

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [March 18, 2021, 5:54pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/11 "2021-03-18T17:54:56Z")

</div>

@Redrunner262 Can you share your whole graph?  
Did you duplicate or create these families in the same graph?  
I tried the same using Dynamo 1.3.4 and it still works for me.

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 6:32pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/12 "2021-03-18T18:32:49Z")

</div>

I can’t attach my Revit file. I purged it continually all the way down to 5 MB, but the 4 MB upload size limit is preventing me from putting it on here. As such, here is the Dynamo graph.

I’m using Revit 2019, Dynamo 1.3.4.6666, and Clockwork 1.33.0.

[Categories - Replace Family Type name suffix.dyn](https://forum.dynamobim.com/uploads/short-url/i6TkBfKdEANmnbN8arnSwJ3aHYR.dyn) (22.0 KB)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 18, 2021, 6:37pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/13 "2021-03-18T18:37:59Z")

</div>

> [@Redrunner262](#):
>
> preventing me from putting it on here

Can you send it through Google drive/Dropbox or similar?

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 6:43pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/14 "2021-03-18T18:43:12Z")

</div>

See here:  
[https://drive.google.com/file/d/1RmsMuoGILKvP9\_knbRXwVsfeV2sAS1Wb/view?usp=sharing](https://drive.google.com/file/d/1RmsMuoGILKvP9_knbRXwVsfeV2sAS1Wb/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [March 18, 2021, 8:07pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/15 "2021-03-18T20:07:25Z")

</div>

@Redrunner262 Works just fine for me.  
[Categories - Replace Family Type name suffix.dyn](https://forum.dynamobim.com/uploads/short-url/noSJzLKOPX27icIHoKqD553ssUH.dyn) (20.3 KB)

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/2/824ad24124d502e42058103180c56d1c89a19fce.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/8/68c91b664ad02b50051e6ebe2e876122bd900217.png)

I would suggest install the latest version of Clockwork - 1.34.0, restart Revit and give it a try.

---

<div class="post-metadata">

**Author:** ![Redrunner262](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/redrunner262/32/118682_2.png) [@Redrunner262](https://forum.dynamobim.com/u/Redrunner262)\
**Post date:** [March 18, 2021, 9:12pm UTC](https://forum.dynamobim.com/t/how-do-i-isolate-type-name-for-manipulation/61826/16 "2021-03-18T21:12:02Z")

</div>

That was it. Thank you!
