Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Batch Process: Toggle on/off display of specific levels in multiple design files (without references)
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • -Batch Processing - MicroStation
          • Batch process from command line with spaces in folder path.
          • Batch process subdirectories in main directory
          • Batch Process: Command to turn off a particular level in a reference file
          • Batch process: compress utility against multiple V7 files.
          • Batch Process: Toggle on/off display of specific levels in multiple design files (without references)
          • Batch processor stops responding (freezes)
          • Can the FENCE FILE or FF= commands be used in batch process?
          • Change color of all elements to white on multiple files
          • Change view attribute line weight keyin
          • Change working units for a number of files in batch process.
          • Converted DWG file size small using Batch Converter wrt File>Save As
          • Data Cleanup Key-in for batch process
          • How can I change all elements in multiple files to use the ByLevel color?
          • How to add subdirectories to a batch process
          • How to Change fill type using a key-in in batch processor
          • How to convert DWG references through the Batch Converter
          • How to ensure all files are gathered in Packager.
          • How to include subfolders in Batch Converter
          • Including reference files for Batch Convertion
          • Is there configuration variable to set the destination directory in batch converter?
          • Order in which Qualifier columns are honored in CSV remapping files.
          • Raster not attached in command line batch process
          • Running batch process from keyin
          • Unable to select specific Models when using Batch Conversion.
          • Upgrade V7 files to V8
          • Using The Batch Process Utility In MicroStation V8 [CS]
          • What are the switches for msbatch?
          • What is the syntax for MSBATCH IGESOUT and IGESIN?
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Printing and Plotting
    • +Programming Wiki
    • +Visualization Wiki
    • Window List Dialog for Missing Tool Dialog Boxes

     
     Questions about this article, topic, or product? Click here. 

    Batch Process: Toggle on/off display of specific levels in multiple design files (without references)

      Product: MicroStation
      Version: CONNECT
      Environment: Windows 10
      Area: Batch Processing
      Subarea: N/A

    Problem

    I have multiple design files (without references) where I need to quickly toggle the display of elements drawn on a specific level to OFF (or ON).

    Solution

    This can be done through the Batch Process utility that is provided with MicroStation CONNECT Edition. This can be found by navigating to File>Tools>Batch Process.

    Hypothetically, let's say you have designed a proposed roadway layout that contains a centerline. This proposed roadway layout has been referenced and merged into multiple design files in your project. This centerline has been drawn on the particular level "Road_Centerline"  in all of your files which can be seen below (red dotted line):

    To quickly toggle the display of this centerline to OFF within these multiple design files, navigate to File>Tools>Batch Process. From here, create a new command file. In this command file, the following (or similar syntax) can be used. Note that the # symbol before each line cancels out that particular line during the process. MicroStation simply does not read a line when it starts with the # symbol. The actual commands are highlighted below:

    ***IMPORTANT - for the below example syntax to work, the "Save Settings on Exit" user preference must be toggled to ON. This allows the changes to be kept in each file when toggling on/off the view display of the specific level***

    # This is performed to change the active level in each file. You cannot toggle on/off the display of the active level.
    # In this case, it is set to the Default level. Be sure to change the active level to a level different than the level which you desire
    # to toggle on/off

    active level Default;

    # This tells MicroStation to toggle off the level display for the Road_Centerline level
    set level off Road_Centerline;

    # This tells MicroStation which views will be changed. In this case, all the views will be affected
    selview all;

    # This is the same as a right-click
    reset

    Add all files to the process, then save the batch process job in a .bprc file.
    Next, process the batch process job for all the selected files. Your batch process job should look similar to this:

    Observe the changes to the level display within each file. The centerline is no longer visible as desired.

    See Also

    Key-ins to switch levels on/off in a master file and (nested) references

    Batch Process Series Part 1: Updating your DGN files

    Batch Process Series Part 2: It's All About the Key-in(s)

    Other language sources

    ​

      Original Author: Jayson Perry
    • MicroStation
    • level display
    • batch processing
    • MicroStation Connect Edition
    • Share
    • History
    • More
    • Cancel
    • Jayson Perry Created by Bentley Colleague Jayson Perry
    • When: Wed, Sep 22 2021 5:42 PM
    • Jayson Perry Last revision by Bentley Colleague Jayson Perry
    • When: Wed, Sep 22 2021 6:10 PM
    • Revisions: 5
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies