GTXImage CAD Series and GTXRaster CAD Series, All Versions:
GTXRAST.CFG - Editable Configuration
A user editable configuration file exists within the main program
folder for each installation of every version of GTXImage CAD and GTXRaster
CAD. This text file, named gtxrast.cfg, may be edited in Notepad, Wordpad,
Microsoft Word, or other text file editor. It consists of 61 program variables
which control such program aspects as display color, default image file types,
program license version, and much more. Many of the variable values which are
written into this file will set GTX program command option choices which are
changeable within the running GTX program. Some of the values in the
configuration file may not be altered except by exiting the running GTX program
and text editing the configuration file.
Configuration Entry Descriptions - The configuration file
entries are explained below and valid entries are given. Any items not included
in the file or not given a value will use the default values.
Basic Configuration Parameters
||This entry has two functions. It defines whether
configuration values should be inches or millimeters and also how the World
Coordinate Units should be applied to the raster image. The raster image can be
either “1inch” or “1mm”; the other linear measurements in the configuration
file will be in the same unit (i.e., if you specify “mm” the RasterWidth
parameter will express millimeters and the value should be adjusted
accordingly). The DrawingUnits value defines what inch or 1 mm on the raster
image maps to in AutoCAD units. The value entered must be a real number. This
defaults to AutoCAD’s initial units value.
||Defines the default path for saving raster files.
You can override the directory entered here by entering the full path when
prompted for a file name. The default is to save the file in the current
||Defines the default storage format of new raster
files. This is used by gCREATE and when using gACTIVE on
||Defines the available raster formats that will be
loaded with AutoCAD open when a raster file with the same name is in the same
||Defines the angle to rotate images with
accompanying .REF files when attached with gATTACH (whether explitly
invoked or incidentally invoked using AutoCAD OPEN command). Valid
entries are Rotate, Turn or Off.
||Performs an AutoCAD ROTATE on the image
entity, then moves the image so the new lower left corner is located where the
old one was. Use this option if you want to migrate hybrid raster data back to
older versions of GTX software. The disadvantage is that raster files with .REF
files are attached at an angle. No raster data is changed - the image is rotated
||Performs a gTURN on the image entity, which
actually rotates the raster data and swaps the X and Y raster limits,
resizing the image. Use this option if backward migration to earlier GTX
software is not important. The advantage of this option is that images are
attached at a 0° orientation.
||Defines the angle used by RefRotate parameter.
Valid entries are 0, 90, 180, 270 degrees. The default is 90.
||Sets the maximum number of pixels allowed in a new
raster image. Default setting is 973440000, which at 400 dpi is equivalent to
78.38 x 78.38 inches or 1990 x 1990 millimeters.
||Defines the default color used to highlight
selected raster data. Choose a color that can be seen against the raster image
and against the background color. The default is GREEN.
||Sets the default raster line width to be used when
vector entities are converted to raster. The entry should be an appropriate
real number, or T if you want to specify the Line Width Table values.
The default is .01. This value will be in inches or mm according to the DrawingUnits
entry. All the values can be reset when you use the gRASTER command.
||YES causes raster save to create a backup raster
file. NO deactivates the backup option.
||Sets the file extension for backup raster files.
||Defines the default resolution for new
||Sets the number of raster undos that are stored.
||Sets the subformat to be used when saving TIFF
|TIFF TILED V6
||Disables a specified command. Enter a single
command name (i.e., gMOVE) after the word “Disable”. The software will
not allow the user to invoke the specified command. To disable multiple
commands, add more Disable [Command Name] lines to the configuration
Text Configuration Parameters
||Sets a recognition file for GTX PLUS versions
to automatically load when it is run. If you want the program to load multiple
recognition files, add more CharFile [Recognition File] lines to the
||Sets a character to be listed in the ambiguous
characters list box in the gTCONFIG dialog upon starting GTX PLUS
||Sets the initial values for the Orientation list
in the gTCONFIG dialog, determining the allowed orientations for
building AutoCAD text entities. The default setting is 0. Valid entries
are any angle between -360 and 360 degrees.
||Sets the initial value of the AutoConvert Threshold
setting in the gTCONFIG dialog. This is the character confidence level
above which the character verification dialog appears. The default value is 100,
which makes the character verification dialog appear every time. Valid entries
are integers from 0 to 100.
||Sets the initial value for the Min Char Size
setting in the gTCONFIG dialog, determining the minimum value for raster
text characters when using Text IOP or gTCONVRT. The default value is .04.
||Sets the initial value for the Max Char Size
setting in the gTCONFIG dialog, determining the maximum value for the
raster characters when using Text IOP or gTCONVRT. The default value is .4.
||Sets the initial value for the Space Size setting
in the gTCONFIG dialog, defining the distance between raster characters
in terms of a typical character’s width necessary for gTCONVRT to insert
a space character. The default value is 1.0. Valid entries are any
positive real number.
||Sets the initial value for the Alignment Offset
setting in the gTCONFIG dialog, determining the minimum vertical
distance, relative to the text strings’ orientations, between separate lines of
text in terms of a percentage of a typical character’s height. The default
setting is 0. Valid entries are any real number.
||Sets the initial value for the TextHeight value in
the text configuration dialog.
||Sets the initial value for the Max # Spaces setting
in the gTCONFIG dialog, determining the maximum number of spaces that
can be inserted into a text string by gTCONVRT before it breaks the text
string into two separate AutoCAD text entities. The default setting is 1.
Valid entries are integers 1 through 100.
||Sets the initial value for the Max Space Size
||Sets the initial value for the word-mode
||Sets the initial value for the word-mode force-fit
||Controls whether ICR splits touching
characters. 0 means OFF, 1 means ON
||Controls whether ICR is performing Character
recognition or Word recognition. 0 means word mode CR, 1 means
character mode CR
||Establishes the character similarity file to use
for word recognition. Gtxtext.sim is hardcoded into GTX, but if
another file is loaded it will override the default similarity settings.
||Establishes the dictionary file(s) to load on
Raster-to-Vector Conversion Parameters
||Sets the default GAP JUMP size.
||Sets the layer name to be created during hatch
||Sets the layer name to be created during linestyle
||Establishes a value in the line width configuration
Pcolor [Color Value]=0.050 [Line Width]
||Determines behavior of linewidth color table when
rasterizing or vectorizing with a scaled image. Set PclrUnit=0 if you want to
multiply your pcolor setting by the AutoCAD scale of the Image. Set
PclrUnit=1 if you do NOT want to multiply your pcolor setting by the AutoCAD
scale of the image.
||sets the product level for the GTX CAD series to
run. Settings include RCAD, RCADPLUS, RTOOLS, R2V, ICAD, ICADPLUS
|| Determines whether GTXRaster CAD operates in
demonstration mode. Although GTXRaster CAD will revert to demo mode if a
license is not present, this process can take up to a few minutes. If you
install GTXRaster CAD specifically for demonstration purposes, DemoMode=YES
causes it to automatically enter demonstration mode without this delay. DemoMode=NO
(default setting) causes GTXRaster CAD to look for a license when it first
||Determines how polylines of zero width are
rasterized. 0 causes zero-width plines to rasterized like other
entities. 1 causes them to rasterize at 1 pixel wide.
||Determines the number of minutes idle time the
GTXRaster CAD Series license server will allow before de-activating an active
license and making it available again. Must be at least 120.
||Specifies the type of HASP security key being used.
Available settings are: Default, Japan_IBM and Japan_NEC.
||Specifies the behavior of gATTACH as it loads a
raster file with an associated .REF file. If set to 1, the .REF is deleted. If
set to 0, the .REF file is kept.
||Establishes the name of a layer on which images are
placed when attached using gATTACH.
||Defines the layer color for the layer named in the
DefaultRasterLayer config parameter. Any color from 0-255 can be used.
||Should be set to Yes when another 3rd party
application will also be editing raster images. This will cause more
overhead to keep RCAD in sync with the 3rd party application raster
edits. When set to 'YES', RCAD will not perform transparent saving of
edited raster images.
||Used when another 3rd party application will also
be performing transparent saving.
||Controls whether a raster image attached with the gATTACH
command should automatically become active (gACTIVE).
Line Width Configuration
The line width configuration table is important to several
functions of the GTXRaster CAD Series. Because AutoCAD vector entities have no
line width, the GTXRaster CAD Series lets you assign raster line widths to
AutoCAD vector colors.
When converting raster to vector, gCONVRT can assign
different colors to vectors resulting from different raster line widths. The gRASTER
command converts vector data to raster. When rasterizing, AutoCAD vector
entities of different colors can be rasterized to different line widths. When
smoothing raster the gSMOOTH command can snap raster data to the closest
line width listed in this table.
The format for listing a color/linewidth listing is:
Pcolor Color# = LineWidth
in which Color# is the AutoCAD color number to be associated with the
raster linewidth. LineWidth is the width of the raster line (this can be
measured using the AutoCAD Dist command).