I have a batch process file to turn level display on/off in nested reference attachments. I have sheet files which have a nested reference files to the depth 1. But I am getting an "Unknown Command" error
I have a sheet file named shtz3cs02.dgn which has a reference file named Route 4 Collector.dgn attached to it with nesting depth set to 1.
In the Route 4 Collector file, there are a few references, one of them is ebase.dgn. I am trying to turn off the display for level 62 from the ebase.dgn file in the sheet file. I have the following batch process
reference levels off 62 Route 4 Collector.dgn->ebase.dgnselview all
This doesn't work and throws me an unknown command error. I am trying to run the batch process because my level display in the sheet file is not syncing with the level display in the reference file.
In the Route 4 Collector file, i haver turned off the display for level 62 in all the views and saved the settings. However, this does not carry through to the sheet file. I have 72 sheet files in total. It would be a pain to go through all the files to just turn off a level. That's the reason I set up the nested reference file.
Any ideas why this would not be working?
Viraj Bham, P.E.
Senior Highway Engineer
Jacobs Engineering Group, Inc.
Part of the problem is that, if you change the level display of reference file from the sheet, the display of that reference file is now controlled from the sheet, not the original file. MicroStation sees that you wanted something different in the sheet than the original file, and it writes a level table to that sheet to control the display of the reference. You made the change in the sheet, so it assumes that you want the sheet to control from here on out. This happens whether the reference is a direct attachment, or nested. If you want your original file to control your display, then you make your display changes there, never in the sheet. I use nested container files all the time, and I always have to make display changes in that container, never in the sheet.
You may be able to get rid of that display table for your nested references by changing your attachment to No Nesting, exiting the file, repoening and changing the nest level back to 1. But if you make any other level changes in that sheet, you hand control right back to the sheet.
Why that command isn't working, I have no idea, although you may want to try putting "quotes" around your file name because of the spaces. It may not be reading correctly because of those.
Microstation 08.11.09.829Power GeoPak 08.11.09.878Power InRoads 08.11.07.615
If you enter the key-in without opening the dialog first you'll get the message you describe, basically you need to load REF.MA before you can use its keyins.You can either 1) add REF to the MD_CMDTABLE_LOAD variable or 2) add DIALOG REFERENCE OPEN before the first line of your script.
Pretty sure you just need quotes around that file name wit da spaces.
direct attachment syntax: reference levels on/off "level name" *.*
1st nest depth attachment syntax: reference levels on/off "level name" *.*->*.*
Connect r14 10.14.00.109 self-employed