Welcome to the GTX Corporation
GTX Support Navigator

GTXImage CAD Series and GTXRaster CAD Series, All Versions:

GTXRAST.CFG - Editable Configuration File

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 67 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

DrawingUnitsThis 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.

RasterPathDefines 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 directory.

RasterFormatDefines the default storage format of new raster files.  This is used by gCREATE and when using gACTIVE on color images.

RasterLoadExtDefines the available raster formats that will be loaded with AutoCAD open when a raster file with the same name is in the same directory.

RefRotateDefines 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.

RotatePerforms 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 and moved!

TurnPerforms 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.

RefAngleDefines the angle used by RefRotate parameter. Valid entries are 0, 90, 180, 270 degrees. The default is 90.

MaxNumPixelsSets the maximum number of pixels allowed in a new raster image. Default setting is 552,960,000, which at 300 dpi is equivalent to 78.38 x 78.38 inches or 1990 x 1990 millimeters.

HighlightColorDefines 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. Valid entries are the same for RasterColor. The color can be changed with the gCOLOR or gLAYER commands. The default is GREEN.

RasterWidthSets 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.

BackupRasYES causes raster save to create a backup raster file. NO deactivates the backup option.

BackupRasExtSets the file extension for backup raster files.

ResolutionDefines the default resolution for new raster images. 

MaxUndoSets the number of raster undos that are stored.

TiffformatSets the subformat to be used when saving TIFF files:

FormatValue
TIFF G31
GIFF G42
TIFF UNCOMPRESSED3
TIFF TILED V64

DisableDisables 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 file.




Text Configuration Parameters

CharFileSets a recognition file for GTXRaster CAD PLUS 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 configuration file.
AmbigCharSets a character to be listed in the ambiguous characters list box in the gTCONFIG dialog upon starting GTXRaster CAD PLUS.
CharOrientSets 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.
CharThresholdSets 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.
CharMinSizeSets 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.
CharMaxSizeSets 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.
CharSpaceSizeSets 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.
CharAlignSets 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.
TextHeightSets the initial value for the TextHeight value in the text configuration dialog.
MaxSpaceSizeSets 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.
MaxSpaceSizeSets the initial value for the Max Space Size dialog.
WordVerifyLevelSets the initial value for the word-mode verification level.
WordForceLevelSets the initial value for the word-mode force-fit level.
TouchingCRControls whether ICR splits touching characters.  0 means OFF, 1 means ON
CRModeControls whether ICR is performing Character recognition or Word recognition.  0 means word mode CR, 1 means character mode CR
SimFileEstablishes 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.
WordFileEstablishes the dictionary file(s) to load on startup.


Raster-to-Vector Conversion Parameters

GAP_SIZE_TO_JUMPSets the default GAP JUMP size.
HATCH_LAYER_NAME Sets the layer name to be created during hatch recognition.
LINESTYLE_LAYER_NAMESets the layer name to be created during linestyle recognition
PColorEstablishes a value in the line width configuration table.

Pcolor [Color Value]=0.050 [Line Width]
PClrUnitDetermines 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.



Other Parameters

NOVELL3_SAVE_METHOD

ProductLevelsets the product level for the GTXRaster CAD series to run.  Settings include RCAD, RCADPLUS, RTOOLS, R2V, ICAD, ICADPLUS
DemoModeDetermines whether GTXRaster CAD operates in demonstration mode.  Although GTXRaster CAD will revert to demo mode if a HASP key 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 the HASP key when it first runs.
Zero_PlineDetermines 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.
HaspTimeOutDetermines 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.
Hasp_TypeSpecifies the type of HASP security key being used. Available settings are: Default, Japan_IBM and Japan_NEC.
RefDelLoadSpecifies 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.
RefMkSaveSpecifies whether a .REF file is created for each attached image when AutoCAD SAVEASR12 and SAVEASR13 commands are invoked.
DefaultRasterLayerEstablishes the name of a layer on which images are placed when attached using gATTACH.
RasterColorDefines the layer color for the layer named in the DefaultRasterLayer config parameter.  Any color from 0-255 can be used.
BkCompModeWhen set to 1, this overrides AutoCAD’s normal behavior to make it behave more like earlier versions of the GTXRaster CAD Series. When a drawing containing attached images is opened, any image that does not have the same name as the drawing is detatched, deleting its image entities. Any raster file with the same name as the drawing will then be attached using any .REF files to register the raster in the vector drawing.
3P_APP_EDITShould 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.
3P_APP_SAVINGUsed when another 3rd party application will also be performing transparent saving.
GACTIVE_ON_GATTACHControls whether a raster image attached with the gATTACH command should automatically become active (gACTIVE).
ENABLE_NOVELL_SAVINGallows saving raster files over Novell 4.x
allows saving raster files over Novell 3.x

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).

Return to Main Support Navigator

GTX SUPPORT
Authorize
Support Navigator
Product FAQ
Download
Request Support
ATTENTION:
HASP driver update



© Copyright 2008 GTX Corporation. All Rights Reserved.
GTXScanClean is protected by U.S. Patent No. 7,016,536

GTX Corporation • 15333 North Pima Road • Suite 116 • Scottsdale, AZ 85260
tel: 480-889-8600 • US toll free: 800-879-8284 • fax: 480-889-8610 • email: info@gtx.com

GTX Europe, Ltd. • 8, Cedarwood • Chineham Park, Crockford Lane • Basingstoke, Hampshire
United Kingdom RG24 8WD • tel: +44 (0)1256.814444 • fax: +44 (0)1256.364887 • email: info@gtx.co.uk

( UK registration information • Company: GTX Europe Ltd. • Registered Number: 2156326 • Place of registration: England
• Registered Office Address: 100 New Bridge Street, London, EC4V 6JA)

r2v raster to vector tiff cals g4 raster to vector paper to cad paper to cad paper to cad tiff view markup redline view markup redline view markup redline vectorization vectorisation vectorization vectorisation vectorization vectorisation R2V GTXRaster CAD GTXRaster Trace GTXRaster CAD Plus GTXRaster R2V GTXImage CAD GTXImage Tools scanclean ScanClean GTXScan Clean Rastercad rastertrace rastercad plus raster r2v v2r rasterization rasterisation rasterization rasterisation rasterization rasterisation Redlining Markup