def processTargetByFunctionPair(geometryFunction, pathFunction, target):
 if (target.xmlObject == None):
  print 'Warning, there is no object in processTargetByFunctions in solid for:'
  print target
  return
 if (len(target.xmlObject.getPaths()) > 0):
  lineation.processTargetByFunction(pathFunction, target)
  return
 geometryOutput = getGeometryOutputByFunction(target, geometryFunction)
 lineation.removeChildNodesFromElementObject(target)
 target.getXMLProcessor().convertElementNode(target, geometryOutput)

def processTargetByFunctionPair ( geometryFunction , pathFunction , target ) : if ( target . xmlObject == None ) : print 'Warning, there is no object in processTargetByFunctions in solid for:' print target return if ( len ( target . xmlObject . getPaths ( ) ) > 0 ) : lineation . processTargetByFunction ( pathFunction , target ) return geometryOutput = getGeometryOutputByFunction ( target , geometryFunction ) lineation . removeChildNodesFromElementObject ( target ) target . getXMLProcessor ( ) . convertElementNode ( target , geometryOutput )
process the target by the manipulationfunction .