Myrdrv.ini User Guide
IGC applications (MYRIAD®, Net-It®
Central 6.x, and Brava! ® 4.x, 5.x software) recognize supported
file formats, their file extensions, and any related parameters through the
Myrdrv.ini configuration. For all sections except [idrivers] and [edrivers],
the actual settings are at the end of the section, following the explanation
of the parameters and their values. Lines preceded by a pound sign (#) are
ignored by the applications, such as the lines of explanation. Unless
otherwise noted, all settings are in the following format:
Format: Parameter=VALUE
Example: ParseDXFExtents=OFF
The following sections are in the Myrdrv.ini file (any
sections not listed in this document should not be modified by the user):
[idrivers]
The [idrivers] section identifies and maps file
extensions to their specific import driver. You can change, add, or remove file
extensions in this section. The format for this section is shown below.
EXT=G, Path\Driver_name,
"Description"
where EXT is the two or three character file
extension used to identify the file type and G is the letter indicating the kind
of file:
G = Graphical
H = Hybrid
F = Folder
M = Markup
T = Text
S = System
Path\driver_name The path and filename of the actual driver. The
path is not necessary if the driver is located in the application's executable
directory.
"Description" A description of the type of format the
driver handles, generally, but not always, beginning with the extension. This
must be surrounded by quotes and include spaces.
Example:
dwg=G,myridwg.dll, "DWG AutoCad Drawing"
[loader-specific display options]
This section allows certain display option defaults to be
set according to specific loaders. The following display option keys are entered
into this section, followed by a list of loaders.
Example:
DisabledColorConflictResolution=myriinso.dll,myriswdwg.dll
In this example, Outside In and SLDDRW files load with the "Color Conflict
Resolution" feature turned off by default.
CADColorScheme=0,15,myridwg.dll,myridwf.dll,myrime10.dll,myridgn.dll
In this example, the listed CAD
files (DWG, DWF, ME10, and DGN) load with the following default color scheme:
0 is the color index used for the
background color (0=black)
15 is the color index to use for
the foreground color (15=white)
The background index refers to the
list of colors defined in the [Background Palette] section of the
myriad32.ini. The three valid indexes are 0, 1, and 2.
The foreground index refers to the
list of colors defined in the [Foreground Palette] section of the
myriad32.ini file. The valid index range is 0 through 15. The foreground color
index only affects black and white raster files. Vector files are not affected
as each line in a vector file has its own color definition.
[CAD]
This section explains and sets DXF and DWG driver
configuration parameters. Descriptions of parameters and their setting options
are shown on the following page.
DXF and DWG
OutputAttributes Tells the application whether or not to sense
image attributes.
OFF = Do not sense attributes
ON =
(Default) Sense attributes
ShxAbort Tells the application whether or not to
abort if a font file cannot be found.
Note: This setting
can be edited in the Paths tab of the Options dialog box.
WARN = (Default) Display missing files in a dialog box
ABORT = Stop opening document and informs user file not found
IGNORE =
Continue opening document without displaying missing file list
ShxPath Specifies the path for the loader to search
for font files. A semicolon is used as the path separator.
Note: This setting
can be edited in the Paths tab of the Options dialog box.
XrefAbort Tells the application whether or not to
abort if a cross-referenced file cannot be found.
Note: This setting
can be edited in the Paths tab of the Options dialog box.
WARN = (Default) Display missing files in a dialog box
ABORT = Stop opening document and informs user file not found
IGNORE =
Continue opening document without displaying missing file list
XrefPath Specifies the path for the loader to search
for the cross-referenced files. A semicolon is used as the path separator.
Note: This setting can be edited in the Paths tab of the Options
dialog box.
ThawAllLayers Makes all frozen layers visible.
FALSE = (Default) Frozen layers invisible
TRUE =
Frozen layers visible
Accuracy The valid range for accuracy is 0.0 to 5.0.
The default is 0.75.
MaxCircleSegs The valid range for the length of circle
segments is 0 to 64000. The default is 128.
WhiteToBlack Converts white lines to black lines.
FALSE = (Default) White lines
TRUE =
White lines to black lines
MaxFileBuffers Maximum number of DWG or DXF files you can have
opened at once. You can have more files open of other file types.
TagOrPrompt Specifies whether the attributes tag or prompt
is shown for intelligent objects. This also applies to DDE requests for
attributes.
TAG = Show tag information
PROMPT = Show
prompt information
TrueType Specifies whether or not to display TrueType
Fonts (TTF) and how they should be displayed.
FILL = (Default) Use TTF to fill the characters.
OUTLINE = Use TTF to outline the characters.
NONE = Do not use TTF.
Note: Performance is best with TrueType=NONE and worst with TrueType=FILL
UseTTF Specifies
whether to use True Type fonts in CAD files.
TRUE = (Default) Enables True Type fonts.
FALSE = Disables True Type fonts.
ParseDxfExtents Specifies for the
myridwg.dll driver to pre-parse the DXF file for viewing at extents. The
majority of DXF files do not display the correct initial extents so the default
of this setting is ON to allow the IGC driver (myridwg.dll) to parse
through the file and calculate the minimum extents. This slightly increases
processing time.
ON = (Default) Parse DXF files for extents.
OFF = Do not parse DXF files for extents.
ParseDwgExtents Specifies for the
myridwg.dll driver to pre-parse the DWG file for viewing at extents.
Typically, the extents provided by AutoCad are larger than the extents
calculated by the IGC driver (myridwg.dll). A DWG file that is viewed at
extents will appear smaller when this parameter is set to the default of OFF.
You should turn this setting to ON if you are viewing drawings that do not view
with the correct extents - usually older or corrupt DWG files.
ON = Parse DWG files for extents.
OFF = (Default) Do not parse DWG files for extents.
[CADHybrid]
This section explains and sets configuration
parameters for GTX Raster CAD and Image Systems CAD Overlay formats. The
settings for each of these formats are at the end of the individual subsections,
not at the end of the section.
GTXRaster CAD Format
LoadRotate Specifies the orientation of the raster
files. This value should match the value of the LoadRotate flag in GTXRAST.CF,
where the Raster CAD file was originally created. If no value is given, the
orientation from the raster file is used. Valid values are 0, 90, 180, 270,
Portrait, or Landscape.
RCADRef Specifies the file extension to use for the
Raster CAD reference file.
RasterCad Specifies an unlimited number of file
extensions to look for and load as Raster CAD formats.
Image Systems CAD Overlay Format
CADOvlRes Specifies the file extension to use for CAD
Overlay resource files.
CADOverlay Specifies file extensions to look for and load
as CAD Overlay formats.
[DGHybrid]
This section explains and sets configuration
parameters for Auto-trol formats.
AutotrolDC Specifies the file extension to use for
Auto-trol dc files. The default is dc.
AutotrolOvly Specifies the file extensions to look for and
load as Auto-trol Overlay formats. The default is dx.
[DGN]
The [DGN] section explains and sets DGN driver
configuration parameters. The [DGN] settings can include a project macro, using
the following format:
proja=<drive>:\files\myproja\dgn
LoadReference Indicates whether or not to load reference
files. If the filename contains the project macro, then the loader uses
myrdgn.cfg to expand the macro. The loader then searches the full path name
specified in the DGN file and uses the RFDIR environment variable.
OFF = Does not load reference files
ON =
(Default) Load reference files
RefAbort Tells the application whether or not to
abort if reference files cannot be found. Note: This setting can be
edited in the Paths tab of the Options dialog box.
WARN = (Default) Warn the user file not found
ABORT = Stop opening document and inform user file not found
RFDIR Tells the loader where to look for reference
files. If no path is specified, it searches the Windows path. Note: This
setting can be edited in the Paths tab of the Options dialog box.
FontPath Specifies the path for the loader to search
for the DGN font files. If no path is given, the loader searches the directory
where the application is located. The DGN font directory is included with MYRIAD
Engineering Viewer.
[DGNHybrid]
This section explains and sets the configuration
parameters for the IRAS format.
IRAS Indicates the file extensions to look for
and load as IRAS files.
[CGM]
This section controls the option for multiple
images in the CGM files to be overlaid rather than viewed separately.
ViewAsLayer Sets multiple images to be displayed on top of
each other as layers or as separate images. Their appearance can be controlled
by the the application layering control.
TRUE
= Images are overlaid.
FALSE
= (Default) Images are viewed separately.
[DWF]
This section controls the option for using True
Type fonts in DWF files.
UseTTF TRUE
= (Default) Enables True Type fonts.
FALSE
= Disables True Type fonts.
[HPGL]
This section explains and sets the HPGL driver
configuration parameters for the pen width, color and clipping planes.
PenUnits Sets the measurement for the pen widths.
INCH = Inches
MM =
(Default) Millimeters
OverridePens Use pen settings from the file if found
TRUE = Use file settings if found
FALSE = Use
PenUnits settings
The predefined colors and pen widths are specified
in a table, as shown in the example below.
Format: Pen000=Wid,
R, G, B
000 Each pen has a number between 000 and
255. Pens 000 through 015 are predefined colors.
Wid The pen width can be whole or decimal
values. 0 width indicates the smallest pen width possible, regardless of the
zoom factor.
R Red intensity. This can be any value
between 0 and 255.
G Green intensity. This can be any value
between 0 and 255.
B Blue intensity. This can be any value
between 0 and 255.
Example:
Pen#
Wid R G B Color
Pen000= 0,
192, 192, 192 (Gray - default background)
Pen001= 0,
0, 0, 0 (Black)
Pen002= 0,
255, 0, 0 (Red)
Pen003= 0,
0, 255, 0 (Green)
Pen004= 0,
255, 255, 0 (Yellow)
Pen005= 0,
0, 0, 255 (Blue)
Pen006= 0,
255, 0, 255 (Magenta)
Pen007= 0,
0, 255, 255 (Cyan)
Pen008= 0,
0, 0, 0 (Black)
Pen009= 0,
255, 0, 0 (Red)
Pen010= 0,
0, 255, 0 (Green)
Pen011= 0,
255, 255, 0 (Yellow)
Pen012= 0,
0, 0, 255 (Blue)
Pen013= 0,
255, 0, 255 (Magenta)
Pen014= 0,
0, 255, 255 (Cyan)
Pen015=
0, 0, 0, 0 (Black)
UseClipRegions Sets the clipping panes. The application
can clip the drawing to the window clip settings that are stored in the HPGL
file.
TRUE = Tells the application to clip drawings.
FALSE =
(Default) Does not clip drawings.
[906-907]
This section sets the 906/907 driver configuration
parameters for pen colors. The format and values are the same as the HPGL
driver configuration shown above. The predefined colors and pen widths are
shown in the following example.
Example:
Pen# Wid
R G B Color
Pen000= 0,
192, 192, 192 (Gray - default background)
Pen001= 0,
0, 0, 0 (Black)
Pen002= 0,
255, 0, 0 (Red)
Pen003= 0,
0, 255, 0 (Green)
Pen004= 0,
255, 255, 0 (Yellow)
Pen005= 0,
0, 0, 255 (Blue)
Pen006= 0,
255, 0, 255 (Magenta)
Pen007= 0,
0, 255, 255 (Cyan)
Pen008= 0,
0, 0, 0 (Black)
Pen009= 0,
255, 0, 0 (Red)
Pen010= 0,
0, 255, 0 (Green)
Pen011= 0,
255, 255, 0 (Yellow)
Pen012= 0,
0, 0, 255 (Blue)
Pen013= 0,
255, 0, 255 (Magenta)
Pen014= 0,
0, 255, 255 (Cyan)
Pen015=
0, 0, 0, 0 (Black)
[DG]
This section sets the DG driver configuration
parameters for pen colors. The format and values are the same as the HPGL and
906/907 driver configuration shown above. The predefined colors and pen widths
are shown in the following example.
Example:
Pen#
R G B Color
Pen000= 192,
192, 192 (Gray - default background)
Pen001= 0,
0, 0 (Black)
Pen002= 255,
0, 0 (Red)
Pen003= 0,
255, 0 (Green)
Pen004= 255,
255, 0 (Yellow)
Pen005= 0,
0, 255 (Blue)
Pen006= 255,
0, 255 (Magenta)
Pen007= 0,
255, 255 (Cyan)
Pen008= 0,
0, 0 (Black)
Pen009= 255,
0, 0 (Red)
Pen010= 0,
255, 0 (Green)
Pen011= 255,
255, 0 (Yellow)
Pen012= 0,
0, 255 (Blue)
Pen013= 255,
0, 255 (Magenta)
Pen014= 0,
255, 255 (Cyan)
Pen015= 0,
0, 0 (Black)
[ME10]
The [ME10] section explains and sets ME10 driver
configuration parameters, specifying font files and locations.
FontAbort Tells the application to abort if a font
file cannot be found.
OFF = (Default) Continue loading
ON =
Abort
FontPath Tells the loader where to search for the
font files. If no path is given, the loader searches the directory where the
application is located.
Font<n,n> Specifies font parameters. Each font is
numbered 01 and 99 according to the following format.
Unix_filename,
DOS_filename
If no path is provided
here, the path specified for FontPath in this section is used. Unix and DOS
paths are provided separately due to filename restrictions on DOS FAT drive
partitions.
LedArrowFill Indicates whether the arrow head of LED
entities are filled.
OFF = Not filled
ON =
(Default) Filled
ShowCtrlPgon Specifies whether the control polygon for
splines display.
OFF = (Default) Do not display
ON =
Display
RequiredFont<n> Specifies required fonts. The format is the
same as Font<nn>, except you can only use fonts 1 through 9.
PlotSizeForLinestyleAdjust Specifies whether to adjust the line style for the
paper size or per drawing unit.
<Size> = Indicate the page size (e.g., J) to adjust the linestyle.
U = (Default) Indicates for the application to base the
linestyle pattern (e.g., ¾ -
¾) on the drawing unit. By default,
the application repeats the pattern only once per unit, though that can be set
using the LineStyleRepeatFreq setting.
LineStyleRepeatFreq Used
in conjunction with PlotSizeForLinestyleAdjust = U, this specifies how many
times the linestyle pattern should repeat per drawing unit. The setting must be
a number between .01 and 12 (the default is 1). For example using
LineStyleRepeatFreq = 2, the linestyle pattern ¾
- ¾ will be
¾ -
¾ ¾ -
¾ per each drawing unit (it will be
scaled down to fit within the drawing unit).
Note: Because the pattern is scaled to fit the drawing unit, repeating
the pattern in each unit may degrade the linestyle appearance.
UseDefaultFont Indicates to use the font specified by the
DefaultFont setting (see below) as the default ME10 font. Any
missing fonts are substituted with
this font.
Note: The default font may be a different size or character type than the
missing font.
ON = Use default font
OFF = (Default) Do not substitute default font for missing font
DefaultFont Specifies the font to substitute for missing
fonts when UseDefaultFont is set to ON. This must be set to the UNIX font name
(see Font<n,n> above).
[PostScript]
The [PostScript] section explains and sets
PostScript driver configuration parameters for PostScript fonts.
InitFontPath Tells the loader where to search for
initialization font files, etc. If no path is specified, the path where the
application is located is used.
InitFontAbort Tells the application whether or not to abort
if a font file cannot be found.
WARN = Warn the user file not found
ABORT = (Default) Stop opening document and inform user file not found
DPI Indicates what DPI to use for PostScript
files.
[IGES_SECTION]
Do not modify this section.
[SOLIDWORKS_SECTION]
Filltext Specifies whether to fill fonts on
SolidWorks 2D drawings. Only fonts large enough to be filled are filled.
Filling fonts can affect performance.
ON = Fill fonts
OFF = (Default) Do not fill fonts (use hollow fonts)
TextFillThreshold=(integer value between 0 and 100)
Provides finer control over font filling. All text is filled that is larger or
equal to the given value (measured in points).
Example: TextFillThreshold=10
Any text that has a font point
size of 10 or larger gets filled. If the value is zero, everything gets filled.
If the value is 100 nothing gets filled.
The default value of this field
is 22. Most text is smaller and therefore does not get filled.
AdjustTextForBoundingBox
Indicates whether or not the bounding
box text adjustment code should be executed or not.
TRUE = The text found in the drawing is checked to make sure it
does not overlap the previous text entity.
FALSE = (Default) If set to false, or not present, the text is not
checked.
[Orcad_Section]
refAbort Tells the application whether to abort if a
font file cannot be found
OFF = (Default) Continues loading
ON = Aborts load and gives a warning
back to the user
[Auto-Recognize File Format Tests]
When the
application tries to load a file with no
extension or an undocumented extension (an extension which is not listed in
Myrdrv.ini), the application tries to
determine what file format it is. The application
reads a section of data from the beginning
or header of the file, and then performs a series of pattern-matching tests on
the data. Each test has an extension and a confidence level associated with
it. If more than one test matches, the format extension used is the one
associated with the highest confidence test. If none of the tests succeeds, the
standard application's "Unrecognized Extension" dialog appears.
To Configure
Tests
This section
contains a series of test entries in the format shown below (no spaces are
required):
Format: Testnumber=extension,
start search offset, stop search offset, "search
string", confidence
Example:
Test1=xyz,32,64,"\22XYZ\22\2CVersion 4.0",100
number
= A number that differentiates the test from
other tests. The tests are performed in numerical order. Putting tests with
100 confidence at the beginning of the list optimizes performance. See
confidence below.
start search offset
= The offset, from the beginning
of the file, to start searching for the search string.
stop search offset
= The offset, from the beginning
of the file, to stop searching for the search string. If you want to
search only at one spot, set the start and stop offsets to the same number.
search string
= A double quoted string, or byte pattern, to search
for. The string is case sensitive and may not contain a double quote("), a
comma(,), a backslash(\), or any non-printable character. To represent these
values, use hexadecimal notation with no leading or following spaces. For
example:
comma = \2C
double quote = \22
backslash = \5C
number 13 = \0D
So, if you want to represent:
"XYZ",Version 4.0
You need to enter:
\22XYZ\22\2CVersion 4.0
confidence
= A rating from 1 to 100. The number represents the
likelihood that success of the test indicates the truth of the format for the
file. If more than one test succeeds, then the test with the highest confidence
is the deciding test. If the confidence level is 100, the application
stops testing and go with that answer. Therefore, putting tests with 100
confidence at the beginning of the list optimizes performance.
Additional
Options
In the
MYRIAD32.ini or Myruser.ini file there is a section called [Auto-Recognize File
Format Options]. If the Prompt On Success parameter is set to TRUE the
application asks the user if they want to load the file using the detected format or
pick a different format themselves. The default for this key is FALSE.
[Text]
This section controls the MYRIAD Text driver
(Myritxt.dll). This section does not exist in the Myrdrv.ini by default, but
can be added by the user at any time. The following options can be added:
Papersize An alphanumeric string. The default
setting is Letter, but the following types can also be used:
Type Width
Height Units
A 11.0 8.5
Inches
B 17.0 11.0
Inches
C 22.0 17.0
Inches
D 34.0 22.0
Inches
E 44.0 34.0
Inches
A0 1180.0 848.0
Millimeters
A1 848.0 594.0
Millimeters
A2 594.0 424.0
Millimeters
A3 424.0 297.0
Millimeters
A4 297.0 219.0
Millimeters
A4P 210.0 297.0
Millimeters
Letter 8.5 11.0
Inches
Legal 8.5
14.0 Inches
CharHeight A decimal value indicating the height in
points. A larger value draws fewer characters per inch. The default is 10.0.
CharWidth A decimal value indicating the width in
points. The default is 1.414.
TabSpace An integer value for the number of spaces to
use for tabs. The default is 8.
WordWrap Indicates whether to use word wrapping or
not. The settings are TRUE or FALSE, with TRUE (use word wrapping) as the
default.
Numbering Indicates whether to number the pages. The
settings are TRUE or FALSE, with FALSE (no page numbers) as the default.
Margin Decimal values (in millimeters) for each
margin, in the following order: left, right, top, bottom. Use a space between
each value, as shown in the example below:
Margin=72.0 72.0 36.0
36.0
UseFormFeed Indicates whether to interpret or ignore the
form feed character. TRUE indicates to interpret it, FALSE (default) indicates
to ignore it.
Product Specific Sections
The following sections are specific to Brava!
Enterprise, Net-It Enterprise, Net-It Now, and Net-It Central, and do not
pertain to MYRIAD.
[cdl_section]
The [cdl_section] section sets general driver
configuration parameters.
ForceToJpg and JpgFidelity only affect PDF and
published files (native application processed). With the following two
parameters, you can force all color raster files to be written out as JPG.
ForceToJpg Tells the application
whether to convert color raster files to JPG.
TRUE =
All color raster files are converted to JPG format.
FALSE = (Default) Only JPG's are written out as JPG.
JpgFidelity Determines the file size and fidelity of the JPG file
created by the PDF2DL or publishing. Range is from 1-100 with 75 as the
default.
MaxRasterDPI Determines the maximum dots per inch (dpi) for raster images
embedded in a CDL published file. Applies to documents converted from Office
formats only. Images with a higher resolution than the specified DPI are
re-sampled down and images with a lower resolution are not adjusted.
This setting can have a large impact on how small the CDL published file size
is, how quickly the file downloads, and how quickly it views/prints from the
client software. The default setting is 600 dpi. If you require a higher dpi
than 600, you MUST edit this value to set it higher.
For
example: MaxRasterDPI=600
Note: 96 DPI is an efficient setting to use if your primary usage is to
only view images at 100% zoom level and do not print them since many monitors
have 96 DPI resolution (or calculate your video card's pixel width / monitor's
visible width in inches = your monitor dpi resolution). If you set a lower
resolution (such as 96 DPI) and then use the viewer to print a file containing
raster images to a printer that has 600 DPI resolution, the image will view fine
on the monitor but will have reduced fidelity on the printer due to the printer
having greater resolution than the published image.
EmbedTrueTypeFonts This setting tells the application whether to convert embed
true type fonts.
TRUE =
(Default) True type fonts are embedded
FALSE = True type fonts are not embedded
[DWG2DL]
The [DWG2DL] section sets driver configuration
parameters for conversion of DWG and DXF files to CDL format.
ShxPath Specifies the path for the loader to search for
font files. A semicolon is used as the path separator.
Format is ShxPath=path1;path2
XrefPath Specifies the path for the loader to search for
the cross-referenced files. A semicolon is used as the path separator.
Format is XrefPath=path1;path2
Example:
ShxPath=C:\Program Files\AutoCad 2004\Support;C:\Program
Files\AutoCad 2004\Fonts;XrefPath=C:\ACAD\xref
PageLoadOrder
Tells the loader the order of page layouts.
0: Paperspace first
1: Modelspace first
2: Paperspace only
3: Modelspace only
4: Similar to 0 except the last active
layout is first
If only one page exists, it is loaded.
Example:
ShxPath=C:\Program Files\AutoCAD
2004\Support;C:\Program Files\AutoCAD 2004\Fonts;;
XrefPath=c:\ACAD\xref;.\models;.\blocks;
PageLoadOrder=0
HybridExtensions Tells the loader that if a file exists with the
same base name as the AutoCAD file and has one of the following extensions, to
load the file as a raster reference.
HybridExtensions=cg4;rnl;g4;mil;gp4;cal;tif;
|