Documentos de Académico
Documentos de Profesional
Documentos de Cultura
What happens when a number used in all the design files in a large project changes when
the project is almost finished? After your heartbeat returns to normal, you get creative.
First, let us explain to you a little about the job and what happened. The project name was
“Route 33 Bridge Replacement, Final Design.” We were replacing two movable bridges
and three miles of roadway through the town of West Point, Virginia. Our client was the
Virginia Department of Transportation (VDOT) and we were almost finished. The sheet
count at this point was totaling over 1,000 sheets.
Now, a PPMS number is a five-digit VDOT contract number, which corresponds to a specific portion of work on a job. As per VDOT’s
CAD standards, every directory and design file must include the PPMS number in the actual directory or file name. Route 33
started out with one PPMS number, but one day our boss came and told us that the contract has been split up into five (thus
needing five different PPMS numbers) and wanted to know how long it would take us to implement the changes.
We told him, truthfully, a few weeks, because the project configuration file, directory names, file names and reference file names
would all need to be changed. That would also mean that we would need to reattach all of the reference files after we made the
changes! Fortunately, we were able to figure out how to accomplish this daunting task in a day! The following is what we did using
Windows Explorer, DOS, Notepad, RefManager and Global File Changer.
The asterisk is a wildcard. In this example, it is taking the place of the sheet number and the file extension and keeping them safe
from being changed.
After the directories, workspace and file names were all updated, it was time to move on to the contents of each file. All of the
reference files were now lost because their names had to be changed and there was text in each sheet that associated it with the
old PPMS number. We needed to switch out the old reference filenames for the new filenames and we needed to do a global text
replacement to update the PPMS numbers in each file.
From this dialog box you have access to modify almost all aspects of an attached
reference file, from detaching files, to turning levels on or off, to changing level
symbology, to scaling and rotating a reference file, to replacing one file with another;
even the update sequence can be modified. The only change we needed to make at this
time, however, was to update the old filenames and directories, so from here we selected
“File Name” and the “Modify Reference File Attachment File Name” dialog box appears.
“Modify Reference File Attachment File Name” dialog box
From here we selected “Case Insensitive Substitution” from the “Editing Method” drop-down. We then set “Apply to:” to “Only
Vector Reference Files” since we weren’t using any raster files. Then we turned on “Save Full Path” to catch any files that were not
attached that way. After these selections, it was time to define what would actually be changed, which was every occurrence of the
old PPMS number in each file’s directory, name and logical name. The command that does this looks for two pieces of information:
the old and new text — both separated by a vertical bar with no spaces between them.
The last part of this step consisted of determining which MicroStation files needed the
reference to be fixed. Easy, all of them! This was done by pressing <Edit List> from the
RefManager dialog box, which gave access to the “Edit File List” dialog box, upon which
we simply added all of the files that needed to be modified.
Axiom’s “Edit File List” dialog box
From the Global File Changer dialog box, we selected <Edit List>. This is where you
select all the drawings that contain the old PPMS numbers that you want to modify. It is
the exact same dialog box as the “Edit File List” shown in step 4. Once the files were
selected, we needed to be able to select all of the old PPMS numbers in each file and
change them to the correct number. We selected “Modify text” from the Custom pull-
down menu.
Select “Modify text” from Global File Changer’s “Custom” drop-down menu.
From the Modify Text dialog box we had the opportunity to change every aspect of the text, such as scale, rotation and symbology.
But we didn’t need to change any of these attributes, only the contents of the text itself. So, we selected “Text replacement
parameters” from the “Parameters” pull-down menu. This opens the “Replacement Strings” dialog box.
To do the search and replace, we typed the old number in the “Search string” field and the new number in the “Replacement
string” field. We left “String Format” drop-down set to “Wildcard” and pressed <Add> to generate the replacement list.
Finally, after the search and replacement strings were defined and stored in a list, it was time to run Global File Changer by
ing <OK> from the Replacement Strings dialog box and then pressing the <Start>
select
Conclusion
After everything was complete, to say the least we were a bit amazed. We had just renamed our entire directory structure, all of
our drawing filenames and reference filenames, fixed all of the text in the drawings and fixed all of the reference file attachments
(which should have been the most time-consuming task). Without Global File Changer and RefManager these reference file tasks
would have taken hundreds of monotonous man-hours. With them, it took less than a day!