Quantcast
Channel: Andrew Bell's Activities
Viewing all articles
Browse latest Browse all 4948

Batch process- Are these steps possible to do using batch process?

$
0
0

Hi forum,

I have a somewhat overwhelming task infront of me, and was hoping for some help from the forum.

What i have is a set of files that originally came from PDMS. They came in a package of approximately 1000 dgnv7 files. Unfortunately the files do not have any level/ color structure.

I did batch convert the v7dgn files to v8d dgn. After converting the files to v8 the scale is wrong, so I need to fix that. (1meter slab in the V7 file, became 1000meters when converted to V8). At the same time I would like to do a few other things pr file, so I guess this is a good time to try to learn about batch processing and key-in script files. I have never used these tools before, so I am hoping somebody are able to help me out.

The files are basically a large ship that has been split in to 10 sections. Each section consist of around 100 dgn files that again are split on 10 different disciplines. (The file structure looks something like this: Section1-arch1.dgn, Section1-elec1.dgn, Section2-arch10 etc. The level in use has the brilliant name”Level1” for all of the 1000 dgn files…). So If there is a clever/ not to time-consuming way to do this I would like to take all the files for each discipline, and as a minimum, give them a separate color. And maybe also rename the level (Level1) into the name of the discipline it comes from(arc1 etc.), or in to the name of the specific dgn file (Section1-arch1) .

What I am thinking is I will probably have to brake this down in 2 steps, but have no idea how to do it.

My thought was maybe to use batch process to do this on all 1000 dgn files:

  1. Fix the scaling issue
  2. Remove the PDMS color table
  3. Attach my custom color table
  4. Remove all unused levels ( “Level1”, is the only level in use)
  5. Save settings

Then I would probably have to split the files in to 10 folders, one pr. discipline. And if possible run a batch process pr. folder to remap colors, and rename “Level1” to something that makes more sense. Here is an example for the Arc discipline, pr. file:

  1. Change color on all elements
  2. Rename “Level1” to “arch1”, or even better, rename “Level1” in to the exact same name as the specific dgn file “Section1-arch1”

Does anyone have a suggestion on how to do this using batch convert/process without involving programing? Any help would be much appreciated as at the moment I’m stuck already on nr 1-wrong scale… (Unless I fix it manually pr. file, using merge in to master on a blank file, and change the scale during the merge etc.)

-regards

helge


Viewing all articles
Browse latest Browse all 4948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>