module 2- editing cadworx specification

28
CADWorx ® Video Training Series Module Two – Editing CADWorx Specifications Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA 210 In this section you’ll cover many aspects of the Specification Editor Starting the CADWorx Spec Editor Editing CADWorx Specifications Some topics covered in this lesson: You will . . . Learn how to open a sample spec and examine it Create your own spec Review the contents of a spec Add and delete items to your spec Modify descriptive information and size ranges Add Valve Tags Add Part Numbers (Procurement Codes) Add new Control Valves to your spec as optional components Add new size ranges that are not standard Create special end conditions components Use Keywords to create look up values in the long description (wall thicknesses) Print out your spec for review Update your spec in the middle of a project 1. Start CADWorx Plant and type SPED <Enter> (or Click Plant, Accessory, Specifications, Editor). This will start the Spec Editor. 2. You will see a list of all the specs that ship with CADWorx. Notice the extensive list of specs included when you purchase CADWorx. There are over 70 piping specs that are bundled into the software. Some of these are imperial specs, some are metric, and some are mixed metric (imperial bore sizes, with metric length measurements). There are also stainless steel specs, pvc, lined pipe, victaulic, FRP, Swagelok, etc. The system ships with these specs supplied, and it is very easy to add your own spec as needed. CADWorx supplies a library of components with over 60,000 components defined.

Upload: huynhthanhtamptsc

Post on 29-Nov-2015

749 views

Category:

Documents


15 download

TRANSCRIPT

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

210

• In this section you’ll

cover many aspects of the Specification Editor

• Starting the

CADWorx Spec Editor

Editing CADWorx Specifications

Some topics covered in this lesson: You will . . .

• Learn how to open a sample spec and examine it • Create your own spec • Review the contents of a spec • Add and delete items to your spec • Modify descriptive information and size ranges • Add Valve Tags • Add Part Numbers (Procurement Codes) • Add new Control Valves to your spec as optional components • Add new size ranges that are not standard • Create special end conditions components • Use Keywords to create look up values in the long description (wall thicknesses) • Print out your spec for review • Update your spec in the middle of a project

1. Start CADWorx Plant and type SPED <Enter> (or Click Plant, Accessory, Specifications, Editor). This will start the Spec Editor. 2. You will see a list of all the specs that ship with

CADWorx. Notice the extensive list of specs included when you

purchase CADWorx. There are over 70 piping specs that are bundled into the software.

Some of these are imperial specs, some are metric, and

some are mixed metric (imperial bore sizes, with metric length measurements). There are also stainless steel specs, pvc, lined pipe, victaulic, FRP, Swagelok, etc. The system ships with these specs supplied, and it is very easy to add your own spec as needed. CADWorx supplies a library of components with over 60,000 components defined.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

211

• Opening an existing

spec • Saving an existing

spec under another name

• Exporting the spec

out for review

3. Double click on the 150_M.spc 4. You will see the following dialog box. This is the Spec Editor’s dialog box. 5. Click Save As. 6. Type: A10 <Enter>. This will save the default CADWorx 150 lb spec to a

name of your choice, in this case A10. Reviewing the Contents of a Spec To get a complete overview of the contents of your A10

spec 7. Click the Export button (lower right area of the dialog

box) The system will save the spec out in your choice of

several different formats. In this case, 8. Click Save (to save it as a text file, A10.txt, in the Spec

folder).

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

212

• Reviewing a spec’s

contents in Notepad or Excel

• Using a template

sets Units and other AutoCAD variables

9. Open Notepad (Click Start, All Programs, Accessories,

Notepad) and use Notepad to open the A10.txt file for review.

10. You’ll see the following, which is a full listing of the A10 spec.

11. Scroll through the spec and take a look at it. 12. This is an excellent way to note its contents. You can

print this out, mark it up, and keep track of what needs modifying.

13. Close Notepad at this time and go back to the Spec Editor.

14. Notice that Pipe is high lighted (on the left). 15. Click on the second pipe range listed (second down on

the right).

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

213

• Editing the pipe’s

description in spec editor

• Adding Valve Tags

16. Click Edit 17. Change the description from STD to 40, and A-106 to A-

53 (see below). 18. Click OK. Adding Valve Tags 19. Scroll down, in the left section of the dialog

(components) and click on Valves, Gate.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

214

• Working with Part

Number (Procurement Codes)

20. Click Edit 21. In the Tag field, 22. Type: A2R <Enter>. Adding Part Numbers (Procurement Codes) CADWorx has the capability of inserting a part number

into every component. This can be set up by clicking the Edit Codes button (lower right area of the dialog box).

The system will display the default part numbers for a

Gate Valve.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

215

• The Part Numbering

file in CADWorx: DBCodes.dat

• Adding a Part

Number to a Gate Valve

This is a very easy system to maintain. For instance, if

you wanted to update the part number for a 6” Gate Valve.

23. Click 6.00 (on the right). 24. Put in your part number (in this example Type:

A2R_6_150. 25. Click the Update button (lower right). You can see that this part number system is easy to use.

Near the very top of this dialog box is the path name of the part number file,

C:\ CADWorx Plant 2007\Spec\Dbcodes.dat. This is actually a text file that can be modified using this easy dialog box interface, or with a text editor. Some CADWorx users also have written automated programs that update this text file as they add new parts to their procurement purchasing system.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

216

• The Short

Description is used in Component Annotation

• The Sort Sequence

determines the position a component takes in the Bill of Materials

• The Index Code is a

category value used in Part Numbering

• Looking at Data

Files (the “measurement file”)

These part numbers can be brought into Bill of

Materials list in CADWorx drawings and Isogen. They can also be used for automating ordering items with your purchasing system.

26. Click OK, to exit this dialog box (The Database Codes

Editor). Other Spec Information Carried in this Dialog Box Looking further at the items in this dialog box: 27. The Short Description’s value will appear on the

drawing when placed there using the Annotate Component command (covered in the first piping lesson).

28. The Sort Sequence tells the system how to sort the items down the Bill of Materials. A zero will make it first in the BOM list. A 999 will make it last in the list. If two items have the same value, then they will be sorted alphabetically in the BOM.

29. The Index Code is a category code for the part numbering system. It tells the system where to look in the part numbering file (dbcodes.dat) to look up a component’s part number. It would probably not be necessary to change this value.

Looking at the Data Files Also, notice near the top of this dialog box, the

information about the Data File (the library file) where the measurements for this component are stored.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

217

• Data files – Contain

all the data needed to draw a component

• Expanding Data

Files – Adding new size ranges

30. Click the Open button to open the data file. This is the file that contains all the measurements needed

for CADWorx to draw the Gate Valves to scale. Also, notice there is a column for the weight. CADWorx

carries weights for all components. .

Adding New Size Ranges It’s very easy to add new size ranges to the data files.

Since they are text file, all you have to do is modify right in Notepad.

To add data for a 36” Gate Valve, copy the line for the 30” Gate Valve, and paste it into the line below. Then change the measurements as needed for the 36” data (use the data from a valve catalog). For instance, you could add 36” data as shown next:

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

218

• Testing a 36” Gate

Valve • Specs are “filters”

that utilize portions of the library data files

• Testing a 36” Gate

Valve

• Adding a new

Control Valve to your spec

• A new type a Valve

is added

31. Close the file and save it. 32. Click Save and then OK to close the spec Editor. 33. Set your size to 36”, and click the Gate Valve tool button. 34. Click two points to place the new 36” valve into your

drawing (hit cancel if prompted for a Gasket, it could be added later).

35. Set your size back to 6”, which you’ll be drawing later. You can then have the system use the 36” data by changing

the size range in the Edit Component dialog box for the Gate Valve.

Note: This is also discussed in the video. From these discussions, you can see that CADWorx has a

very simple scheme for its specs and data files. All the data files are stored in the library folders (Lib_I for the Imperial measurement files).

CADWorx specs are set up to use portions of these data

files. The specs have a size range set in them, to use either some, or all, of the lines in the data files. In the case of the Gate Valves, the range in the spec is 2” to 24”, while the actual data file (we looked at earlier in Notepad) goes from 2” to 30”.

The Lesson Four video discusses a network setup to

place your specs in a read only folder. Adding a New Control Valve It’s an easy process to add a Control valve to your spec.

CADWorx ships with a number of control valves in its libraries.

Sometimes you will have a project that calls for more than

one choice for a control valve for a particular size. When this occurs, you will need to have multiple choices in your spec. The spec will contain one of the control valves as a default choice, and the others as “optional” choices.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

219

• Placing the default

control valve • Looking at the data

file for the default control valve

.

First, you need to look at what’s currently in the spec. To do this 36. Set your size to 3”. 37. Set the specification to A10. 38. Following the video, click on the Control Valve button

and place one in your drawing. 39. Double click the control valve to view the data in it, then

close the component edit dialog box. Adding a New Control Valve to your Spec. 40. Type: SPED <Enter> to start the spec editor (you can

also click Plant, Accessory, Specifications, Editor). 41. Following the video, open the data file for the control

valve to see what the system is using.

42. After viewing, follow the video and close the data file,

then add a new control valve as shown in the video.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

220

• Adding a new

control valve • Telling the system

this is an Optional Component

.

43. Add the valve as instructed in the video, noticing how it gets

specified as an “optional” component.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

221

• Setting Specview to

show optional components

• The optional control

valves appear in the Specview list

.

44. Save and exit the spec as directed in the video. The video discusses how to display Optional Components using both the Specview tool palette and also using tool bars. Follow the video to see how this is done. Showing optional components using Specview: When this is set, the optional valves appear in the list in a different color.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

222

• Having the system

show optional components

• Using optional

components gives you the flexibility of adding multiple choices for your spec’s components

.

If you prefer to use tool bars, you can set the system to use optional components using the Settings tool bar.

Showing optional components using tool bars:

Using this method, all the control valve choices appear listed

in a dialog box. Follow the video and bring in the control valves as directed and test them. You will find this a very powerful tool for adding great flexibility in getting you specs just the way you need them.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

223

• Opening the

Sanitary toolbar • Next you’ll open the

Help system to see the choices of End Types available

Adding a Gate Valve that is Threaded on one end, and Flanged on the other. Creating Components with any combination of end types. So far, you have added regular components to your

spec, but suppose you wanted to add fittings with end type combinations that are not standard.

CADWorx allows you to work with components with

fifteen different types of end conditions. When working with components that CADWorx draws, this option allows you to create many types of optional components.

To create this type of component 45. Click Plant (from the pull down menus) 46. Click Toolbars 47. Click Sanitary

This brings up the Sanitary toolbar.

This is the tool bar used to place these special types of components.

48. Click Plant 49. Click Help 50. Under the Index tab 51. Type: Sanitary <Enter> This page will show the different end types that can be

defined in CADWorx.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

224

• Above, you’ll see

the many options CADWorx has available for building components with different end types

Notice that a Type 1 end type (shown in the previous dialog box) is a Weld end type.

You can also see that a Type 2 end type is a Flanged end type, and so forth.

You can build components with different end types that

are listed in the dialog box. For instance, a valve that is treaded on one end, and flanged on the other end, would have a Type 15 for the threaded end, and a Type 2 for the flanged end.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

225

• Adding a Threaded

by Flanged valve • Using the Sanitary

interface to add the valve

• Specifying a Gate

Valve with Special End Types

To illustrate this, you will a valve with “special end

types”. To Add a GATE Valve that is Threaded on one end, and Flanged on the other End to your spec: 52. Restart the CADWorx Spec Editor (Type: SPED

<Enter>). 53. Click on the A10 spec. In the left portion of the dialog box, 54. Click Valves, Gate (in the CADWorx 2009 version) or 55. Click Sanitary (in the CADWorx 2008 and earlier

versions) 56. Click Add (to add a new Threaded x Flanged Gate

Valve). 57. Click Gate with Special End Types. 58. Click OK

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

226

• Setting it as an

Optional component

• Naming the valve to

open the Template • Opening the

Template and entering measurement values

59. Click the Optional Component Button, and 60. Click the Template Button. 61. Click the + next to the Lib folder (video example is in

imperial, you may be using Lib_M or LIB_MM – all three work the same except you key in different lengths based on MM or inches).

62. Scroll down the list and click the 63. Click the San folder (for this example). Click OK and Type in: GAT_THD_FLG , then 64. Click OK You will see a “Template” file appear – it is a text file

that comes up in Notepad. This is the file you will fill out with some measurement

data from a manufacturer’s catalog. You will see this template has more columns in it than you’ve seen up to now. This is because it has additional columns for the end types.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

227

• Saving the newly

created file

• Filling out size

ranges and short and long annotation values

For this example fill out some data as shown next. 65. Click File 66. Click Save As 67. Make sure it is being saved in the San Folder. 68. Make sure the type is set to “All Files” (to keep the system

from saving it as a .txt extension, which Notepad will do. We want the file type to stay as a .San extension.

69. Close Notepad. 70. In the Edit Component Dialog Box, add some information for

this new valve. See the following illustration for clarity. 71. Have the Optional Component button checked. 72. In the Short Description field, type: Gate Valve, Thrd x Flgd. 73. In the Long Description field, 74. Type: Gate Valve, Threaded by Flanged, Full Opening 75. In the Tag field, Type: C40P 76. Set the Start size to 2

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

228

• Setting the size and

spec for testing • Setting the

Specification Options switch

• Choosing the new

valve from the optional list of valves

• Drawing the new

valve

77. Set the End size to 2. 78. Click OK to close the Edit Component dialog box for

the Gate Valve. 79. Click Save, then Click OK, to close the Spec Editor. 80. Open Windows Explorer. 81. Look in the C:\CADWorx Plant 2007\Lib_I\San folder

(or in the Lib_M or Lib_MM, whichever units you’re working in).

82. You should see your new data file in the folder. Make sure it has a .San extension. Close Windows Explorer after verifying.

83. Set your size to 2”. 84. Set your Spec to A10. 85. Click on the Specifications Option Toggle, as shown

earlier. (It may already be on, depending on the order you’ve done these examples).

Notice the prompt at the command line, you want to

make sure it is turned on. The message will say “All components will be dialoged...”.

86. Click on the Sanitary Gate Valve tool button. The Optional Component dialog box will appear,

showing all the Gate Valves in the spec that can be placed in the drawing.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

229

• Drawing connecting

components to the valve

• Verifying the new

valve works in Isogen

87. Click on the Gate Valve, Threaded by Flanged, and 88. Click OK 89. Place it in your drawing (click two points to place it). After the valve has been placed in your drawing, 90. Double click it, and look at the information that is coming

from the spec. You should see the data you input previously.

91. Click OK to close the Component Edit dialog box. 92. Add a Gasket on one end, a Flange, and a piece of BW

Pipe. 93. On the other end, add a piece of Threaded Pipe a

Threaded Elbow, and another short piece of Threaded Pipe.

94. Run the drawing through Isogen to verify things work properly.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

230

• Keywords –

“Wildcards” in the material list

• A list of the many

Keywords available in CADWorx

Using Keywords in the Long Descriptions in the Bill of Materials Keywords allow you to put a variable value in the Bill of

Materials, which can be a really nice feature. For instance, you can include the Wall Thickness of a

component as part of the Long Description. When it is set up properly, the system will look up the proper wall thickness, and place it as part of the description text string in the BOM.

The different keywords are: {BORE} {MAIN}

{MAINACT} {RED} {REDACT} {SPEC} {MAINTHK} {REDTHK} {LENGTH} {PIPETHK} {PIPETHKRED}. Four additional keywords are also available if main and reduction sizes are needed in decimal format. These four additional keywords are: {MAINDEC} {REDDEC} {MAINACTDEC} {REDACTDEC

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

231

• How Keywords can

be put to use

• Using the

{PIPETYK} keyword – having a wall thickness appear in the Bill of Materials

The keywords {BORE}, {PIPETHK} and {PIPETHKRED}

are derived from the pipe's data file in the specification instead of the component's data file where {MAINTHK} and {REDTHK} are derived from. For example, a 4" valve with the {BORE} or {PIPETHK} would get the keyword values from the 4" pipe data file as listed in the specification. A 4" valve with {MAINTHK} or {REDTHK} would get the keyword values from the valve data file as listed in the specification.

Since fittings have the same wall thickness as the pipe, it’s

easiest to use {PIPETHK} when you’re working with these. Here’s an example. 95. Start the CADWorx Spec Editor (Type: SPED <Enter>). 96. Click on the A10 spec. 97. Click on Elbows, 90 (in the left section of the dialog box) 98. Click on the 2 to 24 Elbow. 99. In the Long Description area, modify it to include the text

“THK” and the {PIPETHK} keyword as shown.

100. Click OK when done. 101. Click Save (to save the spec). 102. Click OK (to exit the spec editor). 103. Set your size to 6”. 104. Draw a piece of pipe, and elbow, and a piece of pipe. 105. Double click on the elbow, to verify the Long description has

a thickness value in it.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

232

• An easy way to see

everything in your spec

• Opening a spec and

saving under a new name

• Exporting it out for

review • Changing

descriptions in the components

Modifying Specifications – a Review and Summary

Watch the next four videos for an overview and summary of editing specifications. You’ll see a nice step by step process of getting your specs built.

It sill discuss opening an existing spec and saving under a new name. Then the spec gets exported out and listed for review.

Then you could start changing some of the descriptions in the components.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

233

• Adding new size

ranges – in this case large size pipe

• Pipe sizes up to 60”

are added in this example

You could add new size ranges – for instance, maybe you want some large pipe sizes included in your spec. In this example, you’ll bring in pipe up to 60” in diameter.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

234

• Adding Valve Tags • Part numbers can be

added which can link to your purchasing system

If you don’t want to bring in a whole new range of sizes, you can also add a single size or two to a data file.

Also, the videos review setting up Valve Tags.

You can also add Part Numbers if you would like to

include them for your purchasing system.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

235

• Adding Optional

Components (multiple choices for control valves in a certain size range)

• Part numbers can be

added which can link to your purchasing system

You can also add optional components. Maybe you need more than one choice of control valves for a certain size range in your spec.

The video also shows how to configure your specification and library on a network in a protected folder. That way, only one person can modify them.

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

236

• The data in

components previously placed gets updated with new descriptions

Changing your Spec’s Descriptive Information in the Middle of a Project If you’re working in a project, and have place any

number of components using your spec, the component data in the drawings can be updated if required.

Here’s what you’ll do. 106. You’ll edit the spec, and change the long description,

short description, or tag fields (you can’t change the measurements in the data files, but you can change the weights and wall thickness).

107. After changing the spec, save it, either under its own name, or a different name (to keep track of the revision).

108. Then, in the drawing where you want the changes to occur.

109. Click Plant 110. Click Accessory 111. Click Specification 112. Click Change

CADWorx® Video Training Series Module Two – Editing CADWorx Specifications

Written by Anthony W. Horn © 2011 CAD Training Technologies, LLC Houston, TX USA

237

113. Press <Enter> (to select components). 114. Window the components to change and press <Enter>. 115. Click on the spec you wish to use for the changes and 116. Click Open The data in the components will be updated to the new values in the spec.