Posts Tagged ‘reference files’

Tips & Tricks — Replace the reference file paths in all of your sheet files at the same time!

Wednesday, 14 October 2009

By Rick Sewell

Have you ever completed a project and then found out that the client needs some of the references saved with a different path? The purpose of this article is to show you how to replace the reference file path saved in your sheet files — while retaining all of your varying reference file names — in just minutes.

  1. Load RefManager from your “Axiom” menu in MicroStation.
  2. On the main dialog box, set “Action:” to “Modify Reference File Attachments”.
  3. RefManager has a variety of features, such as “Modify Reference file Attachments”, which allow you to solve any MicroStation reference file problem fast!

  4. The “Modify Reference File Attachments” dialog box now appears with the “Category” already set to “Attachment Names”. Now, set the “Component:” to “Full Path”.
  5. Change the “Method:” to “Replace Entire String”. (The “From:” field will become inactive.)
  6. In the “To:” field, enter the full new path that you want to use. It’s okay if the new path only exists on your client’s network.
  7. RefManager allows you to change any or all of the components of a reference file path in all of your sheet files at once.

  8. Press the (Close) button to return to the main dialog box.
  9. Press the (Attachments…) button.
  10. On the “Filter Reference File Attachments By” dialog box, click on “File Name” in the Category list.
  11. In the “String:” field, enter the names of the reference files whose paths you want to change in your sheets. Put a semi-colon (“;”) between each file name.

    The reference file attachment filter allows you to very specifically define which reference file attachments will be modified. This kind of pinpoint accuracy is part of what makes RefManager so powerful.

    Note: This limits the string substitution RefManager is going to perform to only the reference files you specify. This is so you control exactly which attachments get this new path. For example:

    Say there are a whole bunch of different reference files attached to your sheet files, and these reference files are all attached using that same path you are going to change. However, you only want to change the path for the attached reference files named “construct.dgn” and “main.bdr”. In the “String:” field, enter:

    construct.dgn;main.bdr

    This way, only “construct.dgn” and “main.bdr” will have their paths changed.

    It is also possible to use wildcards in the “String:” field so as to allow a broader range of reference file names to be processed. For example, “main*.*” would find and process files such as: main.dgn, main.bdr, main-border.dg1.

  12. Press the (Close) button to return to the main RefManager dialog box.
  13. Use the “Master Files:” field to tell RefManager which sheet files to process. You can use — like “*.— if you like. Or use the
    button to choose files graphically. You can choose as many files as you want and process them all in one job with RefManager.
  14. Press to process your files!
  15. Now — in just — all of the files you are processing will reference “construct.dgn” and “main.bdr” with the new path!

Tips & Tricks — Help! I need to turn off reference file display.

Sunday, 7 September 2008

By Rick Sewell, Customer Support
Clearwater, Florida, USA — Large MicroStation projects tend to be broken up into multiple design files by discipline. You might have one set of designers working on plumbing, another set on electrical and so on. Then, a corresponding file from each discipline is referenced to a master file to complete the picture for that one set of files. Of course, that one finished set of files is only one of many such sets needed to complete the project — but normally each set of files is handled in the same fashion.

Now, what happens when you need to print out a copy of this master design file to give to the electrician who will be responsible for the wiring? If you print it with every discipline’s details, that electrician is going to get the printed file and not have any idea what most of the stuff in it is. This problem is easily fixed! Just turn off the display of each inapplicable reference file in the master design file and print it again. Fast and easy, right? Sure, unless there are two hundred master files to print.

The need to turn off the display of specific reference files in multiple master files is very common. This is why it is a frequently used feature in RefManager.

How to turn off the display for a specific reference file in many files
Ok, so we’ve got our set of 200 MicroStation design files containing “plumbing.dgn” as a reference file. I’m going to walk you through exactly how to turn off the display for the “plumbing.dgn” for all files.

  • Load RefManager from the Axiom pull-down menu.

Think of this dialob box as RefManager’s front door. Starting with this box, you can make all kinds of modifications to any number of design files on your system. RefManager is a great MicroStation time-saver.

  • In the main dialog box, set “Command” to “Modify Reference File Attachments”. This will automatically load the “Modify Reference File Attachments” dialog box.

Change any reference file setting with the “Modify Reference File Attachments” command.

  • In the “Modify Reference File Attachments” dialog box, set the “Category” to “Vector Settings”.
  • The very top option is “Display”. Click on the menu next to it and you will have three choices, “No Change”, “Turn On” and “Turn Off”. Select “Turn Off”. Then press <Close> to go back to the main RefManager dialog box.

Right now, if you were to press the <Start> button, you would end up turning off the display of all reference files. This is not the desired result. So we need to set a filter to turn off the display only for “plumbing.dgn”.

  • From the RefManager main dialog box, press the <Attachments…> button. This will load the “Filter Reference File Attachments By” dialog box.

Type the name of the reference file that you want to process in the “String” field. [Note: You can specify multiple reference files to process by entering multiple filenames in the “String” field, using semicolons as separators.

  • Ensure the “Category” is set to “File Name”. In the “String” field, enter the name of the reference file to be processed – in this case, “plumbing.dgn”. Then press <Close> to go back to the main RefManager dialog box.

With RefManager, you can select as many design files as you want to process.

  • In the main dialog box is the “Master Files” field. Press the <Select…> button to bring up the “Choose Files to Process” dialog box. Click the <Browse for Files> button. You can now navigate to and select as many files to process as you want. Remember that the files you are selecting to process aren’t the reference files themselves, but the master files containing the reference files that have the attributes you want to change. When you have selected all of the master files you want to process, press <OK> to return to the main RefManager dialog box.
  • Press <Start> to process your files.

When the process is complete, the reference file display attribute will be turned off for “plumbing.dgn” in all the master files that you processed. You’re now ready to start printing all of the files for the electrician!

Tips & Tricks — Help! I need to turn off reference file display.

Sunday, 7 October 2007

By Rick Sewell
Almost everyone is doing it, upgrading their MicroStation V7 (95, SE and J) formatted files to V8. Whether project by project or all at once, the transition to V8 is on.

Every so often, a customer calls and asks whether Axiom has a tool to help automatically convert their V7 files to V8. Fortunately for customers, I can simply show the built-in Batch Converter already provided with MicroStation V8. The Batch Converter is really easy to use. Its purpose is nothing more than to convert one file format to another. You have the option to change to or from: V8, V7, DWG or DXF (Drawing Exchange Format).

Converting from V7 file format to V8 file format
The majority of the people asking about converting from V7 to V8 are new to MicroStation V8. I will run through a quick example of converting a group of V7 files to V8 using the MicroStation V8 Batch Converter.

  1. Load MicroStation V8 and open a design file.
  2. Select Utilities|Batch Converter…
  3. The Batch Converter can change your files to or from several different formats.

  4. Ensure the “Default Output Format” is set to “V8″. This should be the default.
  5. You can place your converted design files on any drive and in any folder you choose.

  6. Define the folder where all of the converted files will be placed. Notice the field labeled “Default Destination”. The factory default is always set to a folder nested a few folders deep, under the Bentley folder. Press the magnifying glass to the right of the specified folder in order to bring up the dialog box that allows you to navigate to the folder where you want to place your converted files.
  7. Select Edit|Add Files.. This will open the dialog box for navigating to and selecting the files that you want to convert.
  8. Once you’ve navigated to the files that you want to process, highlight them and then press the button. Press to accept the selected files and close the dialog box.
  9. At this point, you could just convert straight away, but I would be remiss if I didn’t at least mention one other thing: Remapping. Remapping is reassigning element attributes during conversion. An example of remapping would be during conversion from V7 to V8 to change all elements on level “1″ to level “Existing Centerlines”. This step is strictly optional.
  10. From the Batch Convert dialog select Edit|V8 Save Options., which will load the “Save As V8 Options” dialog box.
  11. Select files from multiple directories and process them at once.

  12. Press the button on the far right of the dialog box that has fly-over text stating “Create CSV remapping file”. CSV stands for “comma-separated values”.
  13. In the “Create mapping CSV file” dialog box, choose a name and folder for your file.
  14. Press and a specially formatted Excel file will be created and opened immediately. I always select . The macro will populate columns in the Excel files and automatically save a CSV file for you.
  15. Enter the remapping values in the proper columns of the Excel spreadsheet.
  16. There are tabs, each appropriately labeled, for remapping fonts, levels, colors, weights and more.

Here is how to set this up:
The way to use this file to do your remapping is fully described in the Excel file under the tab labeled “Instructions”. Once you’ve completed any remapping you are going to do, save and exit the Excel file.
Now, back to the conversion.

Select File|Process to bring up the “Files to Convert” dialog box. This dialog box nicely lays out all of the files you are changing and allows you to back out with the button, in case there are any mistakes. Press to process your files!

Review your file changes before processing.

Don’t forget to prepare your V7 files before conversion.
V7 files should always be cleaned with FileFixer before converting them to V8. This prevents elements from being unknowingly omitted from the output V8 file and a host of other hard-to-diagnose problems. Axiom has lots of other programs that speed up and otherwise help the V7 to V8 conversion process.

Make life easier with cloning.

Friday, 7 September 2007

Automate the process of adding new reference files.

Clearwater, Florida, USA — Axiom is pleased to give you back your evenings and weekends. As the world’s oldest and largest third-party solutions provider for MicroStation, Axiom is known for breakthrough enhancements to the applications in MicroStation Productivity Toolkit. Coincident with RefManager’s 20th anniversary (RefManager is a Toolkit component), Axiom outdoes itself by offering one of the most customer-demanded, weekend-liberating enhancements in Axiom’s history.

Liberate your weekends — let RefManager take care of the scaling and clipping so you can get to grilling and flipping.

RefManager now automates the process of adding new or revised reference files to multiple plot sheets, as a project’s design evolves. For example, MicroStation users can now use RefManager to add new reference files to multiple sheets along a roadway. Using RefManager, 50, 100, 200 or more sheet files can be automatically updated in one batch. Each new attachment clones (copies, duplicates) the attachment settings of a pre-existing attachment (one that is already properly scaled, rotated, clipped, and so forth).
If each MicroStation project consisted of only one unchanging sheet file with one unchanging reference attached – no problem. Set it and forget it. If you later need to add a new attachment to that sheet file, it doesn’t take long to add one new attachment — even if the new attachment must be rotated, scaled and clipped for the sheet.
But multiply the time involved by 50, 100, 200 or 500 sheets and repeat a dozen times throughout the life span of a large project and it adds up to a lot of wasted time. If that describes the production demands you face, don’t be discouraged. You don’t have to be a full-time “reference wrangler” any more — just select RefManager from your Axiom pull-down menu, click on RefManager’s new “Clone or Replace Reference File Attachments” command and take the weekend off!

How RefManager’s “Clone” command works
Your project sheet files typically contain one or more attachments which are properly clipped, scaled, rotated and shifted. You have probably tweaked the level display, level symbology, nesting and other settings for these existing attachments.
RefManager’s “clone” command copies the settings from one of those carefully-created existing attachments and uses those settings to attach your new or revised reference files.
A cloned attachment is a new reference file which inherits the clipping, scale, rotation, offset, level display, level symbology and all other settings of an existing attachment. RefManager also ensures each cloned attachment is created with a user-defined logical name and description.

Figure 1: RefManager’s new “Clone or Replace Reference File Attachments” command eliminates the time and tediousness of repeatedly adding or replacing reference files in multiple project sheet files.

Ralph the Reference Wrangler — a case study
Ralph (name changed to protect his anonymity) works for a civil engineering firm, which is contracted to widen a multi-mile span of a major highway. A few weeks ago, the initial layout was completed for 187 project sheet files. Ralph now has the ongoing responsibility of updating all project sheet files when new or updated reference files are created during the life of this three-year project.

Figure 2: The new attachment (shown in blue) needs to be appropriately clipped in 187 sheet files!

One day, a subcontractor submitted “pavement.dgn” (pavement plan) to Ralph. Ralph needs to attach “pavement.dgn” to the 187 project sheet files. [See Figure 2]

The new attachment (“pavement.dgn”, indicated in blue) needs to be clipped — not once, but 187 times (in “sheet001.dgn”, “sheet002.dgn”, “sheet003.dgn” through “sheet187.dgn”). That’s 187 different clipping boundaries for 187 project sheet files!

When Ralph hears that the field engineers need all sheets updated by Monday, his heart sinks. So much for his weekend barbecue plans. And sheet updates will continue throughout this three-year project!

Ralph realizes there is an existing attachment in all 187 sheet files, “roadway.dgn”, that is already properly clipped, scaled and rotated in each of the 187 sheet files. Level display, level symbology and all other attachment settings for “roadway.dgn” are perfectly tweaked in all 187 sheet files. Ralph ponders, “If only ‘pavement.dgn’ could inherit the attachment settings from ‘roadway.dgn’ in each of the 187 sheet files.”

Then a thoughtful colleague tells Ralph about RefManager. Ralph contacts Axiom, orders RefManager and has the application downloaded and installed a couple minutes later.

Figure 3: RefManager automatically attaches (and properly clips) the new reference file to all 187 sheet files!

Ralph uses RefManager to automatically attach “pavement.dgn” (the new reference file) to all of his 187 sheet files. RefManager applies clipping and other attachment settings from “roadway.dgn” (the pre-existing attachment) each time “pavement.dgn” is attached to a different sheet file. RefManager automatically applies the appropriate clipping boundary to each newly created attachment.

Ralph confirms RefManager has automatically attached “pavement.dgn”, properly clipped, to all 187 sheet files in just minutes! Hello weekend barbecue!

Tip of the iceberg
So far we’ve only discussed reference file clipping. There are dozens of settings involved with the creation of each reference file attachment.

RefManager’s “Clone or Replace Reference File Attachments” command preserves all of the existing attachment’s settings (including clipping, scale, rotation, offset, level display and level symbology settings) when creating cloned attachments.

On top of that, as the command name implies, RefManager’s “Clone or Replace Reference File Attachments” also allows you to replace existing attachments.

Replace is similar to clone, except a new reference file takes the place of an existing attachment. For example, RefManager can replace “pavement50.dgn” (design 50 percent complete) with “pavement60.dgn” (design 60 percent complete) in one or hundreds of project sheet files.

And the new “Clone or Replace Reference File Attachments” command doesn’t limit MicroStation users to updating one attachment at a time in their sheet files. The “Clone or Replace Reference File Attachments” command allows you to clone and replace multiple attachments in multiple sheet files. If, for example, your sheet files contain a plan and a profile view, you can clone and replace different attachments in both views in all project sheet files — all in one step.

RefManager’s new time-saving “Clone or Replace Reference File Attachments” command is available for MicroStation/J and MicroStation V8 (including XM).

Dragging and dropping reference files

Sunday, 7 March 2004

Save some time and attach reference files to a design file by selecting them in Windows Explorer and dragging and dropping them into the “Reference Files” dialog box in MicroStation. This can be especially helpful for users with multiple monitors and can be done with both vector and raster reference files.

To attach a reference file to a design file, drag and drop the file from Windows Explorer into the “Reference Files” dialog box.