delete duplicate and compress function as batch routines inside Microstation or externally

I want to know if it is possible to run the compress function and the delete duplicate function as a batch file internally /externally on a large number of design files. Can it be done? If so how?

  • TABridges said:

    I want to know if it is possible to run the compress function and the delete duplicate function as a batch file internally /externally on a large number of design files. Can it be done? If so how?

    Yes, create a macro for what you need.

    Then use Batch process and add all the files that you need to do that. Always do a small test with 2 or 3 files to check if the program is working as expected.

    Regards

    José

  • For your Batch Process you can also use a command file, which does not require program skills.

    It may look like this:

    # Command file information:
    # - Lines that start with the '#' character are treated as comments and ignored.
    #
    #----------------------------------------------------------------------
    mdl l cleanup
    cleanup file load <path>\DesignFileCleanup.rsc
    cleanup do
    cleanup window close
    compress design

    The DesignFileCleanup.rsc file stores the cleanup parameters and should be created before you run the batchprocess.
    You can create it by using the File->Save Settings option from the Design File Cleanup window.

    HTH
    Andre