[COLOR=#333333]VAR !sites COLLECT ALL SITE for ce[/COLOR]
do !site values !sites
$!site
!filename= [COLOR=#333333]'C:\temp\' & [/COLOR]!site.replace('=','').replace('/','') & '[COLOR=#333333].ATT'
[/COLOR]
[COLOR=#333333]!!attdumpFile([/COLOR]!filename[COLOR=#333333])[/COLOR]
enddo
I think you should run cycle somethink like this:
var !E collect all SITE
DO !I VALUES !E
$!I
!SITE = (NAME OF SITE)
!!attdumpFileGLOBAL(|c:\temp\$!SITE|)
ENDDO
var !COLL collect all with type neq |TUBI| and type neq |SNOD| and type neq |SJOI| and type neq |VERT| and type neq |POIN| and type neq |POGO| for site
var !sites coll all site with mcou gt 0
var !collection coll all with type neq |TUBI| and type neq |SNOD| and type neq |SJOI| and type neq |VERT| and type neq |POIN| and type neq |POGO| from !sites hier