!arrPipes = object array()
!arrPipes.append('PIPE1')
!arrPipes.append('PIPE2')
do !strPipes values !arrPipes
$!strPipes
!pipename = namn
$m %option file location here%
DETAIL CE
var !ISOCOUNT isodraw number
do !PLOT from 1 to !ISOCOUNT.REAL()
var !PLOTFILE isodraw plotfile $!PLOT filename
!oldName = '$!PLOTFILE' & '.dxf'
!oldName =substring(!oldName.Replace('/','\'),2)
!newName = 'c:\temp\' & '$!pipename' & '_sht_' & '$!PLOT' & '.dxf'
SYSCOM 'COPY "$!oldName" "$!newName"'
enddo
enddo
!arrPipes = object array()
!arrPipes.append('PIPE1')
!arrPipes.append('PIPE2')
do !strPipes values !arrPipes
$!strPipes
!pipename = namn
$m %option file location here%
DETAIL CE
var !ISOCOUNT isodraw number
do !PLOT from 1 to !ISOCOUNT.REAL()
var !PLOTFILE isodraw plotfile $!PLOT filename
!oldName = '$!PLOTFILE' & '.dxf'
!oldName =substring(!oldName.Replace('/','\'),2)
!newName = 'c:\temp\' & '$!pipename' & '_sht_' & '$!PLOT' & '.dxf'
SYSCOM 'COPY "$!oldName" "$!newName"'
enddo
enddo