def addVector3ToXMLElement(key, vector3, xmlElement):
 xmlElement.attributeDictionary[key] = ('[%s,%s,%s]' % (vector3.x, vector3.y, vector3.z))

def addVector3ToXMLElement ( key , vector3 , xmlElement ) : xmlElement . attributeDictionary [ key ] = ( '[%s,%s,%s]' % ( vector3 . x , vector3 . y , vector3 . z ) )
add vector3 to xml element .