AsValueString not performend

Hello dear Community,

for a custom tool, I try to convert a Roomnumber asValueString and print it.

print(element.LookupParameter("Nummer").AsValueString)

I did it multiple times ago, it always worked, but right now, thats the result:

image

I have no idea, what could cause this.

easy one

a typo…

AsValueString() is a method, not a property, you are missing the parenthesis.
AsValueString