Â
Â
...Â
for AttributeName in MyFMEObject.AllAttributeNames()Â
 if AttributeNamet:6]!='LIST_'ÂÂ
  MyFMEObject.setAttribute("MAX_"+ParamAttributeName,-1)Â
  MyFMEObject.setAttribute("MIN_"+ParamAttributeName,1000000)Â
Â
for AttributeName in MyFMEObject.AllAttributeNames()Â
 if AttributeName :6]=='LIST_'ÂÂ
  CalcMaxMin(AttributeNamel-8:])Â
  MyFMEObject.setAttribute("MAX_"+ParamAttributeName,-1)Â
  MyFMEObject.setAttribute("MIN_"+ParamAttributeName,1000000)Â
   MyFMEObject.removeAttribute(AttributeName)Â
Â
def CalcMaxMin(ParamObject, ParamAttributeName):Â
 localValue=ParamObject.getAttribute(ParamAttributeName)Â
 localMaxValue=ParamObject.getAttribute("MAX_"+ParamAttributeName)Â
 localMinValue=ParamObject.getAttribute("MIN_"+ParamAttributeName) ÂÂ
 if localValue<localMinValue:Â
  ParamObject.setAttribute("MIN_"+ParamAttributeName,localValue)Â
  if localValue>localMaxValue:Â
  ParamObject.setAttribute("MAX_"+ParamAttributeName,localValue)ÂÂ
Â
it is shortened and only a not tested example, in reality I split the listnames in parts (cause it is not a list in python- style, is it?) and do some more.Â
Â
from Attribute MYVALUE1, MYVALUE2 ... I createdÂ
MAX_MYVALUE1, MIN_MYVALUE1, MAX_VALUE2 ...Â
Â
how can I publish this for next transformer, if I do not know at design time, what Attributes I get?