• I have generated a macro to export a RVM file from within Design, but the RVM does not get created. Can anyone please assist me getting it working??

    ---------- The RVM macro -----------------------------
    $* 03010-001-Macro
    ONERROR CONTINUE
    EXPORT HOLES ON
    REPRESENTATION OBSTRUCTION OFF
    REPRESENTATION INSULATION OFF
    REPRESENTATION UPDATE

    !dttm = object datetime()
    !mnth = !dttm.month()
    !mnth1 = !dttm.month().string()
    if $!mnth1 eq 1 then
      !mnth2 eq '01'
    elseif $!mnth1 eq 2 then
      !mnth2 eq '02'
    elseif $!mnth1 eq 3 then
      !mnth2 = '03'
    elseif $!mnth1 eq 4 then
      !mnth2 = '04'
    elseif $!mnth1 eq 5 then
      !mnth2 = '05'
    elseif $!mnth1 eq 6 then
      !mnth2 = '06'
    elseif $!mnth1 eq 7 then
      !mnth2 = '07'  
    elseif $!mnth1 eq 8 then
      !mnth2 = '08'
    elseif $!mnth1 eq 9 then
      !mnth2 = '09'
    elseif $!mnth1 eq 10 then
      !mnth2 = '10'  
    elseif $!mnth1 eq 11 then
      !mnth2 = '11'  
    elseif $!mnth1 eq 12 then
      !mnth2 = '12'      
    endif
    !dt = !dttm.date()
    !yr = !dttm.year().string().substring(3)
    --$!dt-$!mnth2-$!yr
    !fileext = |.rvm|
    EXPORT FILE /P:\Drawings\Model_Reviews\Model_Review_Files\03010-001\RVM\03010-001-$!dt-$!mnth2-$!yr$!fileext OVER

    VAR !ZCIVL1 COLLECT ALL SITE WITH MATCHWIL(NAME OF SITE,'/03010-001/C')
    DO !CIVVAL1 VALUES !ZCIVL1
    EXPORT $!CIVVAL1 COL 13
    ENDDO

    VAR !ZCIVL COLLECT ALL ZONE WITH MATCHWIL(NAME,'/03010-001/C/EARTH')
    DO !CIVVAL VALUES !ZCIVL
    EXPORT $!CIVVAL COL 7
    ENDDO

    VAR !DSTRUS COLLECT ALL SITE WITH MATCHWIL(NAME,'/03010-001/S')
    DO !STRUVAL VALUES !DSTRUS
    EXPORT $!STRUVAL COL 14
    ENDDO

    VAR !SEQUI COLLECT ALL SITE WITH MATCHWIL(NAME OF SITE,'/03010-001/M') AND MATCHWIL(FUNC OF EQUI,'CERTIFIED')
    DO !MEVAL VALUES !SEQUI
    EXPORT $!MEVAL COL 5
    ENDDO

    VAR !SEQUI1 COLLECT ALL EQUI WITH MATCHWIL(NAME OF SITE,'/03010-001/M') AND MATCHWIL(FUNC OF EQUI,'UN-CERTIFIED')
    DO !MEVAL1 VALUES !SEQUI1
    EXPORT $!MEVAL1 COL 3
    ENDDO

    VAR !SPIPES COLLECT ALL SITE WITH MATCHWIL(NAME,'/03010-001/P')
    DO !PIPEVAL VALUES !SPIPES
    EXPORT $!PIPEVAL COL 4
    ENDDO

    VAR !ELECD COLLECT ALL SITE WITH MATCHWIL(NAME,'/03010-001/E') AND MATCHWIL(NAME,'/03010-001/I')
    DO !ELECVAL VALUES !ELECD
    EXPORT $!ELECVAL COL 5
    ENDDO

    ONERROR CONTINUE

    EXPORT FINISH

    $.
  • Your Matchwild commands don't find any members.

    Note that you have to expand the arguments usually with asterisks '*UN-CERTIFIED*'
  • In above one

    after site name col number also give
    example

    EXPORT /Site name col10
  • I need to export rvms site wise seperate please help me any one by posting macro or syntax
  • I need seperate rvm files for every site,not in single file
  • Run Separate Batch Files for each site and again we have a manual rule setting through Utility->Export in design
  • Thanks for the help everyone. This really help export certain items.

    EXPORT ALL FRMW WITH MATCHWIL(NAME, '/S-*OS*PLT') COL 5
  • Hi guys,
    I would like to ask if is possible to use an EXPORT like the previous one ( EXPORT ALL FRMW WITH MATCHWIL(NAME, '/S-*OS*PLT') COL 5 ) but within a certain volume?

    Thanks for any hint