How to genarate rvm automatically in specific time each day

 
  • I want to genarate rvm  each day at specific time automatically
    Does anyone knows

    Please let me know
  • make a schedule task in server.

    It will fetch macro at that time
  • Can you please provide content in macro
    And procedures for it

    That will helpful

    Thanks for reply
  • I tried to create run file

    It Stops and show at aveva console in line 1 of macro file
    ^^export /file directory
    At last line cp Syntex error

    In macro I used
    Export /file directory

    Colour command
    And export site required
    Export finish


    Please tell me solutions

    I am trying this in E3D
  • 1.  you need create a bat file for scheduler like this EXPORT.BAT
    "C:\PDMS12.1\pdms12.1.bat" TTY XXX SYSTEM/XXXXXX $m/M:\FOLDER1\AdminTool\ABC_PDMS_EXPORT.mac

    where ABC_PDMS_EXPORT.mac  is the content of your export from pdms/e3d and content is

    ONERROR GOLABEL /ERROR0
    -- $R6
    $S-  -- Synonym translation OFF


    MONIT
    /ABC-MDB
    DESIGN


    export autocolour reset
    export file /M:\FOLDER1\AdminTool\ABC-EXP.RVM OVER


    -- Set representation
    repre centreline off
    repre tube on
    repre obstr off
    repre insu off
    repre ppoi off
    repre snod off
    repre pnod off
    repre level pipe 6
    repre level nozz 6
    repre level stru 6
    repre level 6
    repre mass 6
    export holes on
    export autocolour on


    --------------------------------- DESIGN--------------------------------------------------------
    -- P - Piping is Green (Standard PDMS Colour 5 )
    EXPORT /SITE1 colour 5
    export finish
    -- Switch synonyms back on if an error occurs.
    LABEL /ERROR0
    handle ANY


    -- ALPHA LOG END
    RETURN ERROR
    endhandle


    -- ALPHA LOG END


    FINISH


    you will get file ABC-EXP.RVM

    2. You need to create second task for scheduler with time offset maybe 20 minutes or more ABC-NAVIS-GEN.BAT

    "C:\Program Files\Autodesk\Navisworks Simulate 2021\FiletoolsTaskRunner.exe" /i "M:\FOLDER1\AdminTool\ABC-EXPORT-TASK.txt" /of "M:\FOLDER1\ABC.nwd" /inc /version 2017


    where ABC-EXPORT-TASK.txt is the list of rvm file or files to be added to new navis file like this

    M:\FOLDER1\AdminTool\ABC-EXP.RVM
    M:\FOLDER1\AdminTool\EXIST-INS.RVM
    M:\FOLDER1\AdminTool\SURVEY-OBS.RVM

    3. Optionally you can run here another bat to rename just created NWD file with date and or time created.

    Hope this will help.
  • Hey Bro , could you please share Macros used for following file generation....

    EXIST-INS.RVM

    SURVEY-OBS.RVM

    & what will be the scrip to execute 

    "3. Optionally you can run here another bat to rename just created NWD file with date and or time created."

    this...