def getGeometryOutputByFunction(elementNode, geometryFunction):
 if (elementNode.xmlObject == None):
  print 'Warning, there is no object in getGeometryOutputByFunction in solid for:'
  print elementNode
  return None
 geometryOutput = elementNode.xmlObject.getGeometryOutput()
 if (geometryOutput == None):
  print 'Warning, there is no geometryOutput in getGeometryOutputByFunction in solid for:'
  print elementNode
  return None
 return geometryFunction(elementNode, geometryOutput, '')

def getGeometryOutputByFunction ( elementNode , geometryFunction ) : if ( elementNode . xmlObject == None ) : print 'Warning, there is no object in getGeometryOutputByFunction in solid for:' print elementNode return None geometryOutput = elementNode . xmlObject . getGeometryOutput ( ) if ( geometryOutput == None ) : print 'Warning, there is no geometryOutput in getGeometryOutputByFunction in solid for:' print elementNode return None return geometryFunction ( elementNode , geometryOutput , '' )
get geometry output by manipulationfunction .