You are on page 1of 1

outfitting

!todate = '00-00-00'
!todate = !!shidate(!todate)
!todate = !todate.replace('/', '-').trim()

--coordinate is here

--output
var !items coll all bran mem exclusive within vol /MKS_DEV1
var !items append coll all equi mem exclusive within vol /MKS_DEV1
var !items append coll all sctn exclusive within vol /MKS_DEV1
var !items append coll all pane exclusive within vol /MKS_DEV1

!path = 'X:\DEPARTMENT\ENGD\3D\Projects\ENI\Jangkrik-DGN'
!fnam = 'jgk_mks' + $!todate + '.DGN'

EXPORT SYSTEM /explant


HANDLE(75,202)
ENDHANDLE
export option 'seedfile' '\\psssv0110\Plant\PDMS12.0.SP6\seed3d.dgn'
EXPORT FILE /$!path\$!fnam OVER
EXPORT HOLES ON
EXPORT REPRE OFF
do !nsite VALUES !items
var !name purp of SITE OF $!nsite
var !nst nam of site of $!nsite
IF (matchw('$!nst','*STUDY*') eq true) OR (matchw('$!nst','*CINEMATIC*') eq
true) OR (matchw('$!nst','*F') eq true) OR (matchw('$!nst','*REFERENCE*') eq true)
then
skip
ELSE
export $!nsite
endif
enddo

--EXPORT all from !item COLOUR 20


EXPORT FINISH

--enddo

You might also like