def manipulateXMLElement(target, xmlElement):
	"Manipulate the xml element."
	translateTetragrid = matrix.getTranslateTetragrid('', xmlElement)
	if translateTetragrid == None:
		print('Warning, translateTetragrid was None in translate so nothing will be done for:')
		print(xmlElement)
		return
	matrix.setAttributeDictionaryToMultipliedTetragrid(translateTetragrid, target)
def manipulateElementNode(elementNode, target):
	"Manipulate the xml element."
	translateTetragrid = matrix.getTranslateTetragrid(elementNode, '')
	if translateTetragrid == None:
		print('Warning, translateTetragrid was None in translate so nothing will be done for:')
		print(elementNode)
		return
	matrix.setAttributesToMultipliedTetragrid(target, translateTetragrid)
Esempio n. 3
0
def manipulateElementNode(elementNode, target):
    "Manipulate the xml element."
    translateTetragrid = matrix.getTranslateTetragrid(elementNode, '')
    if translateTetragrid == None:
        print(
            'Warning, translateTetragrid was None in translate so nothing will be done for:'
        )
        print(elementNode)
        return
    matrix.setAttributesToMultipliedTetragrid(target, translateTetragrid)
Esempio n. 4
0
def manipulateXMLElement(target, xmlElement):
    "Manipulate the xml element."
    translateTetragrid = matrix.getTranslateTetragrid('', xmlElement)
    if translateTetragrid == None:
        print(
            'Warning, translateTetragrid was None in translate so nothing will be done for:'
        )
        print(xmlElement)
        return
    matrix.setAttributeDictionaryToMultipliedTetragrid(translateTetragrid,
                                                       target)
Esempio n. 5
0
	def __init__(self, elementNode):
		'Set defaults.'
		self.translateTetragrid = matrix.getTranslateTetragrid(elementNode, '')
Esempio n. 6
0
 def __init__(self, elementNode):
     'Set defaults.'
     self.translateTetragrid = matrix.getTranslateTetragrid(elementNode, '')