I work with ArcGIS Desktop (latest version). I have a feature class called "space" that should be labeled. The label should look like this [room number] + "/ n" + [person] (python). But my problem is not that every room is assigned to a person like a toilet or laboratory. If there is a room that no one owns, the room should only be labled with the room number, but this is not the case. There is no label.
How I tried to do it :
def FindLabel ( [room_number],[person] ):
if [person] ="<Null>":
return [person] + '\n' +[Raum_Nummer]
else:
return [Raum_Nummer]
"< Null >" is my default value