Hello!
I am currently creating a D_rename which seem to work OK as far as goes for Subtypes and Asset types (Domain Codes). However, when I include (Bypas = false) "Tier" I get a strange error. It looks to originate from some python error, however, its not clear to me where this error comes from.
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\untools\describe\controllers\utility_network.py", line 3836, in <dictcomp>
rename = {v.casefold(): k for k, v in self._cache.get("Tiers", {}).items()}
AttributeError: 'dict' object has no attribute 'casefold'
The tier rows looks like this:
What version of Pro/untools are you using?
Hello! Currently running Pro 3.1.3 and untools 3.1.1
Can you share more about what you're trying to accomplish with the rename?
I can do that - explain what we're trying to accomplish.
We're implementing the EUNF data model for a balanced three phase grid serving high-, medium, and low voltage tiers.
The out of the box tier names from Esri are not optimal for the customer, hence we want to rename the three (out of six) tiers that we will be using (the other three tiers are filtered out using D_Config):
As indicated in the screenshot above, we want to rename the Electric Distribution Primary tier to High voltage.
Rename works as long as we do not try to rename tiers. When trying to also rename tiers, the above error is thrown.
Jens,
I cannot repo the error. I am not sure the difference. Maybe a language pack? Are you using a Config table at the same time?
We are applying the D_Configuration in the same process.