Академический Документы
Профессиональный Документы
Культура Документы
RasterDgn
Easily edit color, grayscale and monochrome raster
reference files without leaving MicroStation!
Version 8.5 for MicroStation V8.5, XM and V8i
Axiom
1805 Drew Street
Clearwater, Florida 33765
727-442-7774 voice
727-442-8344 fax
AxiomInt@AxiomInt.com
www.AxiomInt.com
Page 2
RasterDgn
Table of Contents
Table of Contents
Chapter 1 Introduction--------------------------------------------------------------------- 7
Introducing RasterDgn ------------------------------------------------------------------------------7
Chapter 2 Installation----------------------------------------------------------------------- 8
Before You Install ---------------------------------------------- Error! Bookmark not defined.
Typical Installation from CD --------------------------------- Error! Bookmark not defined.
Congratulations------------------------------------------------- Error! Bookmark not defined.
Page 3
Page 4
RasterDgn
Delete
Crop
----------------------------------------------------------------------------------------- 29
-------------------------------------------------------------------------------------------- 30
Stamp
------------------------------------------------------------------------------------------ 30
[] Delete original elements ------------------------------------------------------------------ 31
Technical Notes on Stamp------------------------------------------------------------------- 31
Stamp Settings -------------------------------------------------------------------------------- 31
Deskew
---------------------------------------------------------------------------------------- 32
Despeckle
Resize Canvas
------------------------------------------------------------------------------------- 32
-------------------------------------------------------------------------------- 33
Chapter 8 Troubleshooting--------------------------------------------------------------43
Using PowerDraft?--------------------------------------------------------------------------------- 44
Using MicroStation/J? ----------------------------------------------------------------------------- 44
Weird Copy/Move Results Due to Mismatched Raster Affinity and Rotation------------- 45
Stamp and Resize take multiple undo operations to be completely undone. --------------- 45
Raster data (pixels) inside the holes in filled fonts (like Arial) is deleted on Stamp if Fill view
attribute was turned on.---------------------------------------------------------------------------- 45
XM-only: Text always displays as filled even if Fill view attribute is turned off. RasterDgn
Stamp, however, honors the Fill view attribute. ----------------------------------------------- 46
Table of Contents
Page 5
XM-only: Stamp doesnt work on a recently attached raster reference file attachment unless you
wait a few seconds after attaching it. ------------------------------------------------------------ 46
Chapter 1 Introduction
Page 7
Introducing RasterDgn
Axiom is proud to announce the release of RasterDgn the easiest way to edit your
color and monochrome raster reference files. RasterDgn keeps MicroStation users in
control of their raster reference files with little or no training.
RasterDgns features include:
Deskew Easily and automatically rotate color and monochrome raster reference
files to make them level.
Resize Canvas Easily add working area to your raster file. Changes raster files
dimensions without scaling the image.
Page 8
RasterDgn
A license file on floppy disk for the product(s) you are about to install.
Please shut down all MicroStation sessions on your computer before continuing.
Chapter 2 Installation
Page 9
3. Click the <OK> button and the first installation dialog box (below) will appear.
Page 10
RasterDgn
6. These instructions will describe only the Typical installation path. Choose
Typical and click <Next>.
7. Choose the license file for this installation. Toggle on I have a license file
somewhere else. And press <Next>.
8. Browse to the axiom.lic file on the CD and click <Open>. The licenses in the
specified license file will display in the next dialog box. Press <Next>.
Although you have already selected the MicroStation family (V7 or V8) for which
you want to install Axiom tools, it is common for one computer to have more than
one instance of MicroStation installed on it. For example, you might have two
versions of MicroStation/J installed (07.01.04.16 and 07.02.04.20). You must choose
which of the two you want to associate your Axiom tools with.
Chapter 2 Installation
Page 11
9. Highlight the version of MicroStation you want to associate the Axiom tools with and
click <Next>.
Since this is a Typical installation, all programs for which an Axiom license was
found will already be checked-on to be installed. Other items that are also
automatically checked-on for installation are the product Users Guides, individual
product sample files and Axioms MicroStation pull-down menu.
Page 12
RasterDgn
If you accept the license and click <Next>, the installation will begin. You can click
Chapter 2 Installation
Page 13
13. This is the final dialog box. It shows that the installation is complete. By default the
View Readme.pdf option is toggled on and will display the Readme.pdf document
when you click <Finish>.
Page 14
RasterDgn
Congratulations
Thats it! You have successfully completed the installation of your Axiom tools.
Chapter 3 Uninstalling
Page 15
Page 16
RasterDgn
RasterDgn basics
Once RasterDgn has been installed as described above, you can run it from your Axiom
menu in MicroStation. When you do, youll see a RasterDgn menu and a toolbar. Well
be using the three indicated tools:
Page 17
Demonstration Versions
The demonstration version of RasterDgn
Displays an <OK> button that you must click after a delay. The delay gets longer
each time you run RasterDgn.
Introduction
If you can use one of RasterDgns features, you can use them all. Its really quite simple.
Well get you started learning RasterDgn by deskewing a 24-bit (16-million color) TIFF
attached to a design file.
Page 18
RasterDgn
5. Push <Calculate>. RasterDgn will calculate the angle necessary to level the raster
file.
Were going to resize the raster file interactively instead of entering pixel values in that
box. Float your mouse over the raster reference file. It should look like this:
Page 19
2. Notice those arrows. Click and drag on any of them to extend or reduce that raster
file border. In this case, move the left and bottom arrows inward and upward until the
picture in your raster reference file is rectangular again.
3. Push <Apply> in the RasterDgn Resize Raster tool settings box. Your raster
reference file will then look like this:
Page 20
RasterDgn
Your raster reference file has now been automatically deskewed and interactively
cropped with RasterDgn! Next well copy some raster data from it to instantly create a
new raster reference file.
Page 21
Loading RasterDgn
Load RasterDgn from the Axiom menu in your MicroStation menu bar.
Page 22
RasterDgn
There are only two things you cannot do from the toolbar:
RasterDgn Feature
Menu
Toolbar
Icon
Copy
Yes
Yes
Move
Yes
Yes
Delete
Yes
Yes
Crop
Yes
Yes
Stamp
Yes
Yes
Deskew
Yes
Yes
Despeckle
Yes
Yes
Resize Canvas
Yes
Yes
Yes
Yes
Yes
No
N/A
Yes
No
N/A
Yes
N/A
N/A
Change Settings
Yes
Yes
Page 23
Tool Settings
The following tool settings are shared by RasterDgn tools. Theyre documented here
once for all the tools which use them.
Tool Setting
Copy
Move
Delete
Crop
Stamp
Despeckle
Mode
Yes
Yes
Yes
Yes
Yes
Yes
Method
N/A
N/A
Yes
Yes
N/A
N/A
Modify
Yes
Yes
Yes
N/A
N/A
N/A
Fence Mode
Yes
Yes
Yes
N/A
No
N/A
Rotate
Yes
Yes
N/A
N/A
N/A
N/A
X Scale
Yes
Yes
N/A
N/A
N/A
N/A
Y Scale
Yes
Yes
N/A
N/A
N/A
N/A
[] Merge
Yes
Yes
N/A
N/A
N/A
N/A
Yes
Yes
N/A
N/A
N/A
N/A
All: (Stamp only) Default setting. Your Stamp operation will apply to the entire area
of the raster reference file you choose, not to a user-defined block or fence or
selected elements.
Block: (Copy, Move, Delete only) Default setting. You will be prompted to enter two
points on your raster reference file to define a block of raster data (pixels) to process.
After you use a tool in Block Mode, you will be prompted to use the tool again and
again. Block is simple and easy to use. Block operations work only on raster data
(pixels) and ignore vector elements. The only tool that doesnt allow you to reuse a
Block is Despeckle.
Fence: More advanced than Block. Usually used with an already-placed fence. If no
fence already exists, RasterDgn will prompt you to place a rectangular (block)
fence of type inside. To choose other fence types, place your fence before choosing
a RasterDgn tool.
One benefit of Fence over Block is that you can predefine a complicated fence of any
type (Block, Shape, Circle or Element) and use that with RasterDgn. The other
benefit of Fence over Block is that Fence allows you to include raster data (elements)
in your RasterDgn Copy/Move/Delete operations.
Page 24
RasterDgn
Fence Tip: If you dont create your fence before choosing a RasterDgn tool
(Copy/Move/Delete/Stamp and Mode = Fence) that tool will only run one time so that it
leaves your fence intact, in case you still need it. You can still reuse the tool with Mode =
Block or re-run the tool to, say, run it again with the same fence but a different Fence
Mode setting.
If you dont place a fence before choosing a RasterDgn tool, you can run that tool
repeatedly, placing a new rectangular (inside only) fence each time. Just like Mode =
Block but with vector data (elements) included.
Selection: (Stamp only) Select the elements you want to stamp into your raster
reference file before you choose the Stamp tool. You will not be prompted to select
elements after choosing Stamp because MicroStations element section tool would
then close the RasterDgn Stamp tool.
Modes
Copy
Move
Delete
Crop
Stamp
Despeckle
All
N/A
N/A
N/A
N/A
Yes
Yes
Block
Yes
Yes
Yes
Yes
N/A
Yes
Fence
Yes
Yes
Yes
Yes
Yes
Yes
Selection
N/A
N/A
N/A
N/A
Yes
N/A
Delete: The default. Pixels inside the area defined by the Mode tool setting will be
deleted from the raster reference file. If Modify = Raster and Vector then raster data
included in the fence (take careful note of the Fence Mode you use) will also be
deleted. Fence Mode has no effect on which pixels will be deleted.
Clip Mask: The area defined by the Model tool setting will be masked in the raster
reference file attachment in your design file. The actual raster file will no be
modified.
Page 25
Crop File: The default. The raster reference files border will be cropped
(deleted) along the rectangular area defined by the Mode tool setting. Raster file
dimensions will change.
Clip Boundary: The rectangular area defined by the Mode tool setting will have a
clipping boundary applied to it. Its dimensions will appear to change in your design
file but the raster reference file will not actually change.
Methods
Delete
Crop
Delete
Yes
N/A
Clip Mask
Yes
N/A
Crop File
N/A
Yes
Clip Boundary
N/A
Yes
Raster Only: The default. Only raster data (pixels) will be affected. Vector elements
will be ignored.
Raster and Vector: Raster data (pixels) and vector elements (or portions of them)
will be affected.
Technical Note: Modify doesnt apply to Stamp because Stamps input is only vector
data (elements), never raster data (pixels).
Modify Choices
Raster Only
Copy
Move
Delete
Crop
Yes
Yes
Yes
Yes
Page 26
RasterDgn
Modify Choices
Copy
Move
Delete
Crop
Yes
Yes
Yes
Yes
Fence Modes
Copy
Move
Delete
Inside
Yes
Yes
Yes
Yes
Yes
Yes
Page 27
Off: The default. All existing pixels in the destination area will be erased by the
RasterDgn Copy or Move operation, being totally replaced with the raster data
(pixels and blank space) from the source area.
On: All existing pixels in the destination area will be commingled with the pixels
from the source area. Mostly for use with binary raster reference files.
Off: The default. Copied or moved raster and vector data can only be placed in an
existing raster reference file. Your fence or block must fall completely within one
raster reference file.
On: Copied or moved raster and vector data will be placed in a brand new raster
reference file and instantly attached to your DGN file. The new raster file will be
named after your original raster reference file but with a filename suffix of
-copiedN added. Where N is a unique number starting at 1 and incrementing into
infinity.
Technical Note: If you create a new raster reference file with RasterDgns Move
tool (not Copy) why doesnt it get named -movedN instead of -copiedN?
Because we believe that would give the casual observer of the containing folder the
incorrect impression that that file had been moved from some other folder. A small
point, we agree. Well likely add a feature to let the user control these suffixes in the
future, depending on customer interest. If youd like such a feature, please email
Support@AxiomInt.com.
Page 28
RasterDgn
Copy
Use RasterDgn Copy to copy raster data (pixels) from one part of your raster reference
file to
Page 29
Move
Use RasterDgn Move to move raster data (pixels) from one part of your raster reference
file to
Delete
Page 30
RasterDgn
Delete raster data (pixels) and vector data (elements) in a user-defined area.
Crop
Use Crop to crop your raster reference file or mask the reference file attachment, which
wont change the actual raster reference file.
Crop has no effect on vector elements. This is a subtle way in which it differs from
Delete (besides the obvious fact that theyre opposites.)
Crop is a very easy way to trim the outside boundary of a raster reference file. Crop
Raster does exactly what it sounds like: It crops your raster file. The raster file is resized
along the fence boundary and reattached as a new raster reference file.
Technical Note: RasterDgn will automatically turn on the Clipping property in the
raster reference file attachment (a setting you can also change in MicroStations Raster
Manager) if you perform a RasterDgn Clip on the attachment. If RasterDgn didnt do
this, it would incorrectly appear that the clipping operation was unsuccessful.
Stamp
RasterDgn Stamp may seem simple but its actually quite powerful and intelligent.
Stamping is the process of turning vector elements drawn with MicroStation into raster
pixels in a raster reference file. RasterDgn Stamp can significantly extend the life of your
raster files.
Stamp works on a fence, block, selection set or all vector elements overlapping the raster
reference file.
Page 31
When Mode = All, Block or Fence, Stamp only works on elements displayed in the
view in which you selected the raster file to process. If you cannot see it, it wont be
stamped. So, for example, if you have a level turned off, those elements wont be
stamped. View area is not important but things like displayed levels in that view are
important.
When Mode = All or Selection and user elects to Delete original elements,
RasterDgn deletes displayed elements overlapping the raster area, truncating them at
the raster boundary.
When Mode = Block or Fence and user elects to Delete original elements,
RasterDgn deletes displayed elements overlapping the fence/block by truncating
them at the boundary of the fence/block, not at the raster boundary.
When Mode = All or Selection, Stamp prompts you to select the raster reference file,
even if you only have one raster file attached. This prevents premature stamping and
an inability to change Mode from Selection or All to anything else.
Stamp Settings
You can control the pixel weights and the look of raster line styles in the RasterDgn
Settings box, documented later in this guide.
Page 32
RasterDgn
Deskew
If your raster reference file is not level, use RasterDgn Deskew to fix it.
You will be asked to select the raster reference file with a data point if you have more
than one raster reference file attached.
Press <Calculate> to have RasterDgn automatically recommend a rotation angle for you.
You can either use RasterDgns suggestion or enter your own rotation angle.
RasterDgn analyzed the raster reference file and suggested the above angle.
Despeckle
Use RasterDgn Despeckle to remove unwanted speckling from your monochrome raster
reference files. Speckles are stray pixels or noise in a raster file. You can define a
speckle as up to 10x10 pixels. Despeckle works on the entire raster file, a fenced area or
an area defined by a user-defined block.
Before the raster reference file is actually changed, RasterDgn will tell you how many
pixels will be removed and prompt you to continue.
Page 33
Resize Canvas
RasterDgn Resize Canvas is remarkable! It lets you add blank working area to your raster
reference files by changing their dimensions without scaling them. This makes your
working canvas bigger. Or, if you wish, you can make it smaller.
You can enter the pixels by which to increase or decrease your raster reference file or you
can use the following arrows to do this interactively. Just press <Apply> when youre
done with either method.
Technical Note: Resize Canvas does partially overlap RasterDgn Crop functionalitywise. They can both decrease the dimensions of a raster reference file without scaling it
down, which is the definition of cropping. But their purposes are really quite different:
Resize Canvas is really for making your raster file bigger without scaling it up. And Crop
Page 34
RasterDgn
can also optionally just clip your raster reference file instead of cropping it, leaving the
actual raster file unchanged.
Tip: If you want to crop your raster file by a certain number of pixels, use Resize Canvas
and type in your negative pixel values.
RasterDgns Raster Scratch Area tool will create a temporary raster reference file
attachment. It will be detached automatically when you close your design file (or you can
detach it yourself from the RasterDgn menu or Raster Manager or by placing another
temporary attachment with RasterDgns Attach Scratch Area tool.)
How It Works
This temporary raster reference file will use an existing raster reference file as a
template/seed for color depth, type, compression, display settings and more. And you
enter your desired dimensions and placement corners. Unless you choose other
dimensions, the temporary raster reference files dimensions will match your template
raster reference file.
You can Copy and Move raster data freely between the raster scratch area and other
raster reference files with RasterDgn. Just be sure the two raster reference files have the
same color depth and that those raster files are attached with the same affinity and
rotation.
Use Raster Scratch Area when you need a temporary working area for your raster data
juggling but dont want to or cannot use your production raster reference attachments.
Warning: Be sure not to leave your only copy of raster data in one of these temporary
raster reference files when you close your design file as youll lose that data.
It converts all attached Intergraph TIFF format raster reference files (used by
I/RAS B) into non-proprietary TIFF files that software other than I/RAS B (such
as RasterDgn) can edit.
Page 35
It turns the Read-only flag off in MicroStations Raster Manager box (File |
Raster Manager) for all possible raster reference attachments.
Change Settings
This opens the RasterDgn Settings box, which is documented elsewhere in this guide.
Help | Contents
This opens RasterDgns online help file, which contains the full product documentation
in Windows help file format.
Help | About
This opens your default web browser and displays an HTML page with information about
your current RasterDgn version.
Exit
This unloads RasterDgn.
Page 36
RasterDgn
Type
Compression
Color
Status
TIFF
Supported
CIT
CCITT FAX4
1-bit (binary)
Supported
JPG
JPEG
Supported
CALS
CCITT FAX4
1-bit (binary)
Supported
Any
Any
Unsupported
RLE
RLE1
1-bit (binary)
Unsupported
On Combinations: All listed file types have been tested with all listed compression
types and all listed color depths but not necessarily every combination of those
compression types and color depths.
Despeckle Note: You can only Despeckle 1-bit (binary/monochrome) raster files.
Type
Compression
Color
Status
Why Not?
Any
Any
Unsupported
Read-only to
MicroStation
JP2
None
24-bit (16M)
Unsupported
Read-only to
MicroStation
SID
None
24-bit (16M)
Unsupported
Read-only to
MicroStation
RLE
Any, RLE1
1-bit (binary)
Unsupported
Pending demand
Although this table lists tested compression types, it is likely that the specifically
mentioned file types are unsupported regardless of compression type.
Page 37
MicroStation
V8 DGN
V7 DGN
DWG
V8.5
Supported
Untested
Supported
XM (V8.9)
Supported
Untested
Untested
V8i (V8.11)
Supported
Untested
Untested
Page 38
RasterDgn
Interface
These settings are pretty self-explanatory. You can control whether to open the
RasterDgn toolbar or menu or both when RasterDgn starts.
Page 39
Backups
When creating a backup file, RasterDgn uses the raster files original name and adds the
suffix -backupN. Where N is a number starting at 1 and going into infinity. Raster
reference files are backed up only the first time RasterDgn modifies them in a session.
The session ends when RasterDgn is unloaded (exited) not when another design file is
opened.
RasterDgn never overwrites an existing backup file. When a backup of some raster file
already exists, RasterDgn creates a new backup file and increments the backup number
suffix in its filename.
If RasterDgn is set to work on a copy of the file rather than the original, there is no need
to backup the original file. This applies only to Resize and Crop tools. See File Names
settings category for more.
Large Files Note: Backing up a very large raster reference file can delay file
modification for some seconds. But it doesn't affect subsequent operations once the
backup is made.
Page 40
RasterDgn
File Names
Crop and Resize Canvas are special features. Due to MicroStations design, cropped or
resized raster reference files must be renamed in order to make them Undoable.
When you choose Create a copy of original raster file. (Supports Undo.) then raster
reference files modified by that command (Crop or Canvas) do not need to be backed up.
The copies of your raster reference files will have a suffix of -resizedN or -cropped1
added to their file names.
If you choose Modify original raster file. (Makes Undo impossible.) then those raster
reference files will be backed up as the original files will be getting modified.
If you dont the names of your attached raster reference files to change (suffixes like cropped1 or -resized1 added to copies of them and the original files left unchanged),
choose Modify original raster file. (Makes Undo impossible.) Just make sure you leave
the Backup original files before modifying. turned on in the Backups settings category.
Page 41
Here you control how RasterDgn Stamp simulates MicroStation line styles using pixels
in the raster reference file.
Page 42
RasterDgn
Here you control how RasterDgn Stamp simulates MicroStation line weights in the raster
file. Each Line Weight in MicroStation (0 to 31) will be drawn in the raster reference file
using the pixel width (number of pixels) shown in the Pixel Width column.
For example, by default a weight 0 element will be drawn 1 pixel wide in the raster
reference file and a weight 9 element will be drawn 10 pixels wide. Change the Pixel
Width values to get the pixels widths you need in your raster reference files.
Chapter 8 Tips
Page 43
Chapter 8 Tips
RASDGN_DISABLE
RasterDgn 8.5a introduced the ability to disable items on its menu and toolbar. Items will
be disabled, not hidden.
To use this, create a MicroStation configuration variable (Workspace | Configuration
in MicroStation) named RASDGN_DISABLE and give it a value that is a commaseparated list of the names of the RasterDgn commands you want to disable. The
command names of the commands to use with this configuration variable are:
Copy, Move, Delete, Crop, Stamp, Deskew, Despeckle,
Resize, Scratch, Convert
Command names must be spelled exactly as above, not abbreviated. They are case
insensitive. Quotes are not supported.
Page 44
RasterDgn
Using PowerDraft?
If you need RasterDgn for MicroStation PowerDraft V8, please let us know at
Support@AxiomInt.com. If there is sufficient interest, we may add PowerDraft support
in a future version.
Using MicroStation/J?
RasterDgn is V8-only. If you need a raster reference file editor for MicroStation V7 (J or
SE), please check out Axioms RasEdit, a powerful, easy to use monochrome-only raster
reference file editor for MicroStation SE, J and V8. RasterDgn supports both
monochrome and color raster reference files but is available only for MicroStation V8,
not V7.
Chapter 9 Troubleshooting
Page 45
The values are not important. Whats important is that both raster reference file
attachments have identical Rotation values to one another and identical Affinity values to
one another.
Page 46
RasterDgn
Page 47
Page 48
RasterDgn
Page 49