def setElementNodeDictionaryMatrix(elementNode, matrix4X4):
 if (elementNode.xmlObject == None):
  elementNode.attributes.update(matrix4X4.getAttributes('matrix.'))
 else:
  elementNode.xmlObject.matrix4X4 = matrix4X4

def setElementNodeDictionaryMatrix ( elementNode , matrix4X4 ) : if ( elementNode . xmlObject == None ) : elementNode . attributes . update ( matrix4X4 . getAttributes ( 'matrix.' ) ) else : elementNode . xmlObject . matrix4X4 = matrix4X4
set the element attribute dictionary or element matrix to the matrix .