Changing all (or some) level colors in a reference with batch process?

Hey all!

I am still new to Micro station and VERY new to Batch Process. I wanted to find a way to change the color of one, or more, levels in a reference that is in multiple files. The basic way I was taught to do this in Microstation without batch process was to go into the level manager, select the reference file, then select the level(s) and change the color there. I have read that I want to use the color override keyin to get the result I need but I haven't had any luck. The one I have below was to try and change all the levels in the file but it did nothing. 

I am still a noob at this so if anyone has any good youtube tutorials or blogs that I should read up on please let me know. Any help is really appreciated. 

level set override color on file:RPLN-EX.dgn"* *
level set override color 168 file:RPLN-EX.dgn* *

Parents
  • When you say "haven't had any luck", do you mean that the level override hasn't changed, or that the level doesn't look any different on screen? I'm just checking, because I've set a bunch of overrides without setting the view attribute for them on - I chased that around for an embarrassingly long time.

    If you open one of your design files and go to the key-in window to enter your command, what result do you get there? Do you get an error message, or do you get nothing, or do you get something (just not what you expected)?

    What happens if you try the key-in

    level set override color 168 file:RPLN-EX.dgn all

    ?

    MaryB

    Power GeoPak 08.11.09.918
    Power InRoads 08.11.09.918
    OpenRoads Designer 2021 R2

        

  • I do not see any change, how can I change the view attributes?

    And i plugged it in the keyin and still nothing, that I can see anyway. No errors at least

  • But how can I do that with just a selection of levels and not all of them?

    In Level Properties inside Level Manager you'll need to turn off level overrides for the ones that you do not want overrides.

    Regards

    José

  • why  not go to the reference and  change it there ie levels on off and change colours... save settings then open one of you drawings and the changes to te reference should now be visible..

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • You would replace the "all" in
    level set override color 168 file:RPLN-EX.dgn all
    With the name of the level you want to modify. You would end up with a command that looks like
    level set override color 168 file:RPLN-EX.dgn Ex_Pvmt

    If you have a naming convention that would allow you to select a group of levels (like Ex*) you can identify them that way. That would give you a key-in like
    level set override color 168 file:RPLN-EX.DGN Ex*

    A batch process command file is just a text file of Microstation key-in commands, so you can test each command in a drawing file before you include it in your batch process file to make sure it does exactly what you want. The last line you may want to consider for you command file might be FILEDESIGN - that's the key-in for "Save Settings".

    MaryB

    Power GeoPak 08.11.09.918
    Power InRoads 08.11.09.918
    OpenRoads Designer 2021 R2

        

    Answer Verified By: Michael Drew 

  • Yeah that is perfect. So after a little more messing around I see that have the Level Overrides on affects references that I do not want to change. Is there a way to change the color of a reference by level instead of an override? 

  • Nevermind I figured it out! It was literally just replacing override with bylevel. I went with override cause I thought it was the only way to change color by at my office we prefer changing the by color level in references. 

    level set bylevel color 168 file:RPLN-EX.dgn all

    Answer Verified By: Michael Drew 

Reply Children
No Data