User Guide
User Guide
User Guide
|
Elements in a reference display as though they were in the active model. Although you cannot manipulate the elements in a reference, you can snap to them and even copy them into the active model.
The most common usage of references is in the creation of design compositions. Design compositions are used by engineers and other technical professionals to communicate through the visual content of their designs.
To create a design composition using MicroStation, you build a design model consisting of a working collection of references used in the performance of particular engineering tasks. For example, you may attach as references a collection of survey points as a guide for placement of additional geometry. Reference attachments in a design composition are usually coincident.
It is sometimes convenient to refer to one part of a model while drawing in another area by attaching the active model to itself (a self-reference). |
You can attach a redline file created using Bentley Redline to your model for reviewing purposes. |
Another common usage of references is in the creation of drawings for publication. This task is called drawing composition. Whereas a design composition is typically contained in a design model, a drawing is composed in a sheet model. For more information about models, see Models. For more information about drawing composition, see Composing Sheet Models with References. |
The most common way to attach a reference is to attach it coincidentally, which means that the coordinates of the referenced model's design plane, and optionally its Global Origin, are aligned with those of the active model, without any rotation, scaling, or offset.
References dialog box | |
Attach Reference dialog box | |
Since the same model can be attached many times, give the reference a logical name and description that help you distinguish between references. |
To set |
Left |
Right |
---|---|---|
One active model master unit per referenced model master unit (the default). |
1 |
1 |
Five active model master units per referenced model master unit. |
5 |
1 |
Attach Reference dialog box | |
Attach Reference dialog box | |
To select multiple files, hold the <Ctrl> or <Shift> key as you select the files. |
Attach Source Files dialog box | |
To select multiple views, hold the <Ctrl> or <Shift> key as you select the views. |
The workspace preference Allow Editing of Self References determines whether models that are attached to themselves (self-attached) are automatically updated to reflect modifications to the active model. Allow Editing of Self References is on by default. This makes it easier to use self-attached references, for example, to generate drawings of 3D models. |
For more information on drawings of 3D models, see Composing Sheet Models with References. |
Attaching references can be a useful way to set up a drawing for printing. In composing the drawing, you can attach only the portion of a model in a saved view. This process can be automated using the techniques covered in Composing Sheet Models with References.
For information about saved views, see Using Saved Views. |
Selecting a saved view | |
A reference attachment that specifies the DGN file containing the attached model by its full (absolute) path is not portable across directories, projects, and networked systems. Administrators can prevent the storage of full paths in attachment data by setting the configuration variable MS_DISALLOWFULLREFPATH. You can take these additional measures to make sure that your reference attachments are portable:
If you do not expect the internal directory structure of your workspace's project component to change, the best way to ensure portability when attaching references is to turn on Save Relative Path in the Attach Reference dialog box. This causes the relative paths to DGN files that contain attached models to be saved as attachment data in the open DGN file.
If the project directory structure is in flux, or if DGN files are shared between projects, using relative paths would not give you sufficient flexibility to ensure the portability of your reference attachments. In these situations, you should define the configuration variable MS_RFDIR or a custom configuration variable to specify the directory in which references reside, and attach references using this configuration variable. The configuration variable name, but not its definition, is saved as attachment data. If the project files are then moved, for example, to another directory or a file server, the only change needed is to redefine the variable. Defining multiple custom configuration variables, such as project-specific or data type-specific variables, provides even greater flexibility.
You can combine the above techniques — that is, specify the location of a DGN file that contains an attached reference with a configuration variables and a relative path. |
For information about defining configuration variables, see Working With Configuration Variables. |
MicroStation will locate a model attached in this manner whenever the DGN file is opened — on any system — as long as the custom configuration variable is defined and the DGN file that contains the model is stored in the specified directory. The specified directory can vary from system to system.
When MicroStation opens a DGN file, it searches for DGN files that contain attached references as follows:
If the file specification contains a custom configuration variable, it searches that directory, using the relative path, if any.
It searches a list of directories which consists of all of the directories for the parent files of the reference. If the reference is attached directly to the master file, the search path consists only of the directory of the master file. If the reference is nested, the path consists of the directories of each parent file, starting with the most deeply nested. The directories searched include the relative path, if any, in the file specification.
It searches the directories specified by the configuration variable MS_RFDIR, again retaining the relative path, if any, in the file specification.
It searches the current working directory. This is the MicroStation directory if MicroStation is started from the MicroStation program group, or the directory of the DGN file that is double-clicked on from Windows Explorer.
It uses the full file specification in the reference attachment, if present.
If MicroStation cannot locate a reference upon opening a DGN file, “file not found” is shown in the Full Path field when the file is selected in the Attach Reference dialog box.
The Remote Attach function lets you select a URL as a DGN file location instead of a specific local DGN file.
Reference Agent enables you to automatically maintain local copies of remote references. Upon loading the Reference Agent, each attached reference is checked against a data file to see if a URL has been associated. If so, an HTTP request is automatically sent to check the last-modified date of the remote file against the local copy. If a newer copy exists at the remote URL, the status of the file changes to “Out of Date.”
Status |
Description |
---|---|
N/A |
Reference has no associated URL. |
Current |
Remote reference is the same age or older. |
Unknown |
Remote reference could not be found, or the last modified date was not available. Generally indicates that the URL is invalid, or that there was a network error when the remote site was contacted. |
Out of Date |
Local copy of the reference is older then the remote copy. |
References with more than one logical name have only one entry in the Reference Agent. Downloading the associated remote URL updates all logical entries associated with the local file. |
For more information on the Reference Agent, see Reference Agent dialog box.
Except for Attach Reference, the reference tools operate on the models that are selected in the References dialog box. If no model is selected there, you are prompted to identify a model. See Identifying references for more information.
The <Ctrl> and <Shift> keys are used to select multiple models.
You can control the reference display more precisely by using the clipping tools:
The Clip Reference tool lets you use a boundary, such as an element, cell, or fence, to clip a reference. When a reference is clipped, the area of the reference outside the selected boundary is not displayed.
The Clip Mask tool lets you use a fence to cover a portion of a reference.
Reference elements display only if they are inside the clipping boundary and outside all clipping masks.
To more precisely control the reference display, you can use both clipping boundaries and clipping masks on the same reference file. |
While a view's Boundary Display attribute is on in the View Attributes dialog box, reference clip boundaries, as well as clip volume boundaries, are displayed for that view. Reference clipping is defined relative to the world coordinates, and the clipped volume will therefore remain the same in all views. |
The boundaries of a saved view can be used as the clipping boundary when a reference is attached (see To attach a reference using a saved view). |
More than one clipping mask can be specified for a reference. |
When you select a reference (or have one selected from the selection set, fence or dialog box), the reference is highlighted. If there is a clip boundary and one or more masks, the boundary is shown in yellow and the masks shown in red. |
Every reference manipulation tool can contain any or all of the following tool settings.
If Use Reference Dialog List is turned on, the manipulation works on the models selected in the References dialog box.
If a fence exists and Use Fence is turned on, any models that are in the fence are manipulated. If a selection set has been created, manipulation works on the models in that set.
Left: Reference attachment. Upper right: The reference attachment copied and folded about a specified line. | |
The Set Reference Presentation tool on the References dialog box provides many options for controlling the display of references. These options include Wireframe, Wiremesh, Hidden Line, Filled Hidden Line, and three types of shading. See Interactive Rendering Modes for details on each of these options.
In a sheet model, the Presentation menu has one additional option: True Hidden Line. Unlike the other reference presentation options, True Hidden Line generates a new vector model of the reference, with hidden lines removed. In the sheet model, a reference set to True Hidden Line looks similar to a reference set to Hidden Line. However, when you print the sheet model, a reference set to True Hidden Line will print as a true vector image. A reference set to any other presentation option (such as Hidden Line) will print as a raster image. The True Hidden Line option also provides many settings for modifying the appearance of the reference.
Reloading a reference lets you see changes that have been made to the reference by a co-worker on the network since the reference was last attached or reloaded. |
For information about turning on or off levels in a reference, see Controlling Level Display. |
For information about turning on or off symbology in a reference, see To control level symbology. |
For information about resynchronizing a level in a reference with its source level, see Resynchronizing DGN file levels with library levels. Rather than selecting or right-clicking the open DGN file in the left-hand pane as described in that topic, instead select or right-click the reference to resynchronize. |
Identifying a reference on which to operate is an alternative to selecting the reference in the References dialog box's list box; the identification technique is typically used with tools in the References tool box.
This technique also works with reference groups.
To this point, this chapter has discussed working with simple reference attachments—that is, one reference that is attached to another model.
However, in MicroStation you can have an infinite number of reference attachments, and those attachments can have attachments, which in turn can have more attachments, and so on. This concept is called nesting. Nested references make it easy for you to attach and display multiple references, just by attaching a single, parent reference to a model.
When you are attaching references, you can control the manner in which nested references are to be attached to the model, or you can decide not to attach any nested references at all. If you do decide to include nested references when attaching a parent reference, you can control how many levels of nested references to attach to the model. This is called setting the nest depth. The higher the number you set, the more certain you can be about including even the most deeply nested references when attaching a parent reference.
The Nested Attachments option menu on the Reference Attachment Settings dialog box controls how nested references are handled when attaching a parent reference.
For information about MicroStation nested references and DWG files, see Working with references that will be saved to DWG files. |
You can adjust the intensity of element colors in an attached reference to distinguish the elements in a reference from the elements in the open DGN file.
By default, the configuration variable MS_NEST_COLORADJUSTMENT is not set. Any color adjustment made to a top level reference is applied to all the nested attachments directly. If the MS_NEST_COLORADJUSTMENT configuration variable is set to any value, then the color adjustments are applied cumulatively.
For example: Model A attaches Model B, and Model B attaches Model C. If Model C has a 90% value and 50% saturation adjustment as it is attached to Model B, and Model B has a 80% value and 70% saturation adjustment as it is attached to Model A, then Model C will display with a 72% value and 35% saturation adjustment.
You can override the Use Color Table user preference (Workspace > Preferences) by creating and setting a MicroStation configuration variable. If MS_REFCOLORTABLE is defined and set to 1, MicroStation always uses the reference's color table. If MS_REFCOLORTABLE is defined and set to any value other than 1, MicroStation never uses the reference's color table. If MS_REFCOLORTABLE is not defined, MicroStation uses the user preference to determine whether or not to use the reference's color table.
The active model and all attached references can be merged into a single model.
The result of a merging operation is effectively a snapshot of a view of the active model, including all displayed levels in the selected references. If the display of a level in a reference is turned off, the elements on this level are not included in the merged model.
The levels of elements in the attached reference are copied to the merged file only if they do not exist in the active model. To change how levels are handled, choose Preferences from the Workspace menu and select the Reference category. |
There is no inverse of a reference DGN file merging operation. |