I have nearly 500 dgn files with different levels ,different colors and different weights in all files but same levels are used in all dgn files can anyone help me to do with script or batch process or keyin im newbie please help me in points it would be very helpful and time consuming for me if anyone can help me in this i would be very thankful
Please follow the Forum Best Practises. In your case, it's worth mentioning that you have converted your DGN files from a DWG source.
King Khan said:I have nearly 500 dgn files with different layers
MicroStation has levels, AutoCAD has layers.
MicroStation uses level libraries (DGNLibs) that store level definitions. A DGN model can use level definitions from a DGNLib.
I suggest that you save one DGN file with a .dgnlib extension. Move your new DGNLib to the folder where other DGNLibs are stored.
King Khan said:I have nearly 500 dgn files with different layers ,different colors and different weights in all files
It looks like you've inherited a mess!
Regards, Jon Summers LA Solutions
Thanks for your answer soory i corrected my question about levels where would be all .dgnlib will be stored any idea ?
King Khan said:where would be all .dgnlib will be stored any idea ?
That depends on your MicroStation configuration.
If you're working on your own, then resources such as DGNLibs are probably on your computer. If you're part of a MicroStation team with a network, then resources may be stored on a network server.
King Khan said:From AutoCAD file or MicroStation ?
This is the MicroStation Forum. Unless someone explicitly tells you otherwise, we deal with MicroStation.
Hi King Khan,
If I understand correctly you want to create files that will all look the same. The layer/level names are the same but other element properties are inconsistent.
Try the following Step-By-Step Approach to understand the proess.
-For a single file you can use "Save As …" and there you will find the [Options] button where you can create a CSV file to define the properties of the file saved. Open the CSV file and READ THE "instructions" tab! There is a button to read the existing levels on the "Levels" tab. There you can define "Override Color", "Override Weight" etc. to define the desired properties.
-After having saved this first file you can use the CSV file for further files.
-Next have look at Utilities>Batch Converter. This allows you to create a list of files to "Save As …". Here you will also be able to use the CSV file you created in the first stelp.
Recommendation: Do not try to do all 500 files in one go! The Batch Converter will probably not be able to digest them all at once. (I remember some older discussions about that - but not if there are exact figures) I anyway would try a few files first (maybe 4-5) then increase the number of files with the next couple of files. I probably would not do batches larger than 50 - even if only too keep oversight.
Info for the selected function? Click into the "Toolssettings" dialog and press F1 -- Info zur aktuellen Funktion? Klicken Sie in das "Funktionseinstellungsfenster" und drücken F1
See this wiki for how to use the CSV file.