# Category.ByName in german language version shows wrong category

**URL:** <https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950>\
**Category:** Revit\
**Created:** [January 13, 2023, 2:39pm UTC](https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950 "2023-01-13T14:39:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rolf.archi](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@rolf.archi](https://forum.dynamobim.com/u/rolf.archi)\
**Post date:** [January 13, 2023, 2:39pm UTC](https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950/1 "2023-01-13T14:39:36Z")

</div>

Hi,

in German language version of Dynamo 2.16 Category.ByName of “Ebenen” (levels) shows not “levels” but “Adaptive Punkte - Ebenen” (Adaptive working level).

 ![CBN](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/45389f5c2cf6e07e63bae247e20809470401842f.jpeg)

Can Category.ByName be used with “ **OST\_…** ” only?

Best regards

Rolf

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [January 13, 2023, 2:59pm UTC](https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950/2 "2023-01-13T14:59:08Z")

</div>

@rolf.archi ,

maybe that helps…

> [@List of all Revit Categories](https://forum.dynamobim.com/t/list-of-all-revit-categories/1732/2):
>
> I have a few different reporting nodes in my Bakery package for this as well: [categoryTools]

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [January 13, 2023, 2:59pm UTC](https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950/3 "2023-01-13T14:59:39Z")

</div>

Update your Revit to the latest release, and you should be ready. This was a known issue on the initial release of 2023

> [@Categories vs. Category.ByName Discrepancy in 2.13](https://forum.dynamobim.com/t/categories-vs-category-byname-discrepancy-in-2-13/77196/4):
>
> Note: I haven’t tested this between documents a whole lot. But, I believe category ids are reserved and stay standardized. I would be pretty inclined to use this method rather than python.

I have been using Category.ById lately as the string version is not consistent enough for my needs.

---

<div class="post-metadata">

**Author:** ![rolf.archi](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@rolf.archi](https://forum.dynamobim.com/u/rolf.archi)\
**Post date:** [January 13, 2023, 3:27pm UTC](https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950/4 "2023-01-13T15:27:31Z")

</div>

Hello John,

thank you very much for the information.

The good news: so the Revit 2023.1.1 update will fix the problem and the dyn scripts do not need to be changed!

The bad news: I could not install the update Revit 2023.1.1. So wait until the next issue.

Is “OST\_” possibly the most stable solution for a long time?

Best regards

Rolf

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [January 13, 2023, 3:39pm UTC](https://forum.dynamobim.com/t/category-byname-in-german-language-version-shows-wrong-category/84950/5 "2023-01-13T15:39:21Z")

</div>

> [@rolf.archi](#):
>
> Is “OST\_” possibly the most stable solution for a long time?

I can’t really say for sure. But it seems like it might be as @Andreas_Dieckmann indicated in that other thread.
