CADWorx Tutorials
CADWorx Tutorials
P&ID Tutorials
Copyright
Copyright 2003-2013 Intergraph Corporation. All Rights Reserved. Intergraph is part of Hexagon.
Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement;
contains confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade secret
law, and international treaty, and may not be provided or otherwise made available without proper authorization from Intergraph
Corporation.
Terms of Use
Use of this software product is subject to the End User License Agreement ("EULA") delivered with this software product unless the
licensee has a valid signed license for this software product with Intergraph Corporation. If the licensee has a valid signed license
for this software product with Intergraph Corporation, the valid signed license shall take precedence and govern the use of this
software product. Subject to the terms contained within the applicable license agreement, Intergraph Corporation gives licensee
permission to print a reasonable number of copies of the documentation as defined in the applicable license agreement and
delivered with the software product for licensee's internal, non-commercial use. The documentation may not be printed for resale or
redistribution.
Trademarks
Intergraph, the Intergraph logo, CADWorx, and CAESAR II are trademarks or registered trademarks of Intergraph Corporation or
its subsidiaries in the United States, and other countries. Microsoft, and Windows are registered trademarks of Microsoft
Corporation. Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle Corporation, and/or its affiliates.
AutoCAD, ObjectARX, and RealDWG are trademarks of Autodesk. HOOPS is a trademark of Tech Soft 3D, L.L.C. Other brands,
and product names are trademarks of their respective owners.
CADWorx Design Review contains Autodesk RealDWG by Autodesk, Inc., copyright Autodesk, Inc. All rights reserved.
Autodesk, Inc., 111 McInnis Parkway, San Rafael, California 94903 ("Autodesk") is a third-party beneficiary to this Agreement to
the extent that the Software Product contains RealDWG, and to the extent that the provisions herein relate to Licensees use of the
Software Product containing RealDWG. Such provisions are made expressly for the benefit of Autodesk, and are enforceable by
Autodesk in addition to Intergraph.
Contents
Preface for CADWorx P&ID Tutorials ........................................................................................................ 5
Basic Tutorial ............................................................................................................................................... 7
Start a new drawing ................................................................................................................................ 8
Setup drawing parameters ...................................................................................................................... 8
Place a vertical vessel ............................................................................................................................ 9
Place a pump ........................................................................................................................................ 10
Place the horizontal vessel ................................................................................................................... 12
Place an exchanger .............................................................................................................................. 13
Define equipment tags .......................................................................................................................... 14
Draw process lines ................................................................................................................................ 16
Annotate the process lines .................................................................................................................... 19
Place a nozzle ....................................................................................................................................... 20
Place instrumentation ........................................................................................................................... 21
Place valves and control valves ............................................................................................................ 26
Draw connecting lines .................................................................................................................... 28
Create relief valves ............................................................................................................................... 30
Place on/off arrows ............................................................................................................................... 32
Tag the process lines ............................................................................................................................ 33
Advanced Tutorial ..................................................................................................................................... 35
Start a new drawing .............................................................................................................................. 36
Setup drawing parameters .................................................................................................................... 37
Place a vertical vessel .......................................................................................................................... 38
Place a pump ........................................................................................................................................ 40
Place the horizontal vessel ................................................................................................................... 42
Place an exchanger .............................................................................................................................. 43
Draw process lines ................................................................................................................................ 44
Add line count to the line numbering system ................................................................................. 47
Enter tag information for process lines ........................................................................................... 47
Place nozzles ........................................................................................................................................ 49
Place instrumentation ........................................................................................................................... 50
Place valves and control valves ............................................................................................................ 54
Create new blocks and symbols ........................................................................................................... 58
Create embedded instruments.............................................................................................................. 63
Create relief valves ............................................................................................................................... 63
Add documentation to equipment ......................................................................................................... 65
Add links................................................................................................................................................ 66
Place on/off arrows ............................................................................................................................... 68
Add a non-database drawing to the project .......................................................................................... 69
Default project, forms, and queries ....................................................................................................... 70
Create a query in Microsoft Access ................................................................................................ 71
Create a form in Microsoft Access ................................................................................................. 72
Create a report in Microsoft Access ............................................................................................... 73
Change data within Microsoft Access ............................................................................................ 75
Index ........................................................................................................................................................... 77
Contents
SECTION 1
Basic Tutorial
The lessons in the Basic Tutorial section guide you through using the tools and commands in
CADWorx P&ID to create a drawing without a database. After you complete all of the lessons in
this section, the finished drawing should resemble the example below.
Even if you intend to use the software with a database, we recommend that you complete the
Basic Tutorial lessons.
When appropriate, a tutorial lesson cross-references a pertinent topic in the CADWorx P&ID
User's Guide so that you can get additional information regarding a specific command or
concept.
In This Section
Start a new drawing ........................................................................8
Setup drawing parameters .............................................................8
Place a vertical vessel ....................................................................9
Place a pump ..................................................................................10
Place the horizontal vessel .............................................................12
Place an exchanger ........................................................................13
Define equipment tags ....................................................................14
Draw process lines .........................................................................16
Annotate the process lines .............................................................19
Place a nozzle ................................................................................20
Place instrumentation .....................................................................21
Place valves and control valves .....................................................26
Create relief valves .........................................................................30
Place on/off arrows .........................................................................32
Tag the process lines .....................................................................33
Basic Tutorial
By default Annotation is set to Off. Do not change this setting while you are working
the lessons in the Basic Tutorial.
2. Click Border.
The Borders dialog box appears.
Basic Tutorial
3. Under Border type, select Predefined.
A list of predefined borders displays under Predefined borders.
The list of predefined borders is controlled by the [Product
Folder]\P&ID\Support\MVSetup.dfs file.
4. Select 34x22 (ANSI-D) in the Predefined borders list, and click OK.
5. Click OK on the CADWorx P&ID Setup dialog box.
The Edit Attributes dialog box appears.
6. Define the information required for the title block, and click OK.
7. Click Save
.
The Save Drawing As dialog box appears.
8. Type 10112 in the File name box, and click Save.
For more information about setting up drawing parameters, see "Setup" in the CADWorx
P&ID User's Guide.
1. If the entire drawing is not visible, click the View tab and then click Extents
in the
Navigate 2D Panel.
2. Click the CADWorxP&ID tab and then click Vessels
in the Equip panel. Alternatively,
type ICONVESSEL, and press ENTER.
The Vessels dialog box appears.
3. Select Vert Vessel Ellip w/Skirt, and click OK.
First corner point.
4. Click a point in the drawing to define the lower left corner of the internal rectangle.
Second corner point.
Basic Tutorial
5. Click a second point in the drawing, approximately four grid spaces to the right and 12 grid
spaces up from the first point, to define the upper right corner of the internal rectangle.
The software draws the vertical tank with the ellipses at the top and bottom of the vessel.
Pick skirt base.
6. Click in the drawing to define the location for the base of the skirt.
Pick position.
7. Click a point within the vessel to define the placement of the vessel tag.
Pick position
8. Click a point above the vessel at the top of the drawing, about one grid space down from the
drawing border, to define the placement of the vessel label.
For more detailed command reference information, see "Vessels" in the CADWorx P&ID
User's Guide.
Place a pump
In the next lesson, you will place two pumps.
10
Basic Tutorial
Pick orientation.
4. Define the orientation of the pump so that the suction and discharge are facing toward the
right edge of the drawing.
Move the mouse from the left to the right to assign the correct orientation of the pump.
When the pump is oriented correctly, click once in the drawing to exit the command.
Pick position.
5. Click a point just below the pump to place the additional tag.
Pick position.
6. Click a point directly above the pump and one grid space down from the drawing border to
define a position for the pump label.
7. Place a copy of the pump approximately ten spaces to the right of the first pump.
CADWorx P&ID clears the tag value for all pumps and vessels that are copied to prevent
duplicate tag values.
Equipment that you draw in CADWorx P&ID is grouped together. To move an individual
component within a group, you must use the AutoCAD STRETCH command.
For more detailed command reference information, see "Pumps" in the CADWorx P&ID User's
Guide.
11
Basic Tutorial
12
Basic Tutorial
Place an exchanger
In this lesson, you will place two exchangers: one to the left of the vertical tank, and the other
above the horizontal tank.
13
Basic Tutorial
14
Basic Tutorial
4. Click Additional Data.
The Additional Data dialog box appears.
15
Basic Tutorial
16
Basic Tutorial
c. Draw a process line up from the discharge side of pump P002 over to vessel T-001. From
the corner of this line, above the P-002 pump, draw a line towards the right edge of the
drawing.
d. Draw the suction line to pump P-001 and then draw the discharge line.
e. Draw a line from the bottom of the ellipse on vessel T-001 to exchanger EX-001.
f. Draw the line from the top of exchanger EX-001 to the left side of vessel T-001.
17
Basic Tutorial
g. Draw a line from the bottom ellipse on vessel T-001 to the right side of the drawing.
h. Draw a line coming out of the left side of vessel T-001 toward the left edge of the drawing.
For more detailed command reference information, see "Process Lines Panel" in the
CADWorx P&ID User's Guide.
18
Basic Tutorial
19
Basic Tutorial
4. Continue using Edit
to assign size and specification data for each of the remaining
process lines as outlined in the table below.
Process Line
Label
Size
Spec
Tag
10
150
10"-150
150
2"-150
10
150
10"-150
150
8"-150
10
150
10"-150
150
8"-150
150
6"-150
16
150
16"-150
150
6"-150
20
150
20"-150
The information that you define is stored with the process line. In Tag the process lines (on
page 33), you will place tags on these process lines.
To assign a specification to any CADWorx component, click the CADWorxP&ID tab and then
click Spec Assign
in the Size_Spec panel. For more information, see "Spec Assign" in the
CADWorx P&ID User's Guide. You can also use the CADWorx P&ID Setup dialog box to set
the specification to 150-lb so that all process lines drawn are assigned the specification
automatically at placement.
The line number system is explained in the Advanced Tutorial section. Using a line
numbering system requires that you only enter the size and specification of the process line to
automatically generate the tag value.
Place a nozzle
If you want the nozzles you place to acquire the size of the process line, you must first set
the size of the process line. Otherwise, you must edit each connection manually.
1. Click the CADWorxP&ID tab and then click Nozzles
on the Equip panel. Alternatively,
type ICONNOZZLE, and press ENTER.
The Nozzles dialog box appears.
2. Select Nozzle - single line /w blind, and click OK.
Pick position.
3. Select the point where the line coming out of the top of vessel T-001 meets the ellipse.
Pick rotation.
4. Drag the mouse upright so that the nozzle is oriented correctly.
20
Basic Tutorial
5. Repeat steps 1 through 4 to place the Nozzle - single line /w blind for each of the remaining
connections on vessel T-001, as shown in the example below.
6. Repeat Steps 1 through 4 to place the Nozzle No Flange on V-010, as shown in the
example below.
For more detailed command reference information, see "Nozzles" in the CADWorx P&ID
User's Guide.
Place instrumentation
1. Click the View tab and then click Window
around the pumps.
The software zooms in around the pumps.
21
Basic Tutorial
6. Click Edit
on the Modify panel . Alternatively, type CEDIT, and press ENTER.
Select P&ID entity.
7. Select the instrument you just placed.
The Editing Instrument Component dialog box appears.
8. Type values for Function and Tag as shown in the example below, and click OK.
9. Repeat steps 2 through 8 to place an instrument bubble on the discharge line of pump P-002,
and tag the bubble PI-002.
22
Basic Tutorial
12. Place another instrument bubble attached to the PC-010 instrument line, and tag it PI-010.
You must pick three different points to place the bubble. The first point is the
instrument line on PC-010, the second is directly across, about 1-1/2 grid spaces to the left of
the first point, and the third point is directly up from second point, even with the PC-010
bubble. The drawing should resemble the example below.
23
Basic Tutorial
5. Repeat step 2, and draw a second instrument line from the bottom of the instrument bubble to
the vessel ellipse and then press ENTER.
When you select the center of an existing instrument bubble, the software uses the
same tag for the new bubble, which is 010 in this example.
Specify next point or [Undo].
24
Basic Tutorial
3. Drag the bubble to the right until it is flush against the right edge of the first instrument bubble,
click once, and press ENTER.
4. Select the instrument, and click OK.
5. Type CEDIT, and press ENTER.
Select P&ID entity.
The Editing Instrument Component dialog box appears.
6. Type LC-010 in the Tag box, and click OK.
7. Repeat the previous steps in this lesson as necessary to place LT-001 and LC-001 instrument
bubbles on T-001 and then place nozzles on the instrument arms, similar to the example
shown below.
For more detailed command reference information, see "Instruments Panel" in the
CADWorx P&ID User's Guide.
25
Basic Tutorial
26
Basic Tutorial
6. Place an instrument bubble for the control valve, as shown in the example below.
7.
8.
9.
10.
11.
12.
13.
14.
To place the instrument line at an angle, you must turn off Ortho.
Type CEDIT, and press ENTER.
Select P&ID entity.
Select the instrument you just placed.
The Editing Instrument Component dialog box appears.
Type LCV in the Function box and 001 in the Tag box, and click OK.
Click Valve - Regular
on the Valves panel. Alternatively, type ICONREGVALVE, and
press ENTER.
The Valves Regular dialog box appears.
Select Gate, and press OK.
Pick position.
Place a gate valve approximately three grid spaces to the left of the control valve.
Right-click anywhere in the drawing, and select Repeat ICONREGVALVE.
Place a second gate valve approximately three grid spaces to the right of the control valve, as
shown in the example below.
For more detailed command reference information, see "Valves Panel" in the CADWorx P&ID
User's Guide.
The 6 attribute for the control valve is a little close to the 6 attribute of the gate valve on the
right. You can use the grips of the block attribute to move them a little farther away from each
other.
27
Basic Tutorial
28
Basic Tutorial
10. Place a globe valve in the bypass line, as shown in the example below.
You can also click the CADWorxP&ID tab and then click Menu Symbols
on the
Setup panel to draw a customized control station block. This command allows you to do what
the multiple commands in this lesson do. For more information, see Create new blocks and
symbols (on page 58) in the Advanced Tutorial section.
12. Repeat steps 1 through 10 to draw three additional control stations:
a. Draw a control station connected to the LC-010 instrument bubble on V-010 (horizontal
vessel).
29
Basic Tutorial
b. Draw a control station on the line coming off the top of vessel V-010.
c. Draw a flow control station on the line that goes into the right side of T-001 (vertical
vessel). Use the Flange
command in the Valves panel to place a flange in the line for
instrument bubble FT-001 and draw FT-001 out from it.
30
Basic Tutorial
4. Draw a line similar to the one shown in the example below.
8. Place an instrument bubble on the relief valve, and tag the bubble RV-001.
Place instrumentation (on page 21)
9. Continue using the Valve-Regular
command to select and place a gate valve on each
side of the relief valve.
10. Click Large
on the Text panel. Alternatively, type LARGETEXT and then press ENTER.
Text start point.
31
Basic Tutorial
11. Click just above the end of the process line coming from RV-001, and type TO FLARE.
For more detailed command reference information, see "Valves Panel" in the CADWorx
P&ID User's Guide.
32
Basic Tutorial
5. Repeat steps 1 and 2 to place two arrows on the process lines that run towards the right edge
of the drawing, as shown in the example below.
6. Click Large
on the Text panel. Alternatively, type LARGEARROW, and then press
ENTER.
Pick insertion or point on polyline.
7. Click a point near the end of each process line in the drawing to place a flow arrow.
The flow arrow defaults to the end of the lines, in the direction of the flow.
See the finished drawing at the end of Tag the process lines (on page 33) if you are
having trouble placing the arrows correctly.
Each placement of a flow arrow terminates the LARGEARROW command. To recall the
command and continue placement, right-click anywhere in the drawing, and select Repeat
LARGEARROW.
For more detailed command reference information, see "Links" in the CADWorx P&ID User's
Guide.
33
Basic Tutorial
The software displays the tag data that you defined in Annotate the process lines (on page
19).
5. Repeat steps 1 through 4 to place tags on the remaining process lines as needed.
The finished drawing should resemble the example shown below.
34
SECTION 2
Advanced Tutorial
The lessons in the Advanced Tutorial section guide you through using the tools and commands
in CADWorx P&ID to create a project using an external database. After you complete the lessons
in this section, your finished drawing should resemble the example below.
Although the drawing layout used for the advanced tutorial lessons is similar to the one used in
the basic tutorial lessons, the two drawings are different. Also, the advanced lessons use a
slightly modified workflow for defining and modifying property data than the one used in the
basic lessons.
Do not store drawings created using an external database in the same folder with drawings
created without an external database.
For more information about any of the commands referenced in the advanced lessons, see the
CADWorx P&ID User's Guide.
In This Section
Start a new drawing ........................................................................36
Setup drawing parameters .............................................................37
Place a vertical vessel ....................................................................38
Place a pump ..................................................................................40
Place the horizontal vessel .............................................................42
Place an exchanger ........................................................................43
Draw process lines .........................................................................44
Place nozzles..................................................................................49
Place instrumentation .....................................................................50
Place valves and control valves .....................................................54
Create new blocks and symbols .....................................................58
Create embedded instruments .......................................................63
Create relief valves .........................................................................63
Add documentation to equipment ...................................................65
Add links .........................................................................................66
Place on/off arrows .........................................................................68
Add a non-database drawing to the project ....................................69
Default project, forms, and queries ................................................70
35
Advanced Tutorial
36
Advanced Tutorial
37
Advanced Tutorial
38
Advanced Tutorial
9. Define the property data as shown in the example below.
11. Type Depropanizer in the Corrosion Allowance box, and click OK.
12. Click OK on the Editing Vessel Component dialog box.
The equipment tag on the face of the vertical tank and the main equipment tag at the top of the
drawing are appended with the tag number.
For more detailed command reference information, see "Vessels" in the CADWorx P&ID
User's Guide.
39
Advanced Tutorial
Place a pump
In the next lesson, you will place two pumps.
1. Click the CADWorxP&ID tab and then click Pumps
on the Equip panel. Alternatively,
type ICONPUMP, and press ENTER.
The Pumps dialog box appears.
2. Select Pump Centrifugal (Y axis), and click OK.
Pick position.
3. Click a point on the drawing to the right of the bottom of the tank to place the pump.
Pick orientation.
4. Define the orientation of the pump so that the suction and discharge are on the right side of
the pump.
5.
6.
7.
8.
9.
40
Move the mouse from the left to the right to assign the correct orientation of the pump.
When the pump is oriented correctly, click once in the drawing.
Pick position.
Click a point just below the pump to place the pump tag.
Pick position.
Click a point directly above the pump and one grid down from the border to define a position
for the pump label.
The Editing Mechanical Component dialog box appears.
Type P-001 in the Tag box, and click Additional Data.
Type Reflux Product Pump in the Service box, and click OK.
Click OK in the Editing Mechanical Component dialog box to return to the drawing.
Advanced Tutorial
Place a copy of the pump
1. Click the Home tab and then click Copy
on the Modify panel. Alternatively, type COPY,
and press ENTER to place a second pump identical to the first.
2. Click the first pump you placed.
Select objects.
3. Press ENTER to complete the selection set.
Specify base point or [Displacement/Mode].
4. Click a point at the base of the pump.
Specify second point or <use first point as displacement>.
5. Click a second point in the drawing about 10 grid spaces to the right of the original pump and
press ENTER.
1 row(s) added to the database.
6.
7.
8.
9.
When you copy an object, CADWorx creates a row in the database automatically.
Double-click the new pump.
The Editing Mechanical Component dialog box appears.
Type P-002 in the Tag box, and click Additional Data.
Check that REFLUX PRODUCT PUMP is in the Service box, if not type it in and click OK.
Click OK in the Editing Mechanical Component dialog box to return to the drawing, which
should resemble the example below.
CADWorx clears the tag value for all pumps and vessels that are copied to prevent duplicate
tag values.
Equipment that you draw in CADWorx is grouped together. To move an individual component
within a group, you must use the AutoCAD STRETCH command.
For more detailed command reference information, see "Pumps" in the CADWorx P&ID User's
Guide.
41
Advanced Tutorial
42
Advanced Tutorial
Place an exchanger
In this lesson, you will place two exchangers: one to the left of the vertical tank, and the other
above the horizontal tank. The resulting drawing will look similar to the example below.
8.
9.
10.
11.
This may happen automatically at this point. If the Editing Mechanical Component box
opens automatically skip the steps as needed.
Type EX-001 in the Tag box.
Type Overhead Condenser in the Service box, and click OK.
Click OK in the Editing Mechanical Component dialog box to return to the drawing.
Repeat steps1 through 10 to place an identical exchanger above the horizontal vessel, and
tag it as EX-002.
For more information, see "Exchangers" in the CADWorx P&ID User's Guide.
43
Advanced Tutorial
When drawing process lines with CADWorx, the start and end point of the process lines
should be visible in the AutoCAD window. If these two points are not visible, the process
information is not recorded.
The command prompts for the process line functions are similar to the AutoCAD PLINE
command.
1. Click Major Primary
on the Process Lines panel. Alternatively, type MPRIMARY, and
press ENTER.
From point.
2. Click a point at the top of vessel T-001 to indicate the start point of the line segment.
Undo/<Endpoint of line>.
3. Draw the line up and over to the top of exchanger EX-002, clicking at the point where you want
each line segment to end.
44
Advanced Tutorial
4. When you reach the top of exchanger EX-002, right-click and select Enter to end the process
line. Your drawing should look similar to the example below.
45
Advanced Tutorial
e. Draw a process line coming out of the bottom of the ellipse on vessel T-001 to exchanger
EX-001 and another process line from exchanger EX-001 to vessel T-001, as shown in
the example below.
f.
Draw a process line from the bottom ellipse of vessel T-001 to the right side of the
drawing.
g. Draw a process line from the left side of the drawing to the left side of vessel T-001, similar
to the example below.
46
Advanced Tutorial
h. Draw a process line from the top of the discharge line from pump P-001, to the right side of
the drawing, and another process line from the top of vessel V-010 to flare.
The finished drawing should now look similar to the example below.
For more information about process lines, see "Process Lines Panel" in the CADWorx
P&ID User's Guide.
47
Advanced Tutorial
2. Click the process line coming out of the top of vessel T-001.
The Editing Line Component dialog box appears. The values in the Size and Spec boxes
are the ones you defined in Draw process lines (on page 44).
The value displayed in parentheses in the dialog box is the database ID and is unique
for each component in the project.
3. Click Additional Data.
The Additional Data dialog box appears.
4. Type 1001 in the Count box, and click OK.
The software appends the tag number with the process line tag count of 1001.
5. Click OK to return to the drawing.
6. Use the Edit
command to update the remaining process lines as noted below.
Process line from the bottom of exchanger EX-002 to the top of vessel V-010.
Size - 10
Count - 1002
Process line at the top right of vessel V-010.
Size - 2
Count - 4001
Process line from the bottom of vessel V-010 to pump P-002.
Size - 10
Count - 1003
Process line from pump P-002 to vessel T-001.
Size - 8
Count - 1004
Process line from the 8 discharge line of pump P-002 to the suction side of pump P-001.
Size - 10
Count - 1005
Process line on the discharge side of pump P-001.
Size - 8
Count - 1006
48
Advanced Tutorial
Horizontal process line to the right of the discharge line of pump P-001.
Size - 4
Count - 1007
Horizontal process line going to the vessel T-001 from the left side of the drawing.
Size - 6
Count - 1000
Process line from vessel T-001 to exchanger EX-001 to the left of the vertical line coming
from the bottom ellipse of T-001.
Size - 16
Count - 1008
Process line from the top of exchanger EX-001 to vessel T-001.
Size - 20
Count - 1009
Process line to the right of the vertical line coming out of the bottom of exchanger T-001.
Size - 6
Count - 1010
Place nozzles
1. Click the CADWorxP&ID tab and then click Nozzles
on the Equip panel. Alternatively,
type ICONNOZZLE, and press ENTER.
The Nozzles dialog box appears.
2. Select Nozzle - single line /w blind, and click OK.
Pick position.
3. Click the point where the line coming out of the top of vessel T-001 meets the ellipse.
Pick rotation.
4. Drag the mouse up so that the nozzle is displayed correctly.
5. Repeat steps 1 through 4 to place a Nozzle - single line /w blind for each of the remaining
connections on vessel T-001, as shown in the example below.
49
Advanced Tutorial
6. Repeat Steps 1 through 4 to place a Nozzle No Flange on vessel V-010 in the three
locations shown in the example below.
For more information, see "Nozzles" in the CADWorx P&ID User's Guide.
Place instrumentation
Follow the steps below to place instrumentation and then add process lines and tag data.
1. Click the View tab and then click Window
around the pumps.
The software zooms in around the pumps.
Loop Number
on the Instruments panel controls automatic loop number
attributes. For more information, see "Loop Numbering" in the CADWorx P&ID User's Guide.
50
Advanced Tutorial
7. Repeat steps 2 through 8 to place an instrument bubble on the discharge line of pump P-002,
and tag the bubble PI-002.
10. Place another instrument bubble attached to the PC-010 instrument line, and tag it PI-010.
You must pick three different points to place the bubble. The first point is the
instrument line on PC-010, the second point is directly across, about 1-1/2 grid spaces to the
left of the first point, and the third point is directly up from second point, even with the PC-010
instrument bubble. The drawing should resemble the example below.
51
Advanced Tutorial
12. Repeat steps 2 through 8 to draw an instrument bubble from the center of the ellipse, and tag
the bubble LT-010.
13. Click the instrument line that runs from the horizontal vessel to the LT-010 instrument bubble,
and press DELETE.
14. Click the CADWorxP&ID tab and then click Instrument
on the Instrument Lines panel.
Alternatively, type INSTRUMENT, and press ENTER.
Specify start point.
15. Click a point at the top of the LT-010 instrument bubble and draw a line up and over into the
vessel ellipse.
16. Press ENTER to exit the command.
17. Repeat steps 14 to 15 and draw a second instrument line from the bottom of the instrument
bubble to the vessel ellipse and then press ENTER.
52
Advanced Tutorial
20. Trim the instrument lines back to the ellipse, as shown in the example below by click on the
line inside the curve of the horizontal vessel.
21. Click the CADWorxP&ID tab and then click Discrete - Local
Specify start point.
22. Select the center of the LT-010 bubble.
When you select the center of an existing bubble, the software uses the same tag
(010) for the new bubble.
Specify next point or [Undo].
23. Drag the bubble to the right until it is flush against the right edge of the first instrument bubble,
click once and press ENTER.
The Editing Instrument Component dialog box appears.
24. Type LC in the Function box, if necessary, type 010 in the Tag box and then click OK.
25. Repeat the steps in this lesson as needed to complete the tasks below.
a. Place two instrument bubbles on T-001.
b. Tag the instrument bubbles LT-001 and LC-001.
c. Place nozzles on the instrument arms.
Place nozzles (on page 49)
53
Advanced Tutorial
The finished instrument loop should resemble the example shown below.
For more detailed command reference information, see "Instruments Panel" in the
CADWorx P&ID User's Guide.
54
Advanced Tutorial
4. Place the control valve about two grid spaces from the right side of the horizontal line, similar
to the example shown below.
7.
8.
9.
10.
11.
To place the instrument line at an angle, you must turn off Ortho.
The Editing Instrument Component dialog box appears.
Type LCV in the Function box and 001 in the Tag box, and click OK.
Click Valves - Regular
on the Valves panel.
The Valves Regular dialog box appears.
Select Gate, and press OK.
Pick position.
Place a gate valve approximately three grid spaces to the left of the gate valve.
Right-click anywhere in the drawing, and select Repeat ICONREGVALVE.
55
Advanced Tutorial
12. Place a second ball valve approximately three grid spaces to the right of the gate valve, as
shown in the example below.
The 6 attribute for the control valve is a little close to the 6 attribute of the gate valve
on the right. You can use the grips of the block attribute to move them a little farther away from
each other.
13. Click Pneumatic
on the Instrument Lines panel. Alternatively, type PNEUMATICBIN
and then press ENTER.
Specify start point,
14. Follow the command prompts to draw a pneumatic line from the LC-001 instrument bubble on
the horizontal tank to the top of the control valve actuator, as shown in the example below.
56
Advanced Tutorial
The Valves Regular dialog box appears.
19. Select Globe, and press OK.
Pick position.
20. Place a globe valve in the bypass line, as shown in the example below.
23. Click the CADWorxP&ID tab and then click Valves - Regular
place check and gate valves around the pumps.
Each placement of a valve terminates the command. To recall the command and
continue placement, right-click anywhere in the drawing, and select Repeat
ICONREGVALVE.
57
Advanced Tutorial
24. After you have placed the valves, use the EDIT
command to assign the size and
specification properties as shown in the example below.
For more detailed command reference information, see "Valves Panel" in the CADWorx
P&ID User's Guide.
58
Advanced Tutorial
6. In the drawing, click the two gate valves, the control valve, and the instrument bubble and
leader line, and press ENTER.
The Write Block dialog box appears.
7. Click Pick point
.
Specify insertion base point.
8. Click the center of the control valve.
The Write Block dialog box appears.
9. Under Objects, click Retain if not defaulted already and then click OK.
10. Click the CADWorxP&ID tab and then click Menu Symbols
on the Setup panel.
Alternatively, type MENUSYMBOL, and press ENTER.
The Menu Maintenance dialog box appears.
11. Select Valves Other in the Section list, and click Add Item.
The Adding Item dialog box appears.
12. Define the options on the Break tab as listed below.
Click Browse, navigate to the [Product Folder]\P&ID\Support folder, and double-click the
CONTROL_ALT file.
Use the AutoCAD DIST command to calculate the distance from the left side of the left
gate valve to the right side of the right, and type that value in the Side 1 size box.
59
Advanced Tutorial
The Item Description list on the Menu Maintenance dialog box now includes the control
loop. The Preview window displays a graphical representation of the control loop, which is
identical to the one in your drawing on which this control loop item is based.
60
Advanced Tutorial
19. Check the data, and click OK.
22.
23.
24.
25.
26.
To ensure that there is only one row in the database for the multiple pLine segments of
the enter process line, use the Combine Lines
command on the Process Lines panel,
select the line to the left of the left-hand gate valve and then click all the segments to the right
of the left-hand gate valve.
Type CEDIT, and press ENTER. Alternatively double-click the entity.
Select P&ID entity.
Click one of the valves in the control loop.
The Editing Valve Component dialog box appears.
Type 4" in the Size box, and click OK.
Repeat steps 22 through 24 to change the size of the other two valves in the control loop,
adding Tags as needed.
Click Pneumatic
on the Instrument Lines panel. Alternatively, type PNEUMATICBIN,
and press ENTER.
Specify start point.
61
Advanced Tutorial
27. Follow the command prompts, and draw a pneumatic line from the LC-010 instrument bubble
on the horizontal tank to the top of the control valve actuator, as shown in the example below.
28. Draw a secondary line with a globe valve below the control station, as shown in the example
below.
29. Draw a control station on the line coming off the top of vessel V-010 so that the drawing looks
similar to the example below. You can use the Control Loop block or build the control station
from scratch.
30. Draw the flow control station on the line that goes into the right side of vessel T-001 so that it
looks similar to the example below.
62
Advanced Tutorial
5. Click Edit.
The Editing Embedded Instrument Component dialog box appears.
6. Type 001 in the Tag box, and click OK.
7. In Embedded Instruments, click Close and then click OK.
63
Advanced Tutorial
5. Click Valve Other
on the Valves panel. Alternatively, type ICONOTHERVALVE, and
press ENTER.
The Valves Other dialog box appears.
6. Select Relief, and click OK.
Pick position.
7. Place the valve at the top of the vertical line where the vertical and horizontal lines meet, as
shown in the example below.
The Editing Valve Component dialog box appears.
8. Click OK.
9. Place an instrument bubble on the relief valve, and tag the bubble RV-001.
Place instrumentation (on page 50)
10. Click Valve- Regular
on the Valves panel. Alternatively, type ICONREGVALVE, and
press ENTER and place a gate valve on either side of the relief valve.
11. Click Large
on the Text panel. Alternatively, type LARGETEXT and then press ENTER.
Text start point.
12. Click above the end of the process line coming from PCV-010, and type TO FLARE. Your
drawing should resemble the example shown below.
For more detailed command reference information, see "Valves Panel" in the CADWorx
P&ID User's Guide.
64
Advanced Tutorial
65
Advanced Tutorial
Add links
You will place three on/off arrows: one on the process line that runs from the left edge of the
drawing, and the other two on the process lines that run towards the right edge of the drawing.
1. Click the CADWorxP&ID tab and then click Links
on the Equip panel. Alternatively, type
ICONLINK and then press ENTER.
The Links dialog box appears.
2. Select Link From (type 1), and click OK.
Pick position.
3. Place the arrow on the line that runs from the left edge of the drawing to the left side of T-001.
Pick rotation.
4. Drag the mouse to the right (in the direction of the point of the arrow) so that the head of the
arrow points towards the horizontal tank.
5. Repeat steps 1 and 2 to place an arrow on each process line that runs towards the right edge
of the drawing, as shown in the example below.
66
Advanced Tutorial
6. Click Large
on the Text panel. Alternatively, type LARGEARROW, and press ENTER.
Pick insertion or point on polyline.
7. Click a point near the end of each process line in the drawing to place a flow arrow.
The flow arrow defaults to the end of the line, in the direction of the flow.
Placement of a flow arrow terminates the LARGEARROW command. To recall the
command and continue placement, right-click anywhere in the drawing, and select Repeat
LARGEARROW.
8. Click Tag Line
on the Process Lines panel. Alternatively, type TAGNUMBER and then
press ENTER.
Select a line entity to tag.
9. Click the process line you want to tag.
Pick position.
10. Click a point to define the location of the tag
Pick rotation.
11. Drag the mouse to define the orientation of the tag.
12. Repeat steps 8 through 11 to place tags on the remaining process lines, as needed. The
finished drawing should resemble the example shown below.
For more detailed command reference information, see "Links" in the CADWorx P&ID
User's Guide.
67
Advanced Tutorial
68
Advanced Tutorial
8. Select the line.
The Editing Line Component dialog box appears.
9. Type 6" in the Size box, 150-1010 in the Spec box, and click OK.
10. Click Links
on the Equip panel. Alternatively, type ICONLINK and then press ENTER.
The Links dialog box appears.
11. Select Link From (type 1), and click OK.
Pick position.
12. Place the link on the line just drawn, similar to the example below.
69
Advanced Tutorial
4. Double-click 10112.dwg.
The Insert Drawing Into Project Database dialog box appears.
5. Click Insert into DB.
The software inserts the drawing into the project.
6. Click Save
For more information, see "Database Structure" in the CADWorx P&ID User's Guide.
For more information, see "Database Structure" in the CADWorx P&ID User's Guide.
70
Advanced Tutorial
6. Move TAG_, FUNCTION_, LOOP_, AREA_, SERVICE_, and DESC_ to the Selected Fields
list as shown in the example below.
7. Click Next.
8. Accept the default selections that appear on the next page of the wizard, and click Finish.
71
Advanced Tutorial
The software displays the query results.
72
Advanced Tutorial
6. Click Next.
7. Select the Tabular layout, and click Next.
8. Accept the default selections that appear on the next page of the wizard, and click Finish.
The form, similar to the example below, displays.
73
Advanced Tutorial
6. Click Next.
7. Accept the default grouping levels, and click Next.
8. In the Column 1 list, select DWG_NAME, and click Next.
9. Select the Tabular layout and the Portrait orientation unless already selected, and click
Next.
10. Accept the defaults, and click Finish.
The report, similar to the example below, displays.
74
Advanced Tutorial
3. Locate the F-001 loop components, and add an A to the end of each of the tag numbers so
that they are 001A.
4. Click Save .
5. Navigate to the [Product Folder]\Tutorial\SampleProject folder, and double-click the 10100
drawing file.
6. Click Yes in the Synchronize dialog box.
The loop data has been changed in the drawing. The new loop number appears in red, the
system layer, informing you that a change has been made to the database.
Click the CADWorxP&ID tab and then click Change Att Layer
on the Text panel to
place the instrument tags back on the proper layer
. Alternatively, type CHANGEATTLAYER
on the command line and then press ENTER.
75
Advanced Tutorial
76
Index
A
T
Tag the process lines 36
B
Basic Tutorial 7
C
Change data within Microsoft Access 85
Create a form in Microsoft Access 81
Create a query in Microsoft Access 79
Create a report in Microsoft Access 83
Create embedded instruments 69
Create new blocks and symbols 64
Create relief valves 33, 70
D
Default project, forms, and queries 79
Define equipment tags 14
Draw connecting lines 30
Draw process lines 17, 49
E
Enter tag information for process lines 53
P
Place a nozzle 22
Place a pump 11, 45
Place a vertical vessel 10, 43
Place an exchanger 14, 48
Place instrumentation 23, 56
Place nozzles 55
Place on/off arrows 35, 76
Place the horizontal vessel 13, 47
Place valves and control valves 28, 60
Preface for CADWorx P&ID Tutorials 5
77