Changing the Level Overrides in Multiple Files

Hello,

I am working on staging plans that has 55 total sheets. All sheets are individual sheets. They are already created, and we are not going to place them in to a single file with saved views or models.

The question I have is trying to find a way to update the level overrides in all the sheets without having to open up each sheet individually and turn off a specific override. 

For example. our legend is referenced in to each sheet. currently the colors on the legend all print black. When I off the overrides in that sheet for those levels, then print their true colors. I want to do that without going into each file.

Is this possible?

Thanks

Lawrence

Parents Reply Children
  • There are a bunch of  keyins under  help under  level keyins  which includes turning off overrides in references including  colours, styles and weights and its not easy to interpret  how the syntax works.. so when I didnt  get it  right  first time in the reference file ... you can study this in your own time....

    I returned to the  view attributes  so I thought  if you dont want  overrides why  not turn them all off just from the active file attributes so it turns off all attributes not  just the reference file... manually  its easy , so I tried to record  a macro to see if I could capture the keyins ... this is always my next port of call when the  help keyins dont  work,

    and I found that the  keyin is

    MDL KEYIN BENTLEY.VIEWATTRIBUTESDIALOG,VAD VIEWATTRIBUTESDIALOG SETATTRIBUTE 0 LevelOverrides False

    and  if you include

    FILE DESIGN 

    in your  batch processor script  it would save the settings in the  file ..

    I admit this is only  good if you dont want any overrides  at all  so if you want only the ref file overrides turn off  we have to go back to the help 

    level set override color off color-spec [file:file-spec] level-spec

    But I cant seem to get this syntax  to work

    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 

  • As suggested following key-in needs to be run with Batch Process tool.
    level set override color OFF file:legend.dgn Level10; update view extended; filedesign

    Regards,
    Leonard Jones

       

  • As suggested following key-in needs to be run with Batch Process tool.
    level set override color OFF file:legend.dgn Level10; update view extended; filedesign

    this doesnt  work for me if you have a dgnlib with matching level names predefined in your configs

    and I change your script to override colour on and add a colour

    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