Import linestyles to DGN files with Batch Processing


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.05.02.35
 Environment: N\A
 Area: Custom Linestyles
 Subarea: N\A
 Original Author:Bentley Technical Support Group
  

Problem

Three linestyles have been edited. User can of course go into each
dgn file and import the new linestyles, overriding the old ones. The
file then updates the lines accordingly. Unfortunately the user
has many files to do this and is certain he will face this problem
again in the future. What is the best way to update all files at once?
Will batch processing work?

Product: MicroStation V8 2004 Edition
Version: 08.05.02.35
Area: Custom Linestyles



Solution

Three linestyles have been edited. User can of course go into each
dgn file and import the new linestyles, overriding the old ones. The
file then updates the lines accordingly. Unfortunately the user
has many files to do this and is certain he will face this problem
again in the future. What is the best way to update all files at once?
Will batch processing work?


Use the Batch Process to add all of the files for processing. Once
the file list is set up with all the files to be batched, then create a
command file that has the following keyin in it "linestyle import to
dgn c:\test.rsc", you will need to change this path to point to the
required resource file. This will re-import linestyles back into the file.

1. Go to Utilities > Batch Process.
2. In the batch process dialog go to Edit > Add files.
3. Browse and add all the files that need to be processed.
4. Where it says command file. Hit browse and choose the command
    file that contains the keyin.
5. Then go to File > Process.

This will then run the command file with the keyin on all the files and
re-import the linestyles back into all the dgn files.