These startup parameters provide default values each time the program is started. This file can be modified as desired for the required drawing defaults. The last configuration file is stored in the registry and will be used again and again until it has been changed to another with the Restore button.
The program accesses the configuration file whenever it is started. If this file does not exist, the program will prompt the user to select the initial drawing environment as explained earlier. If the default templates cannot be found, another dialog will appear indicating that the program will need to be re-installed.
The following lines of information will be displayed in the dialog and placed in this file.
Each line below will have a description immediately following it outlining its purpose.
AlphaSizeControl
Default value: 0
Allowed values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
This variable controls how many decimal places are used in Alpha Size. Setting this variable to 0 (zero) will place no decimals in Alpha Size. Setting the variable to a value from 1 to 9 will place 1 to 9 decimal places in Alpha Size. Setting this variable to 10 (ten) will suppress trailing zeros in Alpha Size.
Example with value a of 0:
For Imperial pipe size: 4 1/2" would be 4 1/2" or 6" would be 6"
For Metric pipe size: 50 would be 50 or 60.3 would be 60 Example with value a of 3:
For Imperial pipe size: 4 1/2" would be 4.500" or 6" would be 6.000"
For Metric pipe size: 50 would be 50.000 or 60.3 would be 60.300 Example with value a of 10:
For Imperial pipe size: 4 1/2" would be 4.5" or 6" would be 6"
For Metric pipe size: 50 would be 50 or 60.3 would be 60.3
Note: If you want decimals to display in Alpha Size in Imperial or Metric, the ideal setting is 10.
Chapter 1 Installation 29
AnnotationType
Default value: 1
Allowed values: 0(off) or 1(on)
This variable has two different modes of operation. When set to (1), an edit box will be provided allowing the capability to edit the component as it is being placed. When set to off (0), the component editing capability will not be presented. To edit a component after placement requires the use of the command “CEDIT”.
ArrowSmallSize
Default value: 0.09375 Allowed values: Positive real
This variable sets the size of the small arrows placed on the drawing.
ArrowMediumSize
Default value: 0.125
Allowed values: Positive real
This variable sets the size of the medium arrows placed on the drawing.
ArrowLargeSize
Default value: 0.1875 Allowed values: Positive real
This variable sets the size of the large arrows placed on the drawing.
AutoRepeat
Default value: 1
Allowed values: 0(off) or 1(on)
This variable has two different modes of operation. When set to (1), most insert commands will repeat until cancel is hit. When set to off (0), the insert routines will not repeat
AutoSizeSpecUpdate
Default value: 0
Allowed values: 0(off) or 1(on)
This variable controls whether the components in the process line are updated
automatically when the process line is updated. It will automatically update the size and specification only.
BreakLineDistance
Default value: 0.125
Allowed values: 0 (off) or positive real
This variable controls the distance a process or instrument line will break when they intersect. If the variable is set to zero, than no breaking will be done.
BubbleSize
Default value: 0.5
Allowed values: Positive real
This variable controls the size of the instrument bubbles placed on the drawing.
ChangeAttributeTextStyle
Default value: 0
Allowed values: 0(off) or 1(on)
This variable controls whether the attributes associated with inserted blocks are updated to the current text style. It also changes the oblique angle and width factor according to the current style.
All blocks inserted with CADWorx P&ID will use the TextSmallSize setting for attribute text height. If an attribute has a text style that contains the phrase "NOCHANGE" within its name, CADWorx P&ID will not change the text style, layer, or text height when the block is inserted into the drawing.
CheckDuplicateValveTag
Default value: 0
Allowed values: 0(off) or 1(on)
This variable checks for duplicate valve tags when set to 1.
Chapter 1 Installation 31
CopyControlFlag
Default value: 0
Allowed values: Positive integer numbers
This flag controls different aspects of the copy command. To specify more than one setting, enter the sum of their values. For example, entering 5 would set both 1 and 4 below.
1 - Vessel component tags are not nulled (blanked out) when a vessel component is copied.
2 - Mechanical component tags are not nulled (blanked out) when a mechanical component is copied.
4 - Instrument component tags are not nulled (blanked out) when a instrument component is copied.
8 - When a polyline segment is copied, a row is created in the Process Line table for each polyline segment.
For example: If five polyline segments are copied, five rows in the database are added even if the segments are part of the same process.
16 - Will not copy additional data when a component is copied. This setting should be turned on if you plan on coping components from one database to another database since additional data can only be copied from within the same database.
Note: A setting of zero will do the exact opposite of all five settings listed above.
DataBaseCodes
Default value: DBCODES.DAT
Allowed values: Valid and properly formatted codes file name
This variable provides CADWorx P&ID a code file to look up the corresponding size - code combinations and then update the external database as it is drawn into the drawing. This variable is applicable only when spec driven P&ID's (see page 213) are being created.
DBAuditContol
Default value: 0
Allowed values: 0, 1, 2, 4, 5, 6, 8, 9, 10
This variable controls the DBAudit option on opening and closing a drawing with an external database.. To specify more than one setting, enter the sum of their values. For example, entering 10 would set both 2 and 8 below.
0 - DBAudit is not run when a drawing is opened or closed.
1 - A message box will appear and ask if DBAudit should be run when a drawing is opened.
2 - DBAudit will run when a drawing is opened.
4 - A message box will appear and ask if DBAudit should be run when a drawing is closed.
8 - DBAudit will run when a drawing is closed.
InternalSelectionDistance
Default value: 0.125 (3.0)
Allowed values: Positive real number
This variable controls the crossing window size for all selection sets performed internally by the program. For components to break process lines (polylines), this value should always be larger than the largest polyline width used in the drawing.
LanguageFile
Default value: ENGLISH.DIC
Allowed values: Valid and properly formatted language file
This variable controls the language of all CADWorx dialogs and prompts. The specified file must be present in the <INSTALL-DIR>\SUPPORT directory for proper operation of CADWorx P&ID.
LibraryDirectory
Default value: <INSTALL-DIR>
Allowed values: Valid directory name
This variable is presently not used and is reserved for future use.
Chapter 1 Installation 33
LineNumberSystem
Default value: 0
Allowed values: 0(off) or 1(on)
This turns the line number system on or off. When the system is on, CADWorx P&ID uses the current size, spec and count number and tags the line number accordingly. When the system is off it allows the line number to be typed in manually. Use the LINENUMBER command to control this variable.
LinkArrowTextControl
Default value: 0
Allowed values: 0, 1, 2 or 3
This variable controls the text displayed in the link arrows (off page arrows).
0 will have the word FROM or TO before the drawing name and ".DWG" is also displayed (example: FROM 98FD05.DWG)
1 will only have the drawing name without the ".DWG" extension (example: 98FD05) 2 will have the ".DWG" extension but not the FROM or TO (example: 98FD05.DWG) 3 will have the FROM or TO but not the ".DWG" extension (example: FROM 90FD05)
LoopNumberSystem
Default value: 0
Allowed values: 0(off) or 1(on)
This turns the Loop Number System on or off. When turned on, CADWorx P&ID uses the current tag and function and tags the loop number accordingly. When turned off,
CADWorx P&ID allows the Loop number to be typed in manually. Use the LOOPNUMBER command to control this variable.
LoopOutputDirectory
Default value: <INSTALL-DIR> or <PROJECT-DIR>
Allowed values: Valid directory
This variable specifies the start in directory location for automatic Loop generated drawings. If this variable is not set, the Loop generation module uses the current project directory.
LoopTemplateDirectory
Default value: <INSTALL-DIR> or <PROJECT-DIR>
Allowed values: Valid directory
This variable specifies the start in directory location for template or prototype drawings to be used with the automatic Loop module. If this variable is not set, the Loop generation module uses the current project directory.
MajorPrimary
Default value: 0.03
Allowed values: Positive real
This variable controls the line width of the major primary process lines drawn.
MajorSecondary
Default value: 0.02
Allowed values: Positive real
This variable controls the line width of the major secondary process line drawn.
MendLineDistance
Default value: 0.5
Allowed values: Positive real
This variable specifies the maximum distance the MENDLINE command uses for joining or mending process lines. Any distance greater than this value will not be mended or joined.
MenuSymbolFile
Default value: <INSTALL-DIR>\SUPPORT\FLOW_ALT.DAT Allowed values: Valid and properly formatted menu symbol file
This option allows the user to use a different menu symbol (see page 70) file for each project.
MinorPrimary
Default value: 0.01
Allowed values: Positive real
This variable controls the line width of the minor primary process lines drawn.
Chapter 1 Installation 35
MinorSecondary
Default value: 0.005
Allowed values: Positive real
This variable controls the line width of the minor secondary process lines drawn.
SaveLastProfileUsed
Default value: 1
Allowed values: 0 (false) or 1 (true)
When a drawing file is double-clicked in Windows Explorer or if AutoCAD is started using an icon without specifying any profile, AutoCAD always loads the last profile used. Setting this value to 0 will prevent CADWorx from saving the last profile used i.e., CADWorx will only start if the proper icon is used.
SnapSpacing
Default value: 0.0625 Allowed values: Positive real
This controls the snap spacing on the drawing. Please refer to the AutoCAD manual for more information regarding this command.
SpecControl
Default value: 0
Allowed values: 0 (off) or 1 (on)
This variable controls whether or not user will be required to use a specification in P&ID drawings. If turned on, the program will require a specification and update the external database (if applicable) with information from the specification.
SpecificationDirectory
Default value: <INSTALL-DIR>\SPEC Allowed values: Valid directory
This variable provides the program the location of the specification files. These specification files can be located anywhere on the hard drive or network. The program only uses the name of the specification.
SpecSizeOverride
Default value: 1
Allowed values: 0 (off) or 1 (on)
This variable allows the user to override the spec and size when drawing components. If override is turned off, the user will not be able to draw out of spec or out of size.
SyncOnStartUp
Default value: 1
Allowed values: 0, 1, or 2
This variable controls the synchronize option on opening a drawing with an external database.
0 turns the synchronize option off when a drawing is loaded into AutoCAD.
1 asks the user whether the program should synchronize the drawing with the external database.
2 provides CADWorx P&ID with the ability to synchronize the drawing with the external database without prompting the user.
Note: When calling the SYNC from the toolbar or command line, value 0 and 1 will prompt the user and value 2 will synchronize without any prompts.
Note: This variable is only used by CADWorx P&ID and CADWorx Plant live database. It will be implemented into CADWorx Steel in the future.
SystemMeasure
Default value: 1
Allowed values: 0, 1, or 2
This variable is set according to the type of system that is currently being used by CADWorx P&ID.
0 sets the metric system with metric input.
1 sets the imperial system with nominal inch input.
2 sets the metric system with nominal inch input.
Chapter 1 Installation 37
Tagging
Default value: 1
Allowed values: 0 (off) or 1 (on)
This variable has two different modes of operation. When turned on, optional tags for equipment will be provided. When turned off, this feature is turned off.
TextLargeSize
Default value: 0.1875 Allowed values: Positive real
This variable set the size of the large sized text placed on the drawing.
TextMediumSize
Default value: 0.125
Allowed values: Positive real
This variable set the size of the medium sized text placed on the drawing.
TextSmallSize
Default value: 0.09375 Allowed values: Positive real
This variable set the size of the small sized text placed on the drawing.
All blocks inserted with CADWorx P&ID will use the TextSmallSize setting for attribute text height. If an attribute has a text style that contains the phrase "NOCHANGE" within its name, CADWorx P&ID will not change the text style, layer, or text height when the block is inserted into the drawing.
ToolTipSetting
Default value: 7
Allowed values: Positive integer
This variable controls the items the user sees in the tool tip displayed, when the mouse hovers over a component. When selected, the user is allowed to click on the Settings button and select items to view on the tool tip.
UseFullFunctionName
Default value: 0
Allowed values: 0, 1, 2, 3
0 - Only the first letter of the function is used in generating the instrument loop numbering.
1 - The full function name is used in generating the instrument loop numbering.
The values 2 and 3 are used in conjunction with the combine instrument functionality. If instruments have been grouped using the COMBINEINST command, the first instrument selected with the COMBINEINST command will set the loop value for all the other instruments in the group.
2 - Only the first letter of the function is used in generating the instrument loop numbering.
3 - The full function name is used in generating the instrument loop numbering.
Chapter 1 Installation 39