how to automate i model composer-Navigator session

I would like to know where to find information on how to automate the process of updating the Navigator session.  thanks in advance

Parents
  • guys, thanks for the help and for the suggested work flow.  To clarify, I am running the publishing from i-composer, not V8i (it did not produce consistent intelligent data ( do no know why).  I loaded batchprocess, got my script stating that I want all reference levels ON  (I believe I need to use leveloverride=1, but can deal with that later.  Here is what I have in my script:  reference levels ON ALL

    publishdgn publish

    I added my file to process, hit the bottom to process and everything publishes great.  I will append my script later to move the *i..dgn files to a different folder.

    My current problem:  In the script I want to use to run at night, I do not know how to tell composer after the file is open to load the batchprocess MDL file.  Please forgive my ignorance as I do not programming.  thisis what I have so far:

    "C:\Program Files (x86)\Bentley\imodelComposer V8i\imodelComposer\imodelComposer.exe"  P:\3d\i-model-auto\PIPING-REF_MODEL.dgn

    msbatch batchprocess

    [SETTINGS=bpOptions]

      logFile=_USTN_OUT:batchprocess.log

      cmdFileName=P:\3d\i-model-auto\script.txt

      clearLog=1

      initialModel=-18

    [SOURCE=P:\3d\i-model-auto\PIPING-REF_MODEL.dgn]

    [MODEL=:AllModels:]

    reference levels ON ALL

    publishdgn publish

  • Use the Windows Scheduling (Task Scheduler) to start composer at night.

  • there is no need to run a batch process.  Create a Model empty then reference into it the models that you wish to publish.  then in windows create a txt file that has four lines:

    publishdgn publishreferences on

    publishdgn forcerepublish on

    publishdgn publish

    Exit

    then create a Bat file that has the following lines:

    @echo off

    call "C:\Program Files (x86)\Bentley\imodelcomposer V8i\imodelComposer\imodelComposer.exe" -s(directory and name of txt file) (directory and name of DGN file)

    Make sure that you edit to input your txt, and dgn file named.  

    Then use Windows scheduling (Task Scheduler) to setup the times that you want to process the batch file.  

  • Is there a way to run additional microstation keyins after the dgn file is opened

  • I have set this up exactly as described, but the dgn just opens up in imodelcomposer and nothing is published. Am I supposed to specify an output filename?

    This is what i have in my batch file:

    "C:\Program Files (x86)\Bentley\imodelComposer V8i\imodelComposer\imodelComposer.exe" -s "c:\test\dgnpublish.txt" "c:\test\input.dgn"

    (The text in the dgnpublish.txt i have copied from above)
Reply Children
No Data