How to put display model in Draft Drawlist

 
Parents
  • [HTML][/HTML]
    PDMSGURU,is you marco can be use for Version 12.0sp5? can please tell me the step? thanks.


    Hi
    there is one example:
    [HTML]
    !output = object file('drawlist.txt')
    !result = array()
    var !list1 coll all (stru equi bran) from drawlist
    --var !list1 coll all from drawlist ------here you can change for more detail collection
       do !i indices !list1
          $!list1[$!i]
          !fln = flnm
          !strin = 'add '& '$!fln'
          !result.append(!strin)
       enddo
    !output.writefile('overwrite', !result)
    var !wo evar pdmsuser
    !!alert.message('File drawlist.txt saved under $!wo')
    [/HTML]

    then in draft go to IDLI and type $m drawlist.txt
Reply
  • [HTML][/HTML]
    PDMSGURU,is you marco can be use for Version 12.0sp5? can please tell me the step? thanks.


    Hi
    there is one example:
    [HTML]
    !output = object file('drawlist.txt')
    !result = array()
    var !list1 coll all (stru equi bran) from drawlist
    --var !list1 coll all from drawlist ------here you can change for more detail collection
       do !i indices !list1
          $!list1[$!i]
          !fln = flnm
          !strin = 'add '& '$!fln'
          !result.append(!strin)
       enddo
    !output.writefile('overwrite', !result)
    var !wo evar pdmsuser
    !!alert.message('File drawlist.txt saved under $!wo')
    [/HTML]

    then in draft go to IDLI and type $m drawlist.txt
Children
No Data