Hi there,
I'm facing a problem with the variables of the type text that belong to a space. In the example in the screenshot, if I try to print the name of a space called 05. Bedroom I get an error. Funnily, I can print the number 00.02.05 BUT if i change it to A00.02.05 I get the same error.
There is definitely something up with the ironPython here...

See this issue: .Name property and other properties sometimes are dropped in ironpython:
https://github.com/IronLanguages/ironpython2/issues/79#issuecomment-313970079
TLDR, as a workaround use:
Element.Name.__get__(space)
or
Element.Name.GetValue(space)
thanks a lot gtalarico, it works!
I would very surprised if such a flagrant issue would have not been solved by now..
edit: what if I am using shared parameters within the space, in which I can't use the element to get the value (see below)?
edit2: found the solution, it was pretty obvious.... here:
Element.LookupParameter(sp,"BARC_SPC_GROUP_CLASS0").AsString()

For that custom parameter you should be able to use the regular lookup method:
space.LookupParameter("BARC_SPC_GROUP_CLASS0").AsString()
Most helpful comment
See this issue:
.Nameproperty and other properties sometimes are dropped in ironpython:https://github.com/IronLanguages/ironpython2/issues/79#issuecomment-313970079
TLDR, as a workaround use:
Element.Name.__get__(space)or
Element.Name.GetValue(space)