def getSliceElementZ(sliceElement):
 idValue = sliceElement.attributeDictionary['id'].strip()
 return float(idValue[len('z:'):].strip())

def getSliceElementZ ( sliceElement ) : idValue = sliceElement . attributeDictionary [ 'id' ] . strip ( ) return float ( idValue [ len ( 'z:' ) : ] . strip ( ) )
get the slice element z .