The Move Up and Move Down buttons allows the entries in the spec for a particular type of component to be moved.
This is especially useful when working with larger number of optional components and using the Specification option toggle (see page 150). The order that the components are listed in the specification file is the order that the components will appear in the optional component dialog.
Edit
This dialog allows modification to any of the components within the specification and appears after adding any new component. After selecting the desired component in the right side list box, utilize the Edit button to modify any existing component located within the specification. The Template button will be disabled when editing.
If adding a new component with the Add button, the dialog appears and will be sparsely filled in. The Open button will be disabled when adding.
Note: A component has to be associated with a valid CADWorx data file only when working with CADWorx PLANT. It does not require a data file when working with
CADWorx P&ID. The data files entries supplied with the specifications in CADWorx P&ID are from CADWorx PLANT - both programs use the same specifications.
Chapter 4 Accessory 145
The area at the top of the dialog, Type, indicates what type of component is to be edited.
Make sure to select the same type of data file when changing data files. If a pipe data file is used to draw an elbow it will cause the program to draw an incorrect shape.
The Optional component toggle marks the component as a optional component in the specification. For more information on optional components, please refer to the Specification option toggle (see page 150) discussed later.
The Size Selection toggle will only appear for reducing components. This toggle will change reducing components to be selected by main size.
The Select button provides a file selection dialog for browsing for the data file needed for the component entry. After selecting this button, directories will be presented such as 150, 300, XXS, etc. The user will need to click on the desired sub-directory and then pick a data file. Examples of data file are PIP_W, BAL_F, FLG_F_W, etc. Make sure that the file selected will work in the component’s position. If there is a question, generate a template file and compare the one selected with it. After selecting the file, the name will appear above this button.
Note: When a file is highlighted, the title of the file selection dialog will have the files size range in it along with a short description. Another useful feature is right clicking on the data file name and using the open option to view and edit the file. The installation process will associate all CADWorx PLANT data files with the NOTEPAD editor. The user can also edit the file in this manner.
The user can pick the Open button to review the data file that is present. The data file will open with the associated editor.
With the Template button, a data file can be built from scratch. CADWorx PLANT can provide a template data file for which the user can start adding the sizes that they might require. Clicking on the Template button displays the dialog below.
A directory has to be selected to store the data file and the name of the data file should be typed in the edit box. The program will automatically add the file extension depending on the name of the data directory. Click OK and the data file is opened with Notepad containing sample data required by CADWorx PLANT to draw the component.
The Data File Update Path Only toggle will use the file and not it description within the file.
When this toggle is not activated, it will populate the long and short description. It will also automatically place the start and ending sizes based on the contents of the file selected.
It will be disabled when adding a new component - it will automatically use the descriptions and sizes.
The Start size edit box is the beginning size of a component. For example; if the user wanted this specification to provide 1/2" to 1-1/2" sizes at schedule extra strong pipe and larger sizes to be schedule standard pipe. The user needs to enter 0.5 for 1/2" pipe here.
This is the starting size. The ending size will be required in the next edit box. All entries here should be listed as the nominal size, not the actual size.
The End size edit box is the ending size of a component. In the above example, the components’ size started at 1/2". Here, it can be end at 1-1/2". This provides the component available in sizes 1/2" through 1-1/2". If the user sets a size of 24", and attempts to place this component in the drawing, they would see the Option Toggle dialog.
This Tag edit box provides an optional tag description for valves and such.
The Short description edit box is the abbreviated description for the component. This description will be used by the Component Annotation routine under the short annotation option within CADWorx PLANT.
The Long description edit box describes the component. This description can be used in the Bill of Materials schedule and the Component Annotation routine under the long annotation option within CADWorx PLANT.
The Sort sequence edit box locates the item in the bill of material schedule. If the user entered 999, this component would be placed last in the schedule. If it was set at 0, it would be placed first. Setting the same sort numbers to different component in the specification places the components in the schedule in an alphabetical order instead.
Chapter 4 Accessory 147
Index Codes
This code is the index (or pointer) for the generation of database codes placed within components. When a component is placed in the drawing, the system looks at this code and tries to find a corresponding index in the file named by the DataBaseCode variable in the configuration file. It can also use the DataBaseCodes file as specified in the
specification.
For example – within the specification, this code is set to “0001” for categories of pipe from 2.0 - 24.0 – the DataBaseCode startup variable is set to DBCODES.DAT and within this file there exists an index of “0001” – under this index there are sizes 2.0 through 24.0 and the 4.0 has a code of “76.35.38.237”.
When a 4” pipe is drawn, it will have attached the code 76.35.38.237. If the index was not found within the DBCODES.DAT, then “0001” would be placed in the component. For more information refer to the DataBaseCodes variable in the Configuration file.
To set an index for a specification component, simply highlight an index in the left list box and select OK at the bottom of the dialog. This will place the index code in the edit box on the edit dialog. Whenever a component is drawn on the drawing, it looks at this index, searches for the proper size and finds the corresponding code to place in the component.
Note: Separate DBCODES.DAT files are not necessary when creating index, size and code combinations. Different specifications can all access the same index in the same file. A carbon steel 150-pound flange might have the same order number or database code across several specifications.
The left list box shows all the available indexes in DBCODES.DAT (or a name as
specified by DataBaseCode variable in setup). To set this index, and corresponding size and code, to a component, highlight it here and select the OK at the bottom of this dialog.
The Edit Index and Description section allows the user to change an index for a range of sizes. Simply highlight the index, change it’s value and hit the update button. Changing focus will also update the list box above. The edit box below this allows the user to enter a description for the index that was entered above. The Add button allows the user to add any index desired. Just click the Add button and a generic entry for the index, pipe size and code will be added. Use the edit boxes above to edit and change this entry. The Delete button index located within the code file can be removed with this button.
The right list box shows all the sizes and codes associated with an index. Simply highlight the size and then edit it as desired.
The Edit Sizes and Codes section can be changed to any size desired. Make sure that the sizes entered here are the same available size located within the SETSIZE.TBL, SETSIZEA.TBL, and SETSIZEM.TBL.
The Main and Red edit box allows the modification of any code that is associated to any size. The Add button allows the user to add any size – code combination desired. Just click the Add button and a generic entry for the size – code combination. The Delete button simply deletes any entry in the size – code combination located in the list box above. After an entry has been modified in the edit boxes, just hit the Update button to update the list box above. Changing focus will also accomplish the same thing.
Chapter 4 Accessory 149
Notes
This edit facility allows the user to add notes to any component that is in the specification.
Notes can be added and used in CADWorx P&ID utilizing the COMPNOTE (see page 129) column name when using a database. Multiple notes can be applied to a single component and when that component is associated with a symbol in CADWorx P&ID, the notes will be applied to that column separated by a semicolon.
The Note Number Description list box contains all the notes present within the current specification.
The Notes section allows the user to modify any note number highlighted. This entry can be alphanumeric. After changing the number, simply hit the update button to change it in the list above.
The Update button will update the number and the description after a modification has been made. The Description edit box allows the user to modify any description located within the notes. After a modification has been made, use the update button to change the list box above.
Clicking on the Add button will add a generic entry into the specification. This entry can be modified as desired.
The Delete button will delete any note located within the list.