CADPIPE ISO

Document Sample
CADPIPE ISO Powered By Docstoc
					CADPIPE ISO
                                    Contents
STARTING .......................................1
Imperial and Metric ............................................................................... 1


Command Access............................................. 1
Repeated menu command ..................................................................... 2
Text Response and text trail ................................................................. 2
Toolbars ............................................................................................... 2
Keyboard entry for commands .............................................................. 4


CADPIPE Essentials ......................................... 4
Angle of rotation ................................................................................... 4
Status line Information .......................................................................... 4
Typical status line .................................................................................. 5
Correcting errors .................................................................................. 5
Picking points on the drawing ................................................................ 5
Intelligent Placement ............................................................................ 7
Managing your Projects ........................................................................ 7


Drawing Initialization...................................... 7

Drawing Procedures ........................................ 9

1. Place Equipment........................................ 10
Place Pump ......................................................................................... 10


2. Set the Defaults ........................................ 11
What are CADPIPE defaults? ...............................................................            12
Viewing your defaults..........................................................................       13
Current Settings .................................................................................    13
Reset your Defaults ............................................................................      19
System Defaults ..................................................................................    19


3. Set Toggles ............................................... 21
Display ................................................................................................ 21
Valve Stem ......................................................................................... 21
Tag .................................................................................................... 22
Bill of materials ................................................................................... 22
Shop/Field .......................................................................................... 23
Bolt type ............................................................................................. 23
Extended Ends .................................................................................... 24
Auto Save ........................................................................................... 24


4. Set the Isoplane ........................................ 25
CADPIPE’s Isoplanes........................................................................... 25


5. Draw the Routing Line ............................... 26
Options of the Routing Line command .................................................. 27


6. AUTO-ELBOW ............................................ 28

7. Placing Items on the Drawing ................... 29
Placing valves .....................................................................................    29
Placing flanges ....................................................................................    32
Placing fittings ....................................................................................   36
Placing Inlines .....................................................................................   38
Place Miscellaneous Blocks ..................................................................           39
Place BOM Information Blocks .............................................................              39


8. Dimensioning ............................................ 40
Iso Dimensioning .................................................................................      40
Dimensioning valves ............................................................................        45
Offset Dimensioning ............................................................................        45
Box Dimensioning ................................................................................       50


9. Placing Pipe .............................................. 53
AUTO-PIPE ......................................................................................... 53
Placing Pipe for Flanged Systems ......................................................... 54
Errors and possible problems .............................................................. 55
Place Pipe—Single Segments ............................................................... 55
Place Pipe—Bent Pipe.......................................................................... 56
10. Edit the Drawing ..................................... 57
Edit Routing Line ................................................................................. 58
Edit Fittings ......................................................................................... 59
Edit Text ............................................................................................. 60
Edit Tags ............................................................................................ 61
Edit Weight ......................................................................................... 61
Edit Shop/Field ................................................................................... 62
Edit BOM off items............................................................................... 64
Break pipe .......................................................................................... 64
Query ................................................................................................. 64


11. Annotate the Drawing ............................. 66
Real World Coordinates ....................................................................... 66
Place Text .......................................................................................... 67
Label routing line ................................................................................ 69
Date/Time stamp................................................................................ 70
Insert/update title block ..................................................................... 70


12. Automatic Bill of Materials ....................... 71

13. Balloons .................................................. 71

14. Plotting ................................................... 73

Getting Help .................................................. 74


BILL OF MATERIALS ........................ 74
Introduction .................................................. 74

Entering the Program .................................... 74

1. Report Option—BOM Selection Window ..... 75
Material Type Selection .......................................................................           76
Sorting Method ...................................................................................        76
Output Device Selection ......................................................................            77
Long Description .................................................................................        85
Sort by Revision Number .....................................................................             85
Weight ................................................................................................   85


2. Bill of Materials onto the Drawing ............. 85
Creating your own bill of materials area ............................................... 85
Placing your listing on the drawing....................................................... 87
BOM on drawing without weight information ....................................... 88


3. Database File ............................................ 88

BOM Sort Index ............................................. 89
SDX file format.................................................................................... 89


Customized BOM Short Description and Pipe
 Lengths ...................................................... 90
Short Description ................................................................................ 90
Pipe Lengths ....................................................................................... 90


Placing a Title Block on Your Drawing ........... 91


AUTOMATIC ISOMETRIC .................. 95
Introduction .................................................. 95

A Valid ISO Working Directory ...................... 96

The Prototype Drawing ................................. 96

The Automatic Isometric Drawing ................. 98
Views and planes ................................................................................ 99
ISO Log ............................................................................................ 101



CUSTOMIZING ............................. 105
Imperial and Metric ........................................................................... 105


Editing System Defaults .............................. 105
Edit Defaults File command ................................................................ 106
The ISODEF.LSP file .......................................................................... 107


Database Specific Defaults File.................... 112

Layers—ISOLAY.LSP .................................... 113
Reserved layers ................................................................................   113
Layers that can be customized ..........................................................           113
Changing a layer name ......................................................................       114
Changing the menu ...........................................................................      115
Adding your own layer ......................................................................       116


CADPIPE User Library File - ISOUSR.LSP ..... 118
BOM onto drawing—PRTBOM ............................................................               118
Examples in adding fields to your BOM onto drawing ..........................                      120
Valve drawing routines .....................................................................       123
Placing Routing Line Labels ...............................................................        127
Placing Coordinate Labels .................................................................        128
Custom Keyboard Commands ............................................................              128


Editing Menu Commands ............................. 129
Introduction ..................................................................................... 129


Custom Symbols—No Attributes .................. 133
Creating custom symbols ................................................................... 133


Custom Blocks-Inline Fittings & Fittings with
 Attributes ................................................. 137
Some CADPIPE examples .................................................................. 137
Add a description to ISOBLKX.LST .....................................................          138
Create the drawing files ....................................................................   139
Creating the custom fitting database table .........................................            140
Customizing the menu .......................................................................    142


Miscellaneous Blocks ................................... 143
Create Miscellaneous Blocks .............................................................. 143
Place Miscellaneous Blocks ................................................................ 144
Using What We Know ........................................................................ 146


Place BOM Info Blocks ................................. 148

Revision Cloud ............................................. 149

The Prototype Drawing ............................... 150

CADPIPE Slide Libraries .............................. 151

The BOM Template ...................................... 153

The Title Block ............................................. 153

Customizing the Date/Time Stamp .............. 153

Using CADPIPE Global Variables .................. 155


ERROR MESSAGES ....................... 161
General Errors ............................................. 161

Start-up Errors ............................................ 166

Database Errors .......................................... 167
CPSYS Errors ............................................... 168

Bill Of Materials ........................................... 168
Errors ............................................................................................... 168
Warnings .......................................................................................... 170


Query .......................................................... 171
Errors ............................................................................................... 171
Warnings .......................................................................................... 172


Global Bill Of Materials ................................ 172

AUTO-ISO .................................................... 173


Standard Prototype Drawing .......... 181
Layers ......................................................... 181
STARTING                                                                                          START-1




                                                                            STARTING
              This documentation has been written with a few basic premises. First, you must have a good
              working knowledge of AutoCAD. Second, for straightforward documentation, we use
              drive “C:” in our examples, and we begin from the root directory.

              Imperial and Metric

              Imperial units are used in all examples in the documentation. Metric measurements are given
              in parentheses when the unit of measure is critical to understanding a concept.

              The following chart shows imperial filenames and directories, and their metric equivalents:

              IMPERIAL        METRIC
              \CPTABLE        \CPMTABLE
              \CPISO          \CPMISO
              \ISO.DWG        \MISO.DWG
              ISODEF.LSP      MISODEF.LSP




Command Access

              You can use CADPIPE with a mouse, choosing all commands through the pull-down menus
              or toolbars. To reduce the complexity of demonstrating commands, we will direct users
              through the pull-down menu, and also place the appropriate toolbar button next to its
              corresponding command.

              For example, we may tell you to select [Gate] from the “PLACE”—”Valve” menu. You
              would pick “PLACE” from the top menu bar, pick “Valve” from the secondary pull-down,
              and then select [Gate] from the next menu (in this case, a dialog box).

              We will sometimes shorten this sequence by telling you to pick “PLACE” > “Valve” >
              [Gate].

              To change to the AutoCAD pulldowns, select [**ACAD**] from the “File” pull-down.




CADPIPE ISO                                                                              Command Access
START-2                                                                                      STARTING
             Repeated menu command

             If you selected a command from a pull-down menu or entered it at the command line, you
             can re-enter the last command by pressing <Return>, the same as any regular AutoCAD
             command.

             Text Response and text trail

             When we tell you to type in a response, the format is as follows:

      Prompt: RESPONSE <Return>

             All text that appears on the computer screen is set apart from the explanatory body copy:

      we use a different style of type. (Our comments are in brackets)

             Information of special note is italicized.
             Toolbars

             CADPIPE ISO 2000 has five different toolbars: Auto Commands, Settings Commands,
             Placement Commands, Edit Commands, and Isoplane Settings. These toolbars
             contain many commonly used commands found in the pull down menus. Figure A lists the
             CADPIPE commands associated with each ISO toolbar button:



                                                                                               Figure A


      Auto Commands Toolbar                         Settings Commands Toolbar

                  Auto-Pipe                                      Current Settings

                  Auto-Elbow                                     Set Size

                  Auto ISO                                       Set Line Designation

                  Auto Ballon                                    Show Settings

                  Auto BOM                                       Reset

                  UDE Out                                        Undo




Command Access                                                                             CADPIPE ISO
START-3                                                                      STARTING


Figure A cont.




        Placement Commands Toolbar       Edit Commands Toolbar

                   Place Routing Line              Edit Line Designation

                   Place Pipe                      Erase Fitting

                   Place Valve                     Copy

                   Place Fitting                   Move

                   Place Branch                    Edit Weight

                   Place Flange                    Database Editor

                   Place Inline                    Specification Generator

                   Place Symbol



        Isoplane Settings Toolbar

                   Left Hand                       Top Left Hand

                   Vertical Left Hand              Top Right Hand

                   Right Hand                      Normal

                   Vertical Right Hand             Help




CADPIPE ISO                                                          Command Access
STARTING                                                                                              START-4

              Keyboard entry for commands

              For a list of commands that you can enter through the keyboard, at the command prompt,
              type ?? <Return>:

              AB      AUTO-BOM                          QY       Query
              AD      AUTO-DIM                          RL       Place Routing Line
              AE      AUTO-ELBOW LR                     SC       Spec Check
              AP      AUTO-PIPE                         SF       Set Fitting Ends Type
              AT      Alternate Placement toggle        SG       Set Gasket
              CF      Copy Fitting                      SL       Set Line Number
              EF      Erase Fitting                     SO       Spec Override Toggle
              ET      Extended Ends                     SR       Set Rating
              IP      Isoplane Settings                 SS       Set Size
              MF      Move Fitting                      SW       Set Wall
              OV      Placement Override                SV       Set Valve End Types
              PP      Place Pipe                        UB       Undo Back

              To execute a command through the keyboard, type in the two characters (in bold) and then
              press <Return>.


CADPIPE Essentials
              Angle of rotation

              For angle of rotation, your system must be set to the AutoCAD defaults; that is,

              East 3 o’clock = 0°
              North 12 o’clock = 90°
              West 9 o’clock = 180°
              South 6 o’clock = 270°

              In general, you can enter all angles by dragging the rubber-band line in the direction you
              want and then digitizing any point.

              Status line Information

              The status line displays the current settings for line number, specification and size. It also
              indicates if Spec Check is on and if a weld gap is set.




CADPIPE ISO                                                                               CADPIPE Essentials
START-5                                                                                            STARTING

             The status line supports a minimum of 38 characters for CADPIPE information (this is
             resolution dependent: the higher the resolution supported by your monitor and graphics
             card, the more characters you will have). Refer to your AutoCAD manual for more details
             on configuring the status line.

             Typical status line

      PW100 AAA1 6 SPEC WGAP
      Line Number Spec Size Spec Check on weld gap set

             The status line display can be toggled off by selecting [Status Line] from the “TOGGLES”
             pull-down.

             Correcting errors

             If at any time during your drawing session you are using a CADPIPE command and make a
             mistake, use the CADPIPE [Undoback] command to undo the drawing back to the begin-
             ning of that CADPIPE command. Pick [Undoback] from the “EDIT” menu or type UB
             <Return> at the command prompt.

             To undo an AutoCAD command, type U or UNDO at the command prompt. If you use the
             CADPIPE [Undoback], you will undo all commands subsequent to the last CADPIPE
             command.

                 For AutoCAD commands type U or UNDO
                 For CADPIPE commands pick [UNDO BACK] or type UB <Return>

             Picking points on the drawing

             OSNAPS
             When you place items on your drawing you frequently use AutoCAD’s OSNAP OVER-
             RIDES.

             To place an item on a routing line, use OSNAP NEAR; to place items fitting-to-fitting, use
             OSNAP NODE; to place items at an intersection, use OSNAP INTersect; to place items
             at the end of a line, use OSNAP ENDPoint.

             To access the OSNAP modes, select the appropriate OSNAP from the “Object Snap” tool
             bar or from the OSNAP menu that pops up when you press <Shift> and the right button on
             your mouse.

             Insertion Points
             The “insertion point” is the point of the item that is placed at the location you digitize on your
             screen. If your insertion point is set to the end of a fitting, the location you pick on your
             screen is where


CADPIPE Essentials                                                                              CADPIPE ISO
STARTING                                                                                                 START-6
              one end of the fitting is placed. Your answers to the prompts determine the center point and
              the other end of the fitting.

              Insertion points are shown on the menu by a small “x” marking the center, if the item can be
              placed either at the center or the end. If the item can only be inserted at the end, no insertion
              point marker is shown.

              Elbows, crosses, laterals, tees, and custom fittings can be inserted at the end, as well as the
              center of the fitting.

              The insertion point for tag text is the middle of the text. If the text is one line, then your
              insertion point is the middle of the line. If it is two lines, your insertion point is in the middle
              between the two lines.

              Attribute blocks
              To make accurate picks on the drawing, you must sometimes pick CADPIPE attribute
              blocks. These blocks store information about the valve, fitting, or pipe (such as size, line
              number, item type, length, etc.). CADPIPE uses three types of attribute blocks:

              V-node: stores dimension and engagement information. It is in the shape of a “V” and is
              frequently found beneath weld dots.

              Broken-circle: stores information on valves, pipes, and fittings that is used by the bill of
              materials program as well as routines like Query.

              Gasket “tick”: stores information on the gasket and bolt.




                           “Broken-circle” attribute
                                 for a valve




                                                                   Gasket node or “tick”



                                                         “V-nodes” for valve




CADPIPE ISO                                                                                  CADPIPE Essentials
START-7                                                                                             STARTING

                  Intelligent Placement

                  For many placements, it is not necessary to set the insertion point or rotation angle; CAD-
                  PIPE sets them for you. CADPIPE also ensures that ends are mated correctly.

                  In cases where you do not want CADPIPE’s enhanced placement to update settings, toggle
                  the Placement Override Toggle on. Type OV at the command prompt or select the
                  Placement Override toggle from the [System Defaults] command. When you place a
                  fitting the program updates the size and line designation only. Two exclamation marks (!!) at
                  the beginning of every prompt indicates that the Placement Override Toggle is on.



                  Managing your Projects

                  When you load a CADPIPE program you automatically enter the Project Manager. You will
                  initially create and organize your drawings in this program. Refer to the section “Project
                  Manager (Windows)”.



Drawing Initialization
                  When you begin a drawing for the first time, CADPIPE prompts you through a “drawing
                  initialization procedure.”After CADPIPE has finished loading, the Drawing Initialization
                  Required dialog box appears.




         Job number <None>:
         (This is the job number that is used by the Global Bill of Materials program.)




Drawing Initialization                                                                           CADPIPE ISO
STARTING                                                                                                START-8




      Enter revision number:
      (Enter your drawing revision number; this becomes the default when you place the title block.)

      Enter default scale factor <1.0000>:
      (This is the universal scale factor which is stored with your drawing. This scale factor sets the scale at
      which your valves, fittings, and flanges are drawn. You can override it any time with the [System De
      faults] command.)


              If you do not see the “CADPIPE Version” dialog box at the end of initialization, re-load the
              ISO program. You can turn off the “CADPIPE Version” dialog box and have the version
              message appear at the command prompt (refer to Customizing). You must initialize every
              drawing once. You should not cancel during the initialization.




CADPIPE ISO                                                                                 Drawing Initialization
START-9                                                                                          STARTING



Drawing Procedures
                 This is an introduction to basic drawing procedures. We examine each point in more detail
                 in the sections that follow.

Place equipment         1 Draw the equipment and reference grids (for example, your pumps, tanks,
                        vessels, pipe racks, etc.)

Set the defaults        2 Set the current defaults including the line number, material specification, size,
                        rating, schedule, ends, flange face and database. If Spec Check is on, many of these
                        are set automatically.

Set toggles             3 Set any relevant toggles.

Set isoplane            4 Set the isoplane.

Routing line            5 Draw the pipe routing line using the [Routing Line] command. Your default line
                        designation is automatically attached to this line.

Place Elbows            6 AUTO-ELBOW the line.

Place items             7 Place items (valves, flanges, fittings, miscellaneous blocks, BOM Info blocks) on
                        the routing line.

Dimension               8 Use the dimensioning features to dimension the drawing:

Place Pipe              9 Place pipe on the drawing using AUTO-PIPE or [Place Pipe].

Edit                    10 Clean up your drawing using CADPIPE editing features.

Annotate                11 Annotate the drawing.

Bill of Materials       12 Extract the bill of materials, and place it on your drawing.

Place Balloons          13 Place the balloons on your drawing using Auto-Balloon or manual placement.


Plot                    14 Plot your drawing.




Drawing Procedures                                                                            CADPIPE ISO
START-10                                                                                               STARTING



1. Place Equipment
                   Equipment are symbols only, and do not have intelligence. They are not listed in the bill of
                   materials unless you attach a BOM Information Block to them (see “Place BOM Info
                   Blocks”).

                   Place Pump

                   “Place” > “Equipment” > [Pump]

                   We will demonstrate how to place a centrifugal pump. First, set the isoplane to right-hand
                   (R.H.). Pick the right-hand icon from the Isoplane toolbar or from the “SETTINGS” —
                   “Isoplane” menu. Now, pick the [Pump] command:

           Command: <<PLACE PUMP>>

           Inlet nozzle -
           <6"> <150#> flange thickness (including face) <1.0000>

           Enter actual thickness <1.0000>: <Return>

           Inlet size <6">         (Select the outlet size from the dialog box.)

           Outlet nozzle -
           <4"> <150#> flange thickness (including face) <0.9400>

           Enter actual thickness <0.9400>: <Return>

           Digitize center of pump <Exit>::<P1> (Refer to Figure 1.)

           Angle to inlet: <P2> (A rubber-band line appears to help you select the angle of the inlet.)

           Angle to discharge nozzle: <P3> (Again, drag the rubber-band line in the desired direction.)


Figure 1



                      <P3>
                                                        <P4>




              <P2>


                                                    <P1>


CADPIPE ISO                                                                                  1. Place Equipment
START-11                                                                                            STARTING

       Digitize butt of nozzle along pump outer rim: (P4) (This positions the discharge nozzle at
                                                         the rotation you want the nozzle to be in,
                                                        along the outer rim.)

       Digitize base point for pump location <Leave>:: <Return>
                                                       (You can move the pump at this prompt.)

       Digitize tag location <None>:: (Pick the location for the pump tag. The insertion point is the
                                    center of the text.)

       First line: Place <Return>

       Second line: Pump <Return>

       Third line: Routine <Return>

       Digitize center of pump <Exit>:: <Return>

       Command:

                Nozzles
                Nozzles are not included in the bill of materials, but to enable the system to draw the nozzle
                correctly, you must set the default size, gasket thickness, and flange face type for each
                nozzle. You are also given the choice of entering a flange thickness or accepting the
                ANSI default by pressing <Return>.

                Although nozzles are not included in the bill of materials, they are placed with a gasket that
                contains bolt information. Consequently, you should toggle the BOM off, if you are not
                going to place a mating flange to the nozzle.


2. Set the Defaults
                CADPIPE has three commands that control your default settings: [Current Settings],
                [System Defaults] and [Edit Defaults File]. Each command controls a different aspect of the
                CADPIPE defaults. We will briefly describe each command below and examine Current
                Settings and System Defaults in detail. The [Edit Defaults File] command is discussed in
                Customizing.

                Edit Defaults File
                “CUSTOMIZING”—[Edit Defaults File]

                When you start a drawing session, all the defaults are set to the original CADPIPE start-up
                defaults. These defaults apply to all drawings. You can change the CADPIPE start-up
                default settings by modifying the defaults file, ISODEF.LSP (MISODEF.LSP), through the
                [Edit Defaults File] command. This is explained in the Customizing chapter.




2. Set the Defaults                                                                              CADPIPE ISO
START-12                                                                                           STARTING

              System Defaults
              “SETTINGS”—[System Defaults]

              The [System Defaults] command allows you to change some of the CADPIPE start-up
              defaults for a drawing session only. Changing the defaults through this command will not
              modify the defaults file.

              Current Settings
              “SETTINGS” > [Current Settings]

              The [Current Settings] command controls your drawing defaults for a current drawing
              session.

              What are CADPIPE defaults?

              CADPIPE ISO has over 20 defaults, a number of which are specification defaults; that is,
              defaults that can be set through the specification file. If you have the Spec Check command
              off, you can change any default, including the specification defaults, at any time during a
              drawing session.

              With Spec Check on, many of the defaults—such as rating, which we use as an example
              below—are set automatically through the specification file (the specification file is created
              through the Specification Generator—see the Specification Generator). However, others,
              such as size and insertion points, must still be set by you whether or not Spec Check is on.

              Why do defaults make your work easier with Spec Check on or off? It’s quite simple. The
              default feature allows you to set a value (for size, rating, face type, schedule, and many
              others) that the system remembers until you change that value.

              A typical example is the rating. If you pick a rating of 300#—or if the specification sets it for
              you automatically—the 300# rating becomes your default rating. This means that each time
              you select a valve or flange to place on the drawing, that valve or flange will have a rating of
              300#.

              To change the rating with Spec Check off, you merely pick a new rating, say 600#. Then,
              the next valve or flange you place will have a rating of 600#. With Spec Check on the rating
              will change if you change to a size range that has a new rating specified or if you change
              specifications.




CADPIPE ISO                                                                                2. Set the Defaults
START-13                                                                                          STARTING

                Viewing your defaults

                To view most of your current settings, select [Show Settings] from the “SETTINGS”menu:




                Current Settings

                “SETTINGS” > [Current Settings]

                Before you place any items on the drawing, you would normally set many of the current
                defaults in the “Current Settings” dialog box.

                In the “Current Settings” dialog box, you control the following for your drawing session:

                line number/material spec               weld gap
                database type                           rating
                Spec Check On/Off                       schedule
                Spec Override On/Off                    fitting ends
                size                                    valve ends
                gasket thickness                        flange face




2. Set the Defaults                                                                            CADPIPE ISO
STARTING                                                                                            START-14




              Line Designation
              The line designation consists of the line number and the material specification. CAD-
              PIPE has a “filler” default line designation <0123456789ABCDE — ABCDEFGH> which
              is set each time you start a drawing (new or existing).

              A line designation is attached to all items that you place on your drawing (unless your bill of
              materials is toggled off) and is used by the bill of materials program as well as the specifica-
              tion file.

              In CADPIPE, you draw routing lines for the route that the pipe will follow. A line designa-
              tion is always attached to your routing line; if you do not set the line designation, your
              routing line will be drawn with the default designation.

              There are two ways to enter your line designation. You may type in a new line designation,
              or digitize an object on your drawing to set the designation to that of the item you selected.

  Type line   In the “Current Settings” dialog box, click in the “Line Number” field and type in your new
designation   line number. Then click on a material spec in the “Spec List”.



CADPIPE ISO                                                                                2. Set the Defaults
START-15                                                                                             STARTING




Digitize        In the “Current Settings” dialog box, click on the “Digitize Object” button. Select any fitting,
                valve, routing line or pipe that was placed with the line designation you want to set as your
                default. This changes your current line designation to that of the object you select. Pipe can
                be selected at any location while fittings or valves can be selected at the insertion points or
                weld dots.


Two commands            There are two commands that set the line designation. You can set the line
set designation
                        designation through the [Current Settings] command and then draw a routing line.
                        Or, you can set the designation with the Designation option of the [Routing Line]
                        command.

                Changing Databases
                If you want to change to another database, click on the “Database” button. A dialog box
                displays the databases you have installed. Highlight a database and click on “Ok”.

                If you have Spec Check on, CADPIPE automatically changes your database according to
                your spec. As well as handling specifications of different databases, the system will allow
                you to have more than one database defined in one material spec.

                Spec Check Command
                The “Spec Check” option in the “Current Settings” dialog box “automates” much of the
                work in setting CADPIPE defaults, and provides restraints on what you can place on a
                drawing. To turn Spec Check or Spec Override on, click in the box next to “Spec Check”/
                “Spec Override”. An “x” or “3”appears in the box.




2. Set the Defaults                                                                              CADPIPE ISO
STARTING                                                                                           START-16
              When you have Spec Check on, your specification defaults are set automatically to suit your
              piping specification requirements.

              For example, if your specification has defined butt welded for fittings 3" to 24", you can
              place any butt welded fittings in that size range; however, you would not be able to place
              socket welded or threaded fittings without changing to a size for which they are legal
              or using Spec Override.

              When you have Spec Check on, you can still place any out-of-spec or alternate item using
              Spec Override or the Alternate Fitting toggle.

              If you turn Spec Check on, many of the defaults in the “Current Settings” dialog box are
              grayed out. This means the spec will set these defaults for you unless you use the Spec
              Override command.

              If you turn Spec Override on, all the defaults are made available so you can place a series
              of fittings that are out-of-spec. After you have placed the out-of-spec items and return to
              the “Current Settings” dialog box, Spec Override is automatically turned off and Spec
              Check is active again.

              So that you can easily identify how your fittings were placed, CADPIPE fitting node blocks
              (node with a broken circle) and gasket blocks appear in different colors, depending on the
              state of Spec Check. If your Spec Check is on for a valid spec, these blocks appear the
              same color as your routing lines. If you have set Spec Override, these blocks appear
              yellow—on layer CPLPOVR. If your Spec Check is off, they appear red—on layer
              CPLPOFF.

                                    Size
                                    Keyboard: SS

                                    To change your current size, click on the “Size” button in the “Current
                                    Settings” dialog box. Click on the size you want in the “Select Size”
                                    dialog box. Click on “OK”.

                                    CADPIPE uses the default size to read the appropriate database
                                    table in order to draw the item you select.

                                    When you have Spec Check on, size is an important default that, in
                                    effect, can set other defaults. If your size change takes you into a new
                                    “size range” that has defaults defined in the specification (for example,
                                    the range 3/4" to 2" might be socket welded, with all the
                                    associated defaults for pipe, flanges, fittings, and valves), the relevant
                                    specification defaults will all be set automatically when you pick the
                                    new size.




CADPIPE ISO                                                                               2. Set the Defaults
START-17                                                                                             STARTING

Size and        CADPIPE prompts you for an outlet or branch size when you place a reducing fitting. The
branching       size you pick for your reducing branch fittings (reducing tee, ‘olets, reducing lateral, reduc-
fittings        ing cross) will not change your default; however, reducers, swages, reducing elbows, and
                reducing “inline” fittings will change your default.

                Gasket thickness
                Keyboard: SG

                                                        To change the current gasket or lining thickness, click
                                                        on “Gasket/Lining” in the “Current Settings” dialog
                                                        box.

                                                        Click in the “Gasket Thickness” field. Type in a
                                                        new thickness in inches or millimeters. Click on “Ok”.

                                                        You can also set the the gasket thickness while in the
                                                        flange placement command.

                CADPIPE automatically places a gasket with each flange. The Bill of Materials program
                ensures that duplicate gaskets are not counted.

                If the fitting ends are flanged, three more defaults are set: compressed gasket thickness,
                lining thickness and compressed lining thickness.

                CADPIPE takes the gasket thickness into account when placing flanges to give you accu-
                rate pipe cut lengths, and also when dimensioning valves.

                Rating
                Keyboard: SR

                In the “Current Settings” dialog box, you can set
                separate ratings for fittings, valves and flanges. This is
                your general rating for these items. To set a separate
                rating for valves, you must pick the valve rating after
                you pick the flange or fitting rating.

                You can override this general rating for specific valves
                and flanges by setting the rating for these items through
                the valve or flange placement commands. (See the
                section on placing valves, flanges and in-lines later in
                this chapter.)




2. Set the Defaults                                                                               CADPIPE ISO
STARTING                                                                                          START-18

                                  Schedule
                                  Keyboard: SW

                                  Click on “Schedule” in the “Current Settings” dialog box.

                                  Select the wall thickness you want in the “Select Schedule” dialog box.
                                  Click on “OK”.

                                  The default schedule is attached to all butt welded fittings and to pipe,
                                  swages, and nipples.

                                  Fitting and valve end type
                                  Fitting Keyboard: SF
                                  Valve Keyboard: SV

                                   Click on “End Type” in either the Fitting or Valve Specification section
              of the “Current Settings” dialog box.

              Click on the end type you want in the “Select End”
              dialog box. Click on “OK”.

              In the “Current Settings” dialog box, you can set
              general end types for fittings and valves.

              You can override this general end type for specific
              valves and fittings by setting the end type for these
              items through the Valve or Fitting placement com-
              mands. (See the section on placing valves, and fittings
              later in this chapter.)

              For information on flanged fittings see “Placing flanged
                                fittings” later in this chapter.

                                 Flange type
                                 Click on “End Type” in Flange Specification section of the “Current
                                 Settings” dialog box.

                                 Click on the end type you want in the “Select Flange Type” dialog
                                 box.Click on “OK”.

                                 You can also set the end type while in the flange placement command.

                                 If you select Lap Joint, you must also select a stub end and lap joint
                                 flange type. You can also enter a stub end length and weight.



                                                                                         2. Set the Defaults
CADPIPE ISO
START-19                                                                                                 STARTING
                Reducing flange
                To have a reducing flange as your default, click on the box beside “Reducing Flange” in the
                “Current Settings” dialog box. An “x” in the box indicates that the Reducing Flange toggle is
                on.

                Reset your Defaults

                “SETTINGS” > [Reset]

                This command lets you set your defaults to those of an object that you digitize on your
                drawing, or to Reset to the CADPIPE original system defaults.

                The [Reset] command can set the universal scale factor to that of an item you select. This is
                very useful when you edit Automatic ISO’s, vents and drains or any item that was drawn at
                a non-standard scale.

                You can also use the [Reset] command to set the system to a new specification if you have
                Spec Check on (because it sets your line designation to that of the object you select).

                The number and type of defaults that are set depend on the information stored with the
                object that you pick. If you pick a valve, the fitting type is not reset, but the rating is reset.
                Not all of the defaults that are listed are necessarily reset.

                System Defaults

                “SETTINGS” > [System Defaults]
                                                                         The purpose of the [System Defaults]
                                                                         command is to give you control over
                                                                         many of the default values found in the
                                                                         defaults file (ISODEF.LSP,
                                                                         MISODEF.LSP). However, any
                                                                         modifications you make to these start-
                                                                         up defaults will only apply to the
                                                                         current drawing session.

                                                                         Click on the default you want to
                                                                         change. For some defaults you
                                                                         click on a new setting; for others, you
                                                                         type in the new setting.




2. Set the Defaults                                                                                  CADPIPE ISO
STARTING                                                                                         START-20
              Click on the “Details” button for a detailed description of each default. We will describe
              Option 16, Language Usage, here because it does not have a details button.

              When you have completed your modifications, click on “Ok” to accept the changes.




              Language Usage
              With this option, you can change your prompts to another language. The Language File
              dialog box lists the languages available (English and French are provided). Select the
              language you want touseand click on “OK”. The CADPIPE prompts will then appear in the
              language chosen.

                      CADPIPE offers two language files: ENGLISH.ISO and FRENCH.ISO. To create
Create your own
language file         your own language file, say Russian, you would copy ENGLISH.ISO to a new file
                      named RUSSIAN.ISO. Create this file in your CADPIPE Support directory
                      (\CPACADW for Windows) and load it into a text editor.

              In the language file, you will see Generic commands at the top of the file under the heading
              #_Commands. The Russian specific commands are under the heading #_Russian specific
              commands.

              In the Generic commands delete the text to the right of the equals sign (=). Now, copy
              the text to the right of the equals sign (=) from the Russian specific commands to the
              corresponding line under the Generic commands.




CADPIPE ISO                                                                              2. Set the Defaults
START-21                                                                                             STARTING

                 The AutoCAD commands follow the Language specific commands in the file. You can
                 translate the AutoCAD prompts to the right of the equals sign (=) if you are running, say,
                 Russian AutoCAD instead of English AutoCAD.

                 CADPIPE General prompts and error messages follow the AutoCAD commands. You can
                 translate the text to the right of the equals (=) sign. Do not modify \n.

                 When you next select the “Language Usage” option in [System Defaults], “Russian” will be
                 listed in the dialog box.


3. Set Toggles
                 Display

                 “Toggles” > [Display]

                 The Display toggle turns off the CADPIPE layers (CPRT, CPLP, CPLPOVR and
                 CPLPOFF) so you can see fittings, valves, dimension lines and other piping elements more
                 clearly during your drawing session.

                 Remember to turn the toggle on again so that additional fittings, pipe and other piping
                 elements are placed on the correct layer and so that CADPIPE can find the attribute
                 blocks, which are critical to the program. This toggle is reset each time you begin a drawing
                 session.

                 Valve Stem

                 “Toggles” > [Stem]

                 Start-up setting—On

                 The Valve Stem toggle sets whether a stem is included when you place valves. This is a
                 three-way toggle between On, Off and CVs.

                 When the toggle is on, a stem is placed with all valves that have a stem defined in the
                 database tables. CADPIPE also gives you the option to exit without placing the stem.

                 With the Stem toggle set to CVs, an operator is placed with all control valves.




3. Set Toggles                                                                                     CADPIPE ISO
STARTING                                                                                          START-22

              With the Stem toggle off, you are not prompted for the stem or operator on valve placement
              or given operators with control valves. You can place a stem later using the [Handwheel]
              command in the “Valve Placement” dialog box.

              Tag

              “Toggles” > [Tag]

              Start-up setting—Reducing Only

              The Tag toggle designates whether you are prompted for a tag number when you are
              placing valves and reducing fittings. This toggle has three settings:

              OFF: you are not prompted for the tag location for any item.

              Reducing Only: you are prompted for a tag location for PSV valves and control valves
              (but no other valves), reducing fittings, miters, bends, inserts, ‘olets, and traps.

              ON: you are prompted for a tag location when placing valves, as well as the items included
              in “Reducing Only”.

              On the bill of materials each tagged valve is listed separately with its tag.

              You can add or change tags for any item using the [Tag] command in the “EDIT” menu.

              Bill of materials

              “Toggles” > BOM

              Start-up setting—On

              Use this toggle to distinguish between new and existing piping.

              Items you place with the BOM toggled off are not reported in the bill of materials and
              appear on different layers from BOM ON items. Their default linetype is “Hidden”.

              When you have the BOM toggled off, CADPIPE turns Spec Check off. CADPIPE does
              not check the specification when you place items with the BOM toggled off.

              You can change items that you placed with your bill of materials toggled on to “BOM OFF”
              (Existing) through the [BOM Off Item] command in the “EDIT” menu.




CADPIPE ISO                                                                                   3. Set Toggles
START-23                                                                                              STARTING

                 Shop/Field

                 “Toggles” > [Shop]

                 Start-up setting—Off

                 CADPIPE marks all items placed on the drawing with a supply type. The Shop/Field toggle
                 sets whether welded piping, valves, and fittings are tagged in the bill of materials as field or
                 shop.

                 The bill of materials marks each item with an “F” or “S” according to the item supply toggle.
                 The shop and field items can also be printed separately.

                 Optimizing the Shop/Field toggle
                 You can modify the Field Valve, Gasket, Bolt toggle in the defaults file to optimize the Shop/
                 Field toggle in the “TOGGLES” menu.

                 The Field Valve, Gasket, Bolt toggle controls where your valves, gasket and bolts are sent
                 separately from the rest of your fittings.

                 For example, you can set the Shop/Field Toggle to Shop, thereby directing all fittings to the
                 shop. You could then set the Field Valve, Gasket, Bolt toggle to direct all valves, gaskets
                 and bolts, to the field. In so doing, you may have very little editing to do when you are
                 finished the drawing.

                 If you only need to change the setting of the Field Valve, Gasket, Bolt toggle for the duration
                 of the drawing session, use the [System Defaults] command. To change the setting for every
                 drawing session use the [Edit Defaults File] command.

                 Bolt type

                 “Toggles” > [Bolts]

                 Start-up setting—Stud

                 The Bolts toggle sets the type of bolts to be used with flanges and reported in the BOM.
                 The bolt types available are stud, machine and custom.

                 Stud bolt and machine bolt lengths are all to ANSI standards. The stud bolt and machine
                 bolt lengths can be modified in the database.




3. Set Toggles                                                                                    CADPIPE ISO
STARTING                                                                                        START-24


              Extended Ends

              “TOGGLES” > [Extended Ends]

              Start-up setting—Off

              When this toggle is on fittings that have extended ends database tables are placed with
              extended ends. Extended Ends database tables are not supplied with CADPIPE. However,
              you can create your own Extended Ends tables. Refer to the Database Editor
              documentation.

              After you have built Extended Ends tables in some basic sizes, you can place Extended
              Ends fittings.

              To place Extended Ends items, you must first turn the Extended Ends Toggle on. Then pick
              the fitting or valve from the Placement dialog box. The program places the extended ends
              item that is defined in your database tables.

              If Extended Ends is set as the default in the specification, and Spec Check is on, Extended
              Ends fittings are placed. You do not have to turn the Extended Ends Toggle on.

              Likewise, if the Extended Ends Toggle is turned on in the defaults file (ISODEF.LSP), the
              Extended Ends Toggle is on every time you start a drawing.

              Auto Save

              “Toggles” > [Auto-Save]

              When this toggle is on, your drawing is saved automatically at a specified interval. The
              default time interval is every 30 minutes. You can change the length of time between saves
              for your current drawing session through the [System Defaults] command. You can
              change the length of time between saves for all drawing sessions through the [Edit Defaults
              File] commands in the “CUSTOMIZING” menu.




CADPIPE ISO                                                                                 3. Set Toggles
START-25                                                                                           STARTING




4. Set the Isoplane
                CADPIPE’s Isoplanes

                CADPIPE has seven Isoplanes:

                · L.H. (left hand)
                · R.H. (right hand)
                · TOP L.H. (top left hand)
                · TOP R.H. (top right hand)
                · VERT. L.H. (vertical left hand)
                · VERT. R.H.” (vertical right hand)
                · Normal (the cross hairs will remain set to the isoplane you were in before you changed to
                  Normal.)

                These isoplanes set your cross-hairs, set the text orientation, affect how components are
                drawn, and indirectly affect the orientation of your automatic balloons.

                You can place valves, elbows, tees, and pipe without setting the isoplane, but we recom-
                mend that you always set the plane correctly.

                It is important to set the isoplane before placing fittings because when you place balloons
                using AUTO-BALLOON the balloons are placed in the isoplane in which the fitting was
                originally placed.

                Setting the isoplane
                To set the isoplane before you enter a command:

                · type IP <Return> at the command prompt, or
                · select [Isoplane] from the “SETTINGS” menu, or
                · select the isoplane icon from the “Isoplane Settings” toolbar.




4. Set the Isoplane                                                                            CADPIPE ISO
STARTING                                                                                          START-26

              Setting isoplanes while placing items
              While placing some items, your prompt may end with two colons (::). For example, when
              you place an elbow,

              Digitize center of fitting <Exit>::

              The two colons mean that you may change your current isoplane without exiting the com-
              mand. To change isoplanes:

              Select the isoplane icon from the “Isoplane Settings” tool bar on your screen.

              If you change isoplanes within a command, when you leave the command CADPIPE resets
              your current isoplane to the plane its was before you entered the command.

              If you want to draw in the Standard plane, type SNAP <Return> and then S <Return>
              for Style. You are given a choice of S for Standard or I for Isometric. Choose S for Stan-
              dard. Repeat the process to return to the Isometric planes, picking I. This is an AutoCAD
              command.


5. Draw the Routing Line
              “PLACE” > [Routing Line]
              Keyboard: RL

              CADPIPE needs a routing line for each pipe run. A routing line is a single “polyline”—if
              you are unfamiliar with this word, refer to your AutoCAD manual. With the [Routing Line]
              command, you can place horizontal, vertical and rolled routing lines.

              When you start your routing line, CADPIPE places a vertex at the start point. When you
              end your routing line, CADPIPE places a vertex at the end point. Also, every time you
              change direction, CADPIPE adds a vertex at that point.

              Points to remember when drawing and editing routing lines:

              1 Use the CADPIPE [Routing Line] command. Do not use the LINE or PLINE com-
              mand in AutoCAD for drawing the routing line.

              2 Generally you should draw your routing lines with ORTHO mode on; this will ensure that
              your line segments are at standard isoplane angles. You will also find drawing the routing line
              easier with your GRID and SNAP on.

              3 Set the line designation using the Designation option in [Routing Line] or the [Current
              Settings] command before drawing the line.

              4 The routing line must be one continuous PLINE.

CADPIPE ISO                                                                         5. Draw the Routing Line
START-27                                                                                           STARTING


                Options of the Routing Line command

                The suboptions in the [Routing Line] command give you considerable control over your
                routing lines through the manipulation of vertices; but keep in mind that you should proceed
                carefully, one vertex at a time.

                Editing the routing line
                The Pedit option is similar to AutoCAD’s PEDIT command, but with CADPIPE enhance-
                ments. The Pedit option allows you to edit an existing routing line. A prompt showing the
                current vertex; the total vertices, and the X and Y coordinates is displayed on the line
                above the Pedit sub-options menu.

                 When you select a routing line to edit, your view of the drawing
                  will change to include the complete routing line.

                To select a suboption, type in the first character of the option name followed by <Return>.
                To select the ## option, enter a number and press <Return>.

                ## . This symbol means that you can enter a number to position the “X” marker on the
                routing line vertex you want to edit.

                Next and Last move the marker in the same direction that the routing line was created.

                Previous and First operate in the opposite direction that the routing line was created.

                Join two routing lines
                The Join option joins routing lines that are crossing or touching end to end. The line designa-
                tion is taken from the routing line that you pick first.

                Change the line designation
                Use the Designation option to change your line designation while in the [Routing Line]
                command.




5. Draw the Routing Line                                                                       CADPIPE ISO
STARTING                                                                                            START-28



6. AUTO-ELBOW
              “AUTO” > [Elbow LR] or [Elbow SR]

              Once you have drawn your routing line, place your elbows with AUTO-ELBOW.

              Using AUTO-ELBOW, you can place short or long radius 90° elbows between start and
              end points that you pick on a routing line (or you can select the “All” option and place all the
              elbows on a line). You can also place socket welded, threaded, and flanged elbows auto-
              matically.

              If you AUTO-ELBOW every segment on your routing line, CADPIPE places a 90° elbow
              at every new segment. CADPIPE lets you select start and end points; that is, you do not
              have to AUTO-ELBOW an entire routing line.

              When CADPIPE places these elbows it makes a “best guess” choice for the isoplane.
              Although you do not have to set the isoplane to place an elbow (merely toggle your
              ORTHO mode off), you should set the plane correctly so that your balloons appear in
              the correct plane if you run AUTO-BALLOON.

              You can place elbows individually by picking [LR 90] or [SR 90] from the “PLACE”—
              “Fitting” menu.

              When AUTO-ELBOW scans your routing line, or portion of it, it checks every vertex to
              see if an item, such as another elbow or relief valve, is already placed there, and if so, skips
              that vertex.




CADPIPE ISO                                                                                 6. AUTO-ELBOW
START-29



7. Placing Items on the Drawing
                After you have placed your equipment, set the defaults, drawn your routing lines and placed
                your elbows, you can place valves, flanges, and your other fittings.

                Placing valves

                “PLACE” > [Valve]

                When you place a valve with CADPIPE, the program allows you to place flanges, gaskets
                including bolt information, and a handwheel at the same time that the valve is placed.

                Before you place a valve for the first time, you must set the size.

                If you are not spec driven, then you must set the defaults specific to valves either in the
                “Current Settings” or the “Valve Placement” dialog boxes.

                Select the “Valve” command, and you will see the “Valve Placement” dialog box:




                In this dialog box you can set all the relevant valve defaults if you have not already done so
                through the [Current Settings] command.

7. Placing Items on the Drawing                                                                   CADPIPE ISO
STARTING                                                                                            START-30
              Valve Ends
              Click on “Set Ends” and you will see a list of available end
              types.

              When a flanged valve (FF, RF, RTJ) is chosen, the face
              type only applies to valves, and not the flanges. If the
              insertion point of the valve is set to the butt of the flange
              and the current valve type is a type other than flanged,
              CADPIPE automatically lets you insert that valve from the
              face of the valve.

              If you select a threaded or socket welded valve, you must
              change the rating to suit the valve end type; if you do not,
              when you attempt to place the valve CADPIPE gives you
              an error message telling you that the rating is incorrect.

              If you want to place a valve with two different end types,
              say, socket welded x threaded, select “Custom”. You will
              be prompted for an inlet and an outlet end. When you
              specify your ends remember that you need the relevant
              database table to place the valve.

              Rating
              If you click on “Set Rating” you will see a list of available
              ratings. Selecting one of these ratings can set a valve rating
              that is different from the general rating.

                                                              Valve Type
                                                              For certain
                                                              valves you have to change the Valve Type. For
                                                              example, the default gate valve type is “C” for
                                                              regular pattern. However, for threaded and
                                                              socket welded valves, the default is a hyphen
                                                              (-), for unspecified. So, if you are placing a
                                                              socket welded or threaded gate valve, you
                                                              have to set your type to “unspecified” for
                                                              CADPIPE to read the correct table and place
                                                              the valve. Then, if you are placing a flanged
                                                              gate valve, you have to set the type for the
                                                              gate valve back to “Regular pattern”.

              When you click on “Valve Type” you will see a listing of the type of valve, style of valve and
              valve manufacturers that are available. Select the valve type you want to change, and the
              default style and manufacturer for that valve will be displayed below the listing. Select a new
              style or manufacturer and click on “OK”.



CADPIPE ISO                                                                    7. Placing Items on the Drawing
START-31                                                                                         STARTING

                Remember that you must have a database table with the valve style and manufacturer, or
                you will simply receive an error message when you go to place the valve.

                If you choose to place a gate valve with an extended bonnet, you can pick that type of valve
                through the “Valve Type” dialog box, but CADPIPE has no database table to refer to for
                the correct information. However, you can customize your CADPIPE database tables
                through CPEDIT. You can also customize the options available in the “Valve Type” dialog
                box by modifying the STYPV—string table. You will find more on this in your Database
                manual.

                Valve-Flange Configuration
                If you click on “Valve Config”, you can set your
                valve-flange configuration. There are three
                valve-flange configurations: flange on both ends,
                flange on one end, or no flanges placed with the
                valve. The default setting places valves with a
                flange on both ends. When fittings are set to
                flanged ends, this setting is forced to “no flanges”.

                Valve Insertion
                The insertion point is designated by an “x” on
                each of the three settings: flange butt, valve
                face, or the center of the valve.

                “Flange butt” is the default insertion point.
                When fittings are set to flanged ends, the valve
                insertion point setting “flange butt” is ignored.

                When you have set all the relevant valve
                defaults and selected the valve you would like to place, click on “Place”.

                Use OSNAP NODE when placing fitting to fitting and face to face, or OSNAP NEAR to
                place the valve on the routing line.

                The valve placement command is recursive, meaning that you can place more than one valve
                without leaving the command (the command returns you to the first prompt where you can
                place another valve, or press <Return> to Exit). You can also change the isoplane while you
                are in the command.




7. Placing Items on the Drawing                                                              CADPIPE ISO
STARTING                                                                                            START-32

              Placing flanges

              “PLACE” > [Flange]

              Before you place a flange for the first time, you must set the defaults specific to flanges
              either in the Current Settings or the Valve Placement dialog boxes.

              Select the “Flange” command, and you will see the “Flange Placement” dialog box:




              In this dialog box you can set all the relevant flange defaults if you have not already done so
              through the [Current Settings] command.

              Select your default flange type, such as threaded or socket welded.

              When you place a flanged valve, with your valve-flange configuration set to either one or
              two flanges to be placed with the valve, the flange(s) will
              be the current default flange type.

              CADPIPE automatically places a gasket with the flange;
              the bolt information is stored with the gasket for the bill of
              materials.

              Face Types
              If you click on “Face Types”, you will see a list of available
              face types. Select your default face type.
              .
              With ring type joint flanges, the CADPIPE database tables
              allow for the ANSI standard gap between flanges


CADPIPE ISO                                                                    7. Placing Items on the Drawing
START-33                                                                                                 STARTING

                Rating
                If you click on “Set Rating” you will see a list of available ratings. Selecting one of these
                ratings can set a flange rating that is different from the general rating.

                Flange Insertion
                The “Flange Insert” button toggles between two insertion points: the flange face or the flange
                butt. Your choice is set as the system default and remains so until changed.

                Set Gasket Thickness
                CADPIPE automatically places a gasket with each flange. The bill of materials program
                ensures that duplicate gaskets are not counted.

                                                   CADPIPE takes the gasket thickness into account when
                                                   placing flanges to give you accurate pipe cut lengths, and
                                                   also when dimensioning valves.

                                                   If you click on “Set Gasket Thk”, you will see the default
                                                   gasket thickness is 1/16" (1.6mm). Click on this field and
                                                   type in your new gasket thickness.

                                                   If the fitting ends are set to flanged, three more defaults are
                                                   made available: compressed gasket thickness, lining thick-
                                                   ness and compressed lining thickness.

Lap Joint Flanges
If you select the Lap Joint icon, the “LJ Flange
Type” button is made available.

The “LJ Flange Type” has stub end options and
lap joint flange options. You can also enter a stub
end length and weight; you may choose the
default given, if available, or enter your own
value.




7. Placing Items on the Drawing                                                                     CADPIPE ISO
STARTING                                                                                              START-34

              Once you have set the defaults, click on “Place” in the “Flange Placement” dialog box:

      Command: <<Place flange>> <6"> <150#> <Sch STD> <Weld Neck> <RF>
      Digitize butt of flange/Insert/<Exit>:: (Pick a point where you want the butt of the flange).

      Angle to face: (Drag in the direction youwould like the face to be—ORTHO MODE on.)

      Digitize butt of flange/Insert/<Exit>:: (The double colon “::” means you can change the
                                             isoplane before placing the next flange, although it will
                                             change automatically where required. For example, if
                                             your insertion point is set to butt of flange and you
                                             select the node of a gasket, your flange will be placed
                                             by the face).

      ISOplane <TRH>
      Digitize butt of flange/Insert/<Exit>::I <Return> (This option lets you change the insertion
                                                       point of the flange without leaving the
                                                       command.)

      Flange insertion point <Flange butt>
      Select insertion point: (Select a flange face from the dialog box to change the insertion point.)

      Flange insertion point <Flange face>
      Digitize face of flange/Insert/<Exit>:: (Digitize the point where you want to place the face of
                                             flange. Use AutoCAD’s OSNAP NODE to place
                                             flanges face to face.)

      Angle to butt: (Using your anchor line for reference, digitize the required direction of the flange butt.)

      Digitize face of flange/Insert/<Exit>::<Return>
      Command:

              Reducing flange
              To place a reducing flange, click on the box beside “Reducing Flange” in the “Flange
              Placement” or the “Current Settings” dialog boxes. An “x” in the box indicates that the
              Reducing Flange toggle is on.

              When you place a flange with “Reducing Flange” on, you will see the following prompts:

      Command: <<Place reducing flange>> <300#> <Sch STD> <Weld Neck> <RF>
      Inlet size <4"> (Select an outlet size from the dialog box.)

      Digitize butt of flange/Insert/<Exit>:: (Pick a point where you want to place the butt of the
                                             flange.)

      Angle to face: (Drag in the direction you want the face to be).




CADPIPE ISO                                                                     7. Placing Items on the Drawing
START-35                                                                                         STARTING


        Digitize tag location <Exit>:: (Digitize the location for the tag. The default tag has a “short” de-
                                     scription. You can change this to a “long” description through the
                                      [System Defaults] or the [Edit Defaults File] command.)

        Digitize Butt of flange/Insert/<Exit>::<Return> (Place another reducing flange or press
                                                       <Return> to exit the command.)

                Reducing flanges remains as your default until you click on the box again. Remember to
                toggle it off when you are finished placing the flange(s).

                API Flange and Light Style Flange Settings
                All flanges may be set to either API or Light style. You can’t have both API and Light Style
                settings on at the same time. When one is set, the other is turned off.

                Click on the box beside API or LIGHT in the “Flange Placement” dialog box. An “x” in the
                box indicates that the toggle is on.

                API or LIGHT flanges remains as your default until you click on the box again. Remember
                to toggle it off when you are finished placing the flange(s).

                Long Weld Neck flanges
                Users can set weld neck flanges to the Long style by clicking on the box beside “Long WN
                Flange” in the “Flange Placement” dialog box. An “x” in the box indicates that the toggle is
                on.

                Long weld neck flanges remains as your default until you click on the box again. Remember
                to toggle it off when you are finished placing the flange(s).

                For further information regarding the CADPIPE codes for flange types, refer to the Data-
                base Editor documentation.




7. Placing Items on the Drawing                                                               CADPIPE ISO
STARTING                                                                                               START-36

              Placing fittings

              “PLACE” > [Fitting] or [Branch]

              Before you place a fitting for the first time, you must set the defaults specific to fittings either
              in the “Current Settings” or the “Fitting (Branch) Placement” dialog boxes.

              Select the [Fitting] or [Branch] command, and you will see the “Fitting Placement” or
              “Branch Placement” dialog box:




              In these dialog boxes, you can set all the relevant defaults if you hav not already done so
              through the [Current Settings] command. You can change the fitting end type, schedule, and
              rating.

              Manufacturer
              When you click on the “Manufacturer” button the only
              option offered is “unspecified” because the CADPIPE-
              supplied database does not include active manufacturers.

              You can enter your own manufacturers through the
              CADPIPE Database Editor. Once you have added your
              manufacturers to the database, they will appear in the
              “Select Manufacturer” dialog box.

              Refer to the Database Editor documentation for infor-
              mation on adding manufacturers to the CADPIPE data-
              base.




CADPIPE ISO                                                                      7. Placing Items on the Drawing
START-37                                                                                                STARTING

                Flange Insertion
                The “Fitting Insert” button toggles between two insertion points: the center or the end of the
                fitting. Your choice is set as the system default and remains so until changed.

                If you are placing a tee in the vertical, the tee is placed at the current elevation, with only the
                branch showing. Therefore, a vertical tee must be placed with your fitting insertion set to
                center. You will not be prompted for vertical placement if set to end insertion. When digitiz-
                ing the location, use OSNAP ENDPoint.

                Use OSNAP NODE when placing fitting to fitting and face to face, or OSNAP NEAR to
                place the item on the routing line.

                Fitting Type
                To change how tees, crosses and laterals will be represented on your drawing, click Type in
                the “Fitting Placement” dialog box. Select from the list of fittings: tees, reducing tees,
                crosses, reducing crosses, Laterals and reducing laterals. You are then given a choice
                of “regular”, “drawn outlet” or “nozzle welded”. This is mostly used in the Stainless Steel
                database.

                Flanged fittings
                If flanged is selected as your fitting end type, many defaults are automatically set:

                · Valve insertion point: Valve face

                · Valve-flange configuration: No flanges

                · Valve ends: Flanged-RF

                · Lining thickness: 0"

                · Compressed thickness: 0"

                · Fitting type: Flanged

                · Flange face: Flanged-RF

                · Min./Max. flange pipe length: 6"/10’-0"

                The [Place Pipe] command and AUTO-PIPE give you the option to set the minimum and
                maximum pipe lengths for flanged pipe. Selecting any other fitting end type keeps the current
                defaults. Of course, lining thickness and maximum pipe length would no longer be appli-
                cable. The minimum pipe length would default to the value from the defaults file.




7. Placing Items on the Drawing                                                                    CADPIPE ISO
STARTING                                                                                          START-38

              Instrument tees are only available when fitting ends are set to flanged.

              Placing Inlines

              “PLACE” > “Inline”

              The inline defaults are set separately from the valve defaults through the “Inline Placement”
              dialog box:




              In the “Inline Placement” dialog box, set the ends, rating, valve configuration and valve
              insertion point.

              Spacers
              CADPIPE offers a wide assortment of spacers as well as a reducing filler flange. These
              include armored, blind, lined-steel, orifice, reducing, standard ring and tapered spacers.

              When set to flanged fittings, spacers are available in the “Inline Placement” dialog box.

              Custom inlines
              You can place custom inlines by clicking on the box beside “Custom Inline.” Click on the
              down arrow to see the list of available inline types:




CADPIPE ISO                                                                  7. Placing Items on the Drawing
START-39                                                                                           STARTING
                CADPIPE provides two custom inlines: 8ZZA110-Filter Model A (This is a custom inline
                block without a tag) and 8ZZB111-Filter Model B (This is a custom inline block with a tag
                of up to three lines). Highlight the one you want and then select “Place”. (See Customizing
                for information on creating your own custom inlines.)

                The next time you enter the “Place Inline” command, “Custom Inline” will be deselected.

                Place Miscellaneous Blocks

                “PLACE” > [Misc. Blocks]

                This command places Miscellaneous blocks in the current isoplane.

                Whenever you are prompted to enter the block code you will always be able to enter ? to
                get an updated list of the available blocks in the ISOBLKM.LST file.

                A Block may be placed using either a default description or tag, or adding your own upon
                insertion.

                Place BOM Information Blocks

                “PLACE” > [BOM Info Blocks]

                You can attach a CADPIPE node to any item and have that item included in the bill of
                materials. For example, you might use this option with “1 of a kind” specialty items or with
                complicated details from which you need an itemized bill of materials and balloon tags.

                If a common detail is required, you must create a block that includes the detail drawing and
                as many BOM nodes as you need. Place an asterisk (*) before the block name to ensure
                the block is exploded when it is inserted, or explode the block after placement. The BOM
                and AUTO-BALLOON will reflect each node in the block individually.

                The information you place in these nodes can be edited using AutoCAD’s DDATTE com-
                mand. CADPIPE does not store any default values for the BOM information blocks; you
                will be prompted for these individually.




7. Placing Items on the Drawing                                                                CADPIPE ISO
STARTING                                                                                                START-40



8. Dimensioning
                   “ANNOTATION” > “Dimension” > [Iso] [Valve] [Offset] [Box]

                   The seven standard isometric dimension planes can be selected while you are in the dimen-
                   sioning commands. Remember to select the isoplanes from the “ISOPLANES” menu or
                   from the isoplane tool bar.

                   Iso Dimensioning

                   “ANNOTATION” > “Dimension” > [Iso]

           Command: <<Iso Dimensioning>>
           1st extension line origin/Fitting to fitting/Real world/Edit/ Auto/Undo
           <Exit>:: NODE of <P1> (Digitize the location of the first extension line, P1. Refer to Figure 2.)

           Digitize routing line segment: NEAREST to <P2>

           2nd extension line origin: NODE of <P3> (Digitize the location of the second extension line, P3.
                                                  Refer to Figure 2.)




FIgure 2




CADPIPE ISO                                                                                       8. Dimensioning
START-41                                                                                         STARTING

       Digitize routing line segment: NEAREST to <P4> (Identify the routing line segment on which
                                                     you will be dimensioning.)

       Dimension line location:: <P5> (Digitize the location for your dimension line. You should do this
                                    with your GRID and SNAP toggled on. A rubber-band line
                                    attached to your first point aids your selection.)

       Sum dimensions/<Enter dimension>: 4’<Return>(1220) (Enter the dimension or enter S <Re
                                                         turn> for the sum dimensions option as
                                                         an alternative to calculating dimensions.
                                                         We discuss sum dimensions below.)

       1st extension line origin/Fitting to fitting/Real world/Edit/Auto/Undo
       <Exit>:: NODE of <Return>

       Command:

Fitting to fitting dimensioning

       1st extension line origin/Fitting-fitting/Real world/Edit/Auto/Undo
       <Exit>::NODE of F <Return> (Type F <Return> to use the Fitting-to-Fitting option. Here CADPIPE
                                   calculates the dimension for you based on the fitting lengths in the
                                   database and/or using the pipe lengths if you have already placed the
                                   pipe.)

       1st extension line origin <Exit>::NODE of (Digitize the location from where you want to begin
                                                the dimensioning. If this first point is on the routing
                                                line, you will not receive the next prompt to digitize
                                                the routing line segment.)

       Digitize routing line segment: (Digitize the routing line.)

       2nd extension line origin: (You will probably use an OSNAP override and pick an attribute block
                                 to which you want to dimension. You can of course pick the edge of a
                                 flange, or, say, an elbow on another routing line if that is where you
                                 want your extension line. If your pick is on the routing line you will not
                                 be prompted to digitize the routing line segment.)

       Digitize routing line segment: NEAREST to (Pick the same routing line segment as you picked
                                                the first time, unless you have placed an eccentric
                                                fitting.)

       Dimension line location:: (Digitize the location where you want your dimension line to appear. A
                               rubber-band line is anchored to the first point that you picked.)

       1st extension line origin <Exit>::NODE of <Return> (Continue dimensioning or press <Re-
                                                         turn> to exit.)




8. Dimensioning                                                                               CADPIPE ISO
STARTING                                                                                          START-42

              Using real world points
              If the drawing which you are dimensioning was produced using the AUTO-ISO program,
              you can use this option to dimension your drawing. The AUTO-ISO program places a real
              world point at each vertex of your routing line. These real world points can also be
              inserted using the “Add Real World Point” command in the “ANNOTATION”—[Real
              World Coordinates] menu.

              To use this option, CADPIPE will have to find a real world point at each routing line point
              (“point” being the reference point on the routing line), as well as a north arrow block. If any
              of these are missing, CADPIPE will give you an error message.

              Sum dimensions
              CADPIPE gives you the sum dimensions option as an alternative to calculating dimensions.
              This feature allows you to use already placed dimensions to add and subtract values to give
              a dimension. This feature is useful for calculating the value for an overall dimension when all
              others are given. It can also be used when an overall dimension is known, and a missing
              dimension is required.

              We pick up the dimensioning prompt sequence at the relevant prompt:

      Sum dimensions/<Enter dimension>: S <Return>
      Current total = 0"
      +/–/<Done>: + <Return> (Enter + <Return> to add the following dimensions.)

      Select dimensions to add (Digitize any part of the dimensions you want to add, and press <Re
      turn> when finished.)

      Select objects: 1 selected, 1 found
      Select objects:
      Current total = 12’-0"
      +/–/<Done>: – <Return> (Enter – <Return> to subtract the next values.)
      1Select dimensions to subtract (Digitize the dimensions, and press <Return> when finished.)

      Select objects: 1 selected, 1 found
      Current total = 6’-0 7/8"
      +/–/<Done>:<Return> (Enter <Return> when you are finished calculating the value. The final value
      [6’-0 7/8"] is then placed on the drawing.)




CADPIPE ISO                                                                                  8. Dimensioning
START-43                                                                                            STARTING

                  Chaining dimensions
                  CADPIPE makes it easy for you to chain dimensions because it places all dimension arrows
                  with a node at the tip of the dimension arrow. An example prompt/response sequence for
                  chaining dimensions follows:

       Command: <<Iso Dimensioning>>
       1st extension line origin/Fitting-fitting/Real world/Edit/Auto/Undo
       <Exit>::NODE of (Digitize the tip of the arrow of an existing dimension.)

       Digitize routing line segment: NEAREST to (Digitize the routing line on which you will dimension.
       CAD PIPE automatically enables an OSNAP NEAR OVERRIDE.)

       2nd extension line origin: (Digitize the point where you want your second extension line to
       appear.)

       Digitize routing line segment: NEAREST to (You generally pick the same routing line segment
       again unless you have placed an eccentric fitting.)

       Dimension line location: (Using OSNAP NODE, pick your original point—the tip of the arrow
       head—and      the extension line that you do not need is suppressed. A rubber-band line is
           anchored to your first pick.)

       Sum dimensions/<Enter dimension>: (Enter the dimension.)
       1st extension line origin/ Fitting-fitting/Real world/Edit/Auto/Undo
       <Exit>::NODE of <Return>

                  Editing dimensions
                  Using the Edit option, you can change the location and isoplane of your dimension. The
                  extension line origins remain the same as does the value of your dimension. At any point in
                  this option you may change isoplanes.

       Command: <<Iso Dimensioning>>
       1st extension line origin/Fitting-fitting/Real World/Edit/Auto/Undo
       <Exit>::NODE of E <Return>

       Dimension to edit <Exit>::NEAREST to (Select the dimension you want to change.)

       Dimension line location/Base:: (The two colons “::” indicate that you may change the current
       isoplane)

       Dimension line location/Base:: (By entering B, you may change the base point for your dimen
       sion. This is   helpful if you want to line up or chain dimensions along an isoplane;
           otherwise you will pick a point, and your dimension will be redrawn for you
           at the new location and new isoplane, if you changed isoplanes.)

       Dimension to edit <Exit>:: NEAREST to (Continue selecting dimensions to edit and <Return> to
       exit when  you are finished.)




8. Dimensioning                                                                                  CADPIPE ISO
STARTING                                                                                           START-44



              AUTO-DIMENSION
              The AUTO DIMENSION option places dimensions on all routing line segments that are
              not already dimensioned.

              AUTO-DIMENSION has two suboptions: Real World and Fitting-to-Fitting.

              If you are dimensioning an iso that was generated with AUTO-ISO, you might select the
              default suboption for Real World Dimensions. This dimensions between any two vertices of
              a routing line and uses the Real World blocks to calculate the value of each dimension.

              Selecting the Fitting to Fitting suboption would dimension the routing lines between every
              two vertices but use the fitting’s own lengths to determine each dimension. The default
              suboption and dimension offset distance can be customized in the [Edit Defaults File]
              command.

              Undo
              The Undo option allows you to undo any single option of the dimensioning command while
              you are in the command.

              If you want to remove a number of segments that were placed with AUTO-DIMENSION,
              while you are still in the command, use this option and all the dimensions just placed would
              be removed. But, if you have dimensioned a number of segments using the regular “fitting to
              fitting” dimension, one “Undo” option would only remove the last dimension you placed.

              When you leave the dimensioning command, you cannot use this feature for any previous
              dimensions; you would have to use the [UndoBack] or [Erase Fitting] command from the
              “EDIT” menu.

              Dimensioning to a column or a grid line
              Use the basic ISO dimensioning method, even if you have no routing line, such as when you
              need to dimension to a column or other reference point on your drawing. When prompted
              to “Digitize routing line segment”, you can digitize any segment of routing line on the draw-
              ing.

              Because this dimension has no impact on pipe lengths or other BOM information, and is
              generally used for placement reference, the routing line you digitize is unimportant to the end
              result.




CADPIPE ISO                                                                                 8. Dimensioning
START-45                                                                                              STARTING

                  Dimensioning valves

                  “ANNOTATION” > “Dimension” > [Valve]

                  Generally we suggest that you start by dimensioning the valves; this dimension gives you a
                  guide for your subsequent dimension lines.

                  Flanged valves are dimensioned from adjoining flange face to adjoining flange face (that is,
                  including gaskets).

                  This command lets you dimension adjoining valves, and it also lets you dimension from a
                  flanged valve (which of course has a gasket) to a fitting such as an elbow (which does not
                  have a gasket). This latter option is called the “single-gasket” option.

                  You can also use the “single-gasket” option if you have placed a valve, dimensioned it, and
                  then decide to place another valve next to it that you want to dimension. In this case, you
                  should not select a gasket already used for dimensioning because that particular
                  gasket’s dimension will be included twice. This option does not appear in the prompt as a
                  choice, but CADPIPE informs you if it has found a gasket, and it takes appropriate action if
                  one of your picks does not select a gasket. If only one gasket is selected, CADPIPE places
                  the gasket tick outside the dimension line.

                  Valve dimensioning automatically checks the valve orientation and draws the dimension lines
                  accordingly. If you find the text too large to fit between the dimension lines, you can use the
                  AutoCAD MOVE command.

                  If you were to place another valve directly beside the first valve you have dimensioned,
                  then, when you dimension the second valve, you should not select a gasket used to dimen-
                  sion the first valve. If you do, you will get an incorrect dimension because that gasket’s
                  dimension will be included twice. Instead, select the outside gasket of the second valve, and
                  the dimension line arrowhead of the first valve.

                  Offset Dimensioning

                  “ANNOTATION” > “Dimension” > [Offset]

                  The key to dimensioning offsets is to remember which plane you want the dimension to
                  appear on; then set your isoplanes accordingly.




8. Dimensioning                                                                                   CADPIPE ISO
STARTING                                                                                             START-46

                  As an example we have one routing line (Figure 3) and we’ll dimension it with the offset in
                  the vertical and then in the horizontal positions:




Figure 3

                  Set the isoplane to LH Vertical.

                  Pick [Offset] from the “ANNOTATION” — “Dimension” menu (refer to Figure 4):




Figure 4



           Command: <<Dimension single offset>>
           Digitize start point/Edit <Exit>:: (P1)
           Digitize end point:: (P2) (A coordinate system icon appears at the point of your first pick. This
                                     helps you with the following prompts.)

           Digitize corner:: (P3) (You only need to digitize near the corner as the system calculates the
                                  exact corner point.)
           Use real world points [Yes/No] <No>: <Return>

           Enter delta y: 3’ <Return> (Enter the distance between P1 and P3 or delta y.)
           Enter Delta Z, or +/-%(S)lope, or +/-(A)ngle <Z>: <Return> (We cover the (S)lope option
                                                                          and the (A)ngle option later
                                                                          in this documentation).

           Enter delta z: 3’ <Return> (Enter the distance between the y axis and P2 or delta z.)


CADPIPE ISO                                                                                    8. Dimensioning
START-47                                                                                              STARTING

           Dimension line location: (P4)
           Digitize start point/Edit <Exit>:: <Return>
           Command:

                   All offset dimensions, both single and compound, are hatched automatically. You can change
                   the hatch spacing through either [System Defaults] or the [Edit Defaults File] commands,
                   and you can toggle the hatching off in the defaults file (see Customizing).

                   Now using [Erase Fitting], erase the dimension you just placed by selecting a dimension line.
                   The entire offset dimension is removed.

                   Refer to Figure 5 for the following example. Set the isoplane to Top right hand.




Figure 5


                   Select the offset dimension command:

           Command: <<Dimension single offset>>
           Digitize start point/Edit <Exit>:: (P1) (Digitize one corner of the offset.)

           Digitize end point:: (P2) (Digitize the other corner of the offset.)

           Digitize corner:: (P3) (Digitize near the corner.)

           Use real world points [Yes/No] <No>: <Return>

           Enter delta x: 3’ <Return>

           Enter delta y: 3’ <Return>

           Dimension line location: (P4)
           Digitize start point/Edit <Exit>:: <Return>

           Command:




8. Dimensioning                                                                                   CADPIPE ISO
STARTING                                                                                             START-48

                  Angle option and Slope option
                  The (A)ngle option: once given the angle and either the x-axis or y-axis dimension, the
                  delta z and the true length is calculated for you automatically.

                  The best way to illustrate this is by example. Refer to Figure 6.




Figure 6


                  Dimension the offset using the (A)ngle option. Set the isoplane to LH Vert. Select the Offset
                  Dimension command:

           Command: <<Dimension single offset>>
           Digitize start point/Edit <Exit>:: (P1)

           Digitize end point:: (P2)

           Digitize corner:: (P3) (Digitize near the corner.)

           Use real world points [Yes/No] <No>: <Return>

           Enter delta y: 5’ <Return>

           Enter Delta Z, or +/-%(S)lope, or +/-(A)ngle <Z>: A <Return>

           Enter +/- Angle: 30 <Return>

           Dimension line location: (P4)

           Digitize tag location <None>::(P5) (In this case, the angle is shown.)

           Digitize start point/Edit <Exit>:: <Return>
           Command:

                  Using Erase Fitting, erase the dimension you just placed by selecting a dimension line. As
                  you will notice, the entire offset dimension is removed.

CADPIPE ISO                                                                                    8. Dimensioning
START-49                                                                                            STARTING


                  Refer to Figure 7. Dimension the offset using the (S)lope option. Set isoplane to LH Vert.
                  and select the Offset Dimension command:


Figure 7




           Command: <<Dimension single offset>>
           Digitize start point/Edit <Exit>:: (P1)

           Digitize end point:: (P2)

           Digitize corner:: (P3)

           Use real world points [Yes/No] <No>: <Return>
           Enter delta y: 5’ <Return>

           Enter Delta Z, or +/-%(S)lope, or +/-(A)ngle <Z>: S <Return>

           Enter +/- %Slope: 30 <Return> (After you have entered the delta y and slope, the length of the z
                                         axis and the true length is calculated for you.)
           Dimension line location: (P4)

           Digitize start point/Edit <Exit>:: <Return>
           Command:

                  Editing offset dimensions
                  You may change the position and/or isoplane of an existing offset dimension by using the
                  “Edit” option. When changing the isoplane of an offset dimension, one of the directions
                  requires you to enter a value since it would not have been included in the dimension. For
                  example, when changing a top-plane dimension, which has an X and a Y value, to a vertical
                  dimension, either the X or the Y value will be discarded, and the Z value will be required.




8. Dimensioning                                                                                 CADPIPE ISO
STARTING                                                                                           START-50

              Box Dimensioning

              “ANNOTATION” > “Dimension” > [Box]

              CADPIPE’s box dimensioning dimensions through double offset angles. CADPIPE places a
              six-sided box representing the offsets and places dimensions along the edges of your choice.

              As for all dimensioning, your routing line is in place before you begin. The section between
              the two points that you are dimensioning should be represented as a routing line segment
              drawn on the screen along an angle that does not follow a standard isoplane (ORTHO off).

              Four rules:

              1 The routing line segment that you are dimensioning cannot be either horizontal or vertical
              on the screen.

              2 The two end points of the routing line segment that you are dimensioning must be in a
              correct relative position to each other. If not, CADPIPE will cancel the command until legal
              points are provided.

              Hint: Draw a quick sketch on paper to make sure that the box dimension is possible.

              CADPIPE prompts for the dimensions along the x, y, and z axes. Enter these distances in
              real world coordinates. For example, for the x distance you are prompted for “delta x”; the
              sign (plus or minus) are part of your response. The sign is important because it enables
              CADPIPE to draw the box correctly. Dimensions placed on the drawing do not have a sign.
              You frequently enter negative x, y, or z values, as you are able to tell by studying the coordi-
              nate icon that appears when you begin the dimensioning routine.

              3 On the screen, one of the two end points will be lower on the screen than the other point
              (as mentioned in rule 1).

              There are two sets of coordinate systems for CADPIPE box dimensioning. One set, the real
              world coordinate, represents the points at the centerline of the piping that you are dimen-
              sioning. The real world coordinate includes your plant North and East and the plant eleva-
              tion offsets.

              On the drawing (screen), plant North is shown by the North arrow but it is not recognized
              by CADPIPE’s dimensioning programs. Instead, CADPIPE uses its own coordinate system
              as shown by the icon when you begin the dimensioning routine. Note thatCADPIPE’s
              “positive x” direction is at 30°, the “positive y” direction is at 150°, and the “positive z”
              direction is at 90°.




CADPIPE ISO                                                                                  8. Dimensioning
START-51                                                                                                STARTING


                  4 Allow adequate vertical separation of the two points on the screen so that you have room
                  to place the box. As a rule, CADPIPE uses 40% of the vertical separation to represent the
                  “z-edge” of the box outline.

                  Compound offset example
                  Probably the best way to start a compound angle dimension (Box) is to draw guide lines for
                  the deflection of your routing line, then draw your routing line (guide lines are not required,
                  but sometimes it is difficult to visualize which way your routing line will be sloping; this will
                  aid the box dimensioning process).

                  Once you have drawn your routing line and added all necessary items, then proceed with
                  dimensioning; when dimensioning is complete, remove your guide line.

                  You will notice that the box outline drawn by CADPIPE may not be the same as the guide
                  lines you have drawn. This is because CADPIPE draws the box outline so that the z direc-
                  tion edges are equal to 40 percent of the vertical distance between the two points, so
                  remember not to worry that your lines and CADPIPE’s box may not match—your guide-
                  lines are for reference only. Once you become experienced in using the box dimension,
                  guidelines will become unnecessary.

                  Using AutoCAD draw a guideline similar to that in Figure 8. Add your routing line.




Figure 8




8. Dimensioning                                                                                     CADPIPE ISO
STARTING                                                                                            START-52




Figure 9




                  Refer to Figure 9. Select the box dimension command:

           Command: <<Place box dimension>>
           Digitize first deflection point:: (P1)

           Digitize second deflection point:: (P2)

           Use real world coordinates [No/Yes] <No>: <Return>

           Enter delta x: -3’ <Return> (Use the icon as a guide—the icon appears temporarily on your
                                      drawing. P2 is 3’ in positive x direction from P1).

           Enter delta y: 10’ <Return> (P2 is 10’ in the negative y direction from P1.)

           Enter Delta Z, or +/-%(S)lope, or +/-(A)ngle <Z>: <Return>

           Enter delta z: 8’ <Return> (P2 is 8’ in the negative z direction from P1. Always keep in mind
                                     which direction the second point is in from the first point, and use the
                                     icon as a guide.)

           Select X line to dimension: (X)
           Digitize dimension line location: (P3)

           Select Y line to dimension: (Y)
           Digitize dimension line location: (P4)

           Select Z line to dimension: (Z)
           Digitize dimension line location: (P5)
           Digitize diagonal dimension line location: (P6)

           Diagonal length: 13"-1 13/16
           True deflection angle: 40.51 degrees
           Command:


CADPIPE ISO                                                                                    8. Dimensioning
START-53                                                                                            STARTING



9. Placing Pipe
                  Once all your valves, fittings, and dimensions are placed on the routing line, you can place
                  your pipe.

                  You can place pipe segments individually—meaning one segment between fittings at a
                  time—using the [Place Pipe] command (you cannot place vertical pipe one segment at a
                  time), or you can use AUTO-PIPE. This command places pipe on your fully dimensioned
                  drawing automatically between previously placed fittings.

                  AUTO-PIPE

                  “AUTO” > [Pipe]
                  Keyboard: AP

                  AUTO-PIPE adjusts to the correct line number and spec and changes the pipe size when it
                  encounters reducing fittings. If spec-driven, the pipe placed changes to the wall thickness
                  required by your spec; if not, you should set your required wall thickness prior to using the
                  AUTO-PIPE command. AUTO-PIPE changes planes automatically to suit the mating
                  fittings it encounters.

                  AUTO-PIPE places pipe only if it has all of the necessary information to calculate the pipe
                  lengths. One implication of this is that your routing line on which you want to AUTO-PIPE
                  must be fully dimensioned before AUTO-PIPE can calculate the necessary lengths of pipe.

                  If you find that AUTO-PIPE has left some areas “un-piped”, this is due to either a lack of
                  information or invalid pipe length calculations.

                  If a circle with an “X” through it is placed on a line where you would expect pipe, this is
                  letting you know that the value that CADPIPE has calculated for the pipe length is 0’, and
                  that you should eliminate the gap.

                  If there are pipe segments which were not piped, we recommend that you analyze your
                  dimensions. You might have to add some dimensions, or change the values of some to fix
                  the problem. Then you can run AUTO-PIPE again. AUTO-PIPE will not duplicate
                  pipe on the drawing.




9. Placing Pipe                                                                                   CADPIPE ISO
STARTING                                                                                     START-54


                 Placing Pipe for Flanged Systems

If your fitting end type is set to flanged, you will see additional
prompts during the AUTO-PIPE and [Place Pipe] command:

        Command: <<Auto-Pipe>> <Sch STD>
        Flanged pipe minimum length=6"/maximum length=10’-0"
        Insertion routine type <1> (Split into two equal lengths)
        Change defaults [Yes/No] <No>: Y (When you select AUTO-PIPE you will see the current defaults
        echoed to the screen. Then you are prompted to change these defaults. A
        <Return> at this point, or N (No), accepts the defaults and you will
        proceed directly to routing line selection. Y (Yes) gives the following
        options.)

        Enter flanged pipe minimum length <6">: (You can enter new values or <Return> to accept the
                                               default.)

        Enter flanged pipe maximum length <10’-0">:

        Enter type of insertion routine [1/2/?] <1>: ? (Choose insertion routine 1 or 2 or enter ? for
                                                      an explanation of these routines.)

        Insertion routine type 1.

        If the pipe length to be placed is longer than the maximum length allowed and shorter
        than one maximum length plus one minimum length, then split the total length into two
        equal pipe lengths.

        e.g., With maximum pipe length set to 10’-0", and minimum pipe length set to 18
        inches, when placing a 10’-10" length the system will place two pipe lengths of 5’-5"
        each.

        Insertion routine type 2.

        If the pipe length to be placed is longer than the maximum length allowed and shorter
        than one maximum length plus one minimum length, then place one minimum pipe length
        and one of total length minus the minimum length.

        e.g. With maximum pipe length set to 10’-0", and minimum pipe length set to 18
        inches, when placing a 10’-10" length the system will place pipe of 9’-4" and one
        pipe length of 18 inches.

        Enter type of insertion routine [1/2/?] <1>:

        Flanged pipe minimum length=6"/maximum length=10’0" (Your new defaults are echoed to the
                                                           screen.)

        Insertion routine type <1> (split into 2 equal lengths)
        Digitize routing line:: NEAREST to (Select the routing line to be piped.)




CADPIPE ISO                                                                             9. Placing Pipe
START-55                                                                                             STARTING


                  Errors and possible problems

        Routing line segment not long enough for pipe placement (Flanged AUTO-PIPE only)

                  You may see this error message when AUTO-PIPE skips a segment(s) of pipe. In addition,
                  a “skull and crossbones” symbol is placed on the invalid line segment. What this means is
                  that although dimensionally pipe could be placed between the flanges, graphically it could
                  not.

                  For instance, a very long length can be shown in ISO much shorter or out of proportion. If
                  maximum flanged pipe lengths are set to 10’-0" and the total segment is 30’-0", there must
                  be room for the program to “fit” three flanged pipe lengths in the allotted space. When it
                  can’t, you receive this message:

        Invalid Placement - pipe too short

                  You will see this message during flanged AUTO PIPE if thesegment to be piped is shorter
                  than the allowable minimum length. Either change the minimum pipe length allowed or
                  modify your design.

        Pipe not placed ... 5" is less than the minimum length 6 5/8" (BW,
        Plain or THRD piping)

                  You will see this warning if the segment of pipe to be placed is less than the allowable
                  minimum length. You can:

                  !   modify your design
                  !   change the minimum pipe length allowed in your defaults file (refer to Customizing)
                  !   place a nipple which will override this restriction

                  Place Pipe—Single Segments

                  “PLACE” > “Piping” > [Place Pipe]
                  Keyboard: PP

                  As well as placing pipe automatically, CADPIPE ISO lets you place pipe by individual
                  segments between fittings.

                  For correct pipe lengths, including engagements with attached fittings, you can only place
                  pipe between previously placed fittings or to drawing pipe breaks or field welds.




9. Placing Pipe                                                                                   CADPIPE ISO
STARTING                                                                                            START-56

               All of the default settings and the error messages that apply to AUTO-PIPE are also found
               in [Place Pipe]. Therefore, you will notice the same prompt differences when you are set to
               a flanged system.

               Place Pipe—Bent Pipe

               For this example draw a routing line similar to that in Figure 10, set your size to 2", and then
               add two flanges at each end. Be sure to extend the routing line past the flange face. Dimen-
               sion the routing line.




Figure 10




               Now pick [Place Pipe] from the “PLACE”—”Piping” menu:

        Command: <<Place pipe>> <2"> <Sch STD>
        Line designation: TEST1 - AAA1
        Digitize start point <Exit>: Node of (Digitize the node at the butt of FLG#1.)

        Digitize end point: Node of (Digitize the node at the butt of FLG#2.)
        working...

        Digitize dimension:: NEAREST to (Select the dimension for the segment P1. The first segment will
                                      depend on the direction you drew the routing line.)

        Enter angle of bend, in degrees <90>: <Return> (For this example, accept the defaults. A
                                                      large X appears at the first bend, letting you
                                                      see which bend you are at.)




CADPIPE ISO                                                                                    9. Placing Pipe
START-57                                                                                       STARTING
        Enter bend radius <3D>: 5D <Return> (You may enter the radius in the form of the default which is
                                           three times the nominal pipe size or 6", or simply enter the
                                          size of the radius. Enter “5D”.)

        Digitize dimension:: NEAREST to (P2)
        Enter angle of bend, in degrees <90>: <Return>
        Enter bend radius <5D>: <Return> (The default has changed to the radius you last entered.)

        Digitize dimension:: NEAREST to (P3)
        Enter angle of bend, in degrees <90>: <Return>
        Enter bend radius <5D>: <Return>

        Digitize dimension:: NEAREST to (P4)
        Enter angle of bend, in degrees <90>: <Return>
        Enter bend radius <5D>: <Return>

        Digitize dimension:: NEAREST to (P5)
        Enter angle of bend, in degrees <90>: <Return>
        Enter bend radius <5D>: <Return>

        Digitize dimension:: NEAREST to (P6)
        Enter angle of bend, in degrees <90>: <Return>
        Enter bend radius <5D>: <Return>
        Digitize dimension:: NEAREST to ... (Now CADPIPE calculates the pipe length and then places
                                            pipe on the routing line.)

        Digitize start point <Exit>::Node of <Return>
        Command:


10. Edit the Drawing
                Here we will take a brief look at CADPIPE’s editing functions.

                ! Edit Routing Lines
                ! Edit Fittings
                ! Edit Text
                ! Edit Tags
                ! Edit Weight
                ! Edit Shop/Field
                ! Edit BOM off items
                ! Break Pipe
                ! Query




10. Edit the Drawing                                                                        CADPIPE ISO
STARTING                                                                                          START-58

              Edit Routing Line

              Edit Line Designation
              “EDIT” > “Routing Line” > [Edit Line Designation]

              The [Edit Line Designation] command lets you edit your line designation without erasing or
              replacing all your valves, fittings, and pipe:

      Command: <<Edit Line Designation>>

      Digitize routing line/Item <Exit>: (Select the routing line or type I to select an item on the
                                       routing line.)

      Enter new line number< default>: (Type in the new line number.)

      Enter new material class< default>: (Type in the new material specification.)

      Edit items on line [Yes/No]<Yes>: (If you selected a routing line you are asked if you want to
                                      update all items on the line to the new line designation. If you
                                      enter N <Return> your routing line is set to the new line
                                      designation, but the items on the routing line remain un
                                      changed. If you press <Return> to accept the default, all the
                                      items on the line are set to the new designation. If Spec
                                      Check is on, valve tags are also updated.)

      Command:

              Line Check (Contamination Check)
              “EDIT” > “Routing Line” >[Line Check]

              This command checks the line designation of all the items on a line against the line designa-
              tion of the line.

              CADPIPE checks every item on that line against the line number and material specification
              of the routing line itself. Any item that was not placed with the line number and material
              specification that is attached to the routing line is marked as contaminated (with a skull and
              crossbones symbol, including a leader line pointing to the node that is causing the problem).

              Because CADPIPE places an “undo” Mark before it starts the line check routine, you can
              erase all the contamination symbols using UndoBack, which will undo all the symbols.

              Spec Break

              “PLACE” > [Spec Break]

              This command changes the material specification at a point on a routing line. The routing line
              is physically broken and labeled at the point chosen.




CADPIPE ISO                                                                             10. Edit the Drawing
START-58                                                                                            STARTING

        Digitize break point on routing line <Exit>:: NEAREST to (Digitize the point on the routing
                                                                line where you want a spec
                                                                break.)

        Digitize location of break mark:: (Digitize a point in a direction perpendicular to the routing. A
                                        spec break symbol is placed at this point.)

        Digitize new line direction: (Digitize a point along the routing line in the direction of the new
                                    material spec.)

        Enter new line number <5P15>: <Return> (Enter a new number, or <Return> to accept the
                                              default.)

        Enter new material spec <ABB1>: ACC1 <Return> (Enter the material spec which begins at the
                                                     break.)
        working ...

        Digitize break point on routing line <Exit>:NEAREST to (Digitize another routing line segment
                                                              or enter <Return> to exit.)

                Any items already placed on the “new line ” are not automatically updated with
                the new material spec. Use the [Edit Line Designation] command to do this.

                Edit Fittings

                “EDIT” >[Fitting]

                Erase Fitting
                “EDIT” > “Fitting” > [Erase]
                Keyboard: EF

                CADPIPE makes it easy for you to erase fittings through a special command, Erase Fitting.
                This command removes the fitting and associated items:

                ! Fittings, complete with welds and all CADPIPE nodes (and tags, where applicable).
                ! Valves, complete with handwheel and tags.
                ! Dimensions as a unit.
                ! BOM text as a unit.

                All attribute blocks related to the fitting (including the “V-nodes” and the “gasket node”) as
                well as the “broken-circle” are erased. Also, the attributes for the weld dots and gaskets
                which have been placed with the fitting are erased. All the linework is erased as well.




10. Edit the Drawing                                                                            CADPIPE ISO
STARTING                                                                                           START-60


              Move and Copy Fitting
              “EDIT” > “Fitting” > [Move] [Copy]
              Keyboard: MF CF

              Move Fitting and Copy Fitting are similar to the Erase Fitting command: by selecting an
              item, all attached entities are moved or copied to the new coordinates.

              All of AutoCAD’s selection options are available for these commands
              (Window, Crossing, Remove, Auto, etc).

              Edit Schedule
              “EDIT” > “Fitting” > [Edit Schedule]

              This command gives you the ability to edit the schedule of your pipe after the layout has
              been completed. This is especially useful when using custom wall thicknesses which are
              often calculated after the drawings are done, or partially done.

              You can use this command to edit the entire routing line, a selected section of the routing line
              or selected fittings.

      Command: <<Edit schedule Utility>>
      Digitize start point on routing line /Items <Exit>: NEAREST to (Digitize point on the
                                                                    routing line you want to
                                                                    edit or type I to select
                                                                     individual items.)

      Digitize end point on routing line <All>: NEAREST to (Digitize the end point, or press
                                                         <Return> to select complete line.
                                                         Select the new schedule from the
                                                         dialog box.)
      Editing piping segment - 1
      Editing piping segment - 2
      Editing piping segment - 3
      16 attributes edited

              Edit Text

              “EDIT” >[Text]

              Edit Text Isoplane
              This option lets you quickly change the isoplane of your isometric text. First, change your
              isoplane to the plane in which you want the text to appear, then select [Edit Text Isoplane].




CADPIPE ISO                                                                              10. Edit the Drawing
START-61                                                                                             STARTING

                Fix fractions
                This option changes AutoCAD’s standard fractions to the typographically correct CAD-
                PIPE fractions. If you have not overridden the AutoCAD defaults when using its dimension-
                ing routines, then picking this option automatically changes all the dimension string fractions.
                We discuss CPFRAC later in this chapter.

                Edit Tags

                “EDIT” >[Tag]

                This command changes a tag which has previously been inserted with an object or adds a
                tag to an object that was placed without one (the prompts differ with different types of
                fittings/valves):

        Digitize item <Exit>:: NEAREST to (Digitize any part of the fitting or valve. Since you have the
                                        double colons (::) in the prompt, you may also change the
                                        isoplane of the tag.)

        Digitize existing tag <New>:: (Press <Return> if you are inserting a new tag; otherwise digitize
                                    the tag you want to change. For some types of fittings, this
                                    prompt will not be given.)

        Digitize tag location <None>:: (Digitize the center point of where you want the tag to appear.
                                     This prompt will not appear if you are updating an existing tag.)

        First line <None>:
        Second line <None>:
        Third line <None>: (You may enter up to three lines of text for the tag and the combined length
                            cannot exceed 16 characters.)

        Digitize item <Exit>:: NEAREST to (Press <Return> to exit, or digitize another item that you
                                         want to tag.)

                Edit Weight

                “EDIT” > “Weight”

                Weight information is automatically included with each item placed on the drawing. How-
                ever, the weight for bolts is not stored in the drawing file because bolt lengths are calculated
                by the Bill of Materials program.

                The weight information is as complete as possible, but there will be items that are not
                included or materials that are not commonly available. There are also items whose weight
                cannot be determined upon placement and must be entered at a later date.




10. Edit the Drawing                                                                              CADPIPE ISO
STARTING                                                                                              START-62

              For these instances, we have made the weight feature as flexible as possible. As well as
              being able to edit the weight fields in the database tables using the CADPIPE Database
              Editor, you can edit the weight of individual items from within the drawing.

              Edit Weight
              The [Edit Weight] command allows you to change the weight of an item on the drawing.
              Pick the [Edit Weight] command and then digitize the item you want to edit. You will see a
              dialog box for the selected item.




              Items such as elbows and valves simply have a field containing the weight of the fitting. You
              would click on that field, type in a new weight, and then click on “OK”.

              Other items, like pipe, have the weight stored as weight per foot or meter. The total weight
              of the pipe length is not an editable field. With lap joint flanges, you can edit either the stub
              end or the backing flange; the total weight is not listed.

              Report 0.0 Weight
              The [Report 0.0 Weight] command reports all items on a drawing that do not contain a
              weight. This information can be reported to the screen or to a file. The file is created in the
              current drawing directory and is called <drawingname>.wgt. You can use any text editor to
              view the file.

              Update Weight
              When you have added weights to the database tables after a drawing was created, you
              should use the [Update Weight] command to update the weights on the drawing to the new
              changes.

              Edit Shop/Field

              “EDIT” > [Shop/Field Status]

              In addition to being able to use a toggle to automatically tag all of the valves, bolts, and
              gaskets on your drawings to be sent to Field, you can edit previously placed items easily.

              The [Shop/Field Status] command allows you to select all, or part of your drawing, and by
              item, change the Shop/Field setting.


CADPIPE ISO                                                                                10. Edit the Drawing
START-63                                                                                        STARTING
        Command: <<Edit shop/field>>
        Change to - Shop/Field <Shop>: F <Return> (Specify whether you want items changed to field or
                                                 shop. We will change items to Field.)

        Size range for fittings only - All/Select <All>:<Return> (All edits the Shop/Field flag on
                                                                all sizes of items, while S
                                                                prompts you for a size range to
                                                                edit.)

        Item selection - All/Select <All>: <Return> (Selecting All edits all items on the drawing, while
                                                  S allows you to digitize items individually or to
                                                  use AutoCAD’s Window command.)

        Change following items to Field
        1. Gaskets and Bolts                                                   NO
        2. Control valves                                                      NO
        3. Valves                                                              NO
        4. Threaded fittings and pipe                                          NO
        5. Socket weld fittings and pipe                                       NO
        6. Butt weld fittings and pipe                                         NO
        7. Misc. Blocks                                                        NO
        8. All items                                                           NO
        9. Item by code.... [ ]........NO

        Accept with ENTER / add or delete [1-9]: 1 <Return> (Enter the number of the item you want
                                                           to edit. “YES” appears next to that
                                                           item. This indicates that the item will
                                                           be changed to Field.)

                Item by code
                Using option #9 from this menu allows you to send specific items to either the Shop or
                Field.

                An example of this could be when all of the small bore piping on your drawing has been sent
                to the field, but you would like all ‘olets welded to their main pipe runs in the shop.

        Change following items to Shop
        1. Gaskets and Bolts                                                   NO
        2. Control valves                                                      NO
        3. Valves                                                              NO
        4. Threaded fittings and pipe                                          NO
        5. Socket weld fittings and pipe                                       NO
        6. Butt weld fittings and pipe                                         NO
        7. Misc. blocks                                                        NO
        8. All items                                                           NO
        9. Item by code.... [ ]........NO

        Accept with ENTER / add or delete [1-9]: 9 <Return>

        Enter code [1-4 characters]: 5O <Return> (Enter 5O which is the item code for olets. You do
                                                not need to specify the entire code, just enough to
                                                distinguish the item from others.)

                For information on CADPIPE coding, refer to the Database Manual.

10. Edit the Drawing                                                                         CADPIPE ISO
STARTING                                                                                         START-64

              Edit BOM off items

              “EDIT” > [BOM Off Items]

              This command changes selected items to BOM OFF, so they are treated like existing items
              and ignored by the BOM.

              Pick the command and then choose the objects you want changed to BOM <OFF>. Pick
              any part of an item and all of its pieces are automatically selected.

              The selected objects are moved to the EXIST layers and all attributes are marked as BOM
              <OFF>.

              Break pipe

              “PLACE” > “Piping” > [Break Pipe]

              This command breaks pipe, either for a CADPIPE default length or your own custom
              length.

              You can break pipe out without any crossing pipe if you want, simply by digitizing the first
              pipe you pick as your second pick, and then pressing <Return> to exit.

              Set your isoplane before you use this command because the break symbols are inserted
              Normal to the current isoplane.

              Query

              “SETTINGS” > [Query]
              Keyboard: QY

              The Query command gives you a detailed list of the current settings for items on your
              drawing. Query is a much more efficient way to examine your piping than the AutoCAD
              LIST command which fills several text screens with information that you would not
              normally need.

              Query displays relevant information regarding items that you have placed on a drawing. You
              can digitize a single node, or use a window to select the objects about which you want
              information. Pick [Query] from the “SETTINGS” menu:

      Command: <<Query>>
      Identify piping item(s)
      Digitize first point: NODE of (To obtain information about only one item, digitize the broken-
                                   circle attribute block located inside the fitting. If you are selecting
                                   several items ignore the OSNAP NODE and pick your first point.)
      Digitize second point <None>: (If you decide to select several items, digitize the second point for
                                   your window. Press <Return> if you chose to inquire about only
                                   one item.)

CADPIPE ISO                                                                             10. Edit the Drawing
START-65                                                                                           STARTING


                A dialog box displays information about the items you selected. The information includes:

                ! Line designation
                ! Item description (for example, Gate Valve: AAC- ,whereAAC- is the item code which is
                 explained in the Database manual)
                ! Database
                ! User description, if this is described in your specification
                ! Item tag/user code
                ! Item size
                ! Rating/schedule/end type
                ! Length (length of the valve, flange, or fitting)
                ! Weight
                ! Shop/Field status
                ! Location
                ! Revision number and date.

                In using this information for dimensioning, you would make a note of the “insert lengths”,
                and add them together to arrive at your dimension. Make allowance for engagements at
                threaded and socket welded fittings.




10. Edit the Drawing                                                                           CADPIPE ISO
STARTING                                                                                         START-66



11. Annotate the Drawing
              Real World Coordinates

              “ANNOTATION” > “Real World Coordinates”

              The “Real World Coordinates” menu has three commands that are all related to placing real
              world coordinates on the drawing.

              Place Coordinates
              This command places real world coordinates on your drawing:

      Digitize location <Exit>: (Digitize the point where you want the real world marker to appear.)

      Rotation angle: (Digitize the rotation angle for the marker.)

      Enter north coordinate: (Type in the real world north coordinate that you want.)

      Enter east coordinate: (Type in the real world east coordinate that you want.)

      Enter elevation: (Type in the real world elevation that you want.)

      Digitize location <Exit>: NEAREST to <Return> (<Return> to exit.)

              A point appears that stores the real world coordinates that you have entered. You can use
              this point if you are using the Real World Dimensioning option in your dimensioning. The
              point is placed on layer CPLP and is turned off automatically when you plot.

              Add Real World Points
              This command lets you label your centerlines with coordinates that are stored with existing
              real world points or with other values that you want to enter, overriding the defaults:

      Digitize real world point <Exit>: INTERSEC of (Digitize the point that has the values you want
                                                   to appear as the label for your centerline.)

      Enter first line <E default>: (Type in the real world north coordinate that you want or press
                                   <Return> to accept the value stored with the real world marker
                                   you have digitized. You can also type in a description other than
                                   “E”.)

      Enter second line <ELEV default>: (Type in the real world elevation that you want. You can type
                                       in a description other than ELEV.)

      Enter elevation: (Type in the real world elevation that you want.)




CADPIPE ISO                                                                       11. Annotate the Drawing
START-67                                                                                        STARTING

       Digitize location: NEAREST to (Digitize a point on the centerline that you want labeled.)

       Digitize real world point <Exit>: INTERSEC of (Press <Return> to exit or digitize another
                                                    real world marker.)

               Display Coordinates
               This command lets you see the values stored with your real world coordinate point markers.

       Digitize real world point <Exit>: INTERSEC of (Digitize the real world point for which you want
                                                     to know the values. CADPIPE lists the
                                                     Northing, Easting, and Elevation values
                                                     stored with the point.)

       Digitize real world point <Exit>: INTERSEC of <Return> (<Return> to exit.)

               Place Text

               “ANNOTATION” > [Place Text]

               CADPIPE Text Style and Font
               CADPIPE has a special text font and style called CPFRAC, which was developed essen-
               tially to print typographically correct fractions, but which has some other changes for
               improved plotting efficiency. It is a modified version of the ROMANS font.

               On the left is an AutoCAD fraction and on the right is a CADPIPE CPFRAC fraction:

               10’-3 3/4"              10’-3   3/ 4”


               All CADPIPE dimensioning text uses the CPFRAC font. The styles are defined in the
               defaults file ISODEF.LSP.

               If you are using the AutoCAD Text command and you want the CADPIPE fractions for
               consistency, type in the fraction in the following format (not accepting the AutoCAD de-
               fault):

               10'-3[3\4]”

               To support the typographically correct fractions, CPFRAC required some modifications to
               ROMANS:

               ! the hyphen (-) was shortened
               ! [ was changed to signal “begin numerator”
               ! \ was changed to signal “end numerator”, place /, and “begin de-nominator”
               ! ] was changed to “end denominator”




11. Annotate the Drawing                                                                      CADPIPE ISO
STARTING                                                                                            START-68

              If you use the AutoCAD dimensioning routines, you can accept the default dimension and
              later have CADPIPE change all your fractions to the correct style. To do this, pick the [Fix
              Fractions] command in the “EDIT”—”Text” menu. (This will work if your AutoCAD
              dimension variable DIMASO is set to <1>; this is the AutoCAD default.)

              If you override the AutoCAD default (which is enclosed in angled brackets) you must enter
              any fraction using square brackets and a backslash as described above to have the fractions
              appear correctly. Because CADPIPE has new uses for the above four characters, you
              will input the original characters in any other text that you have using the %% convention:

              You will use:

              ! %%001 for the left square bracket “[”
              ! %%002 for the back slash “\”
              ! %%003 for the right square bracket “]”
              ! %%004 for the hyphen “-”

              CADPIPE also supports a multiplication sign, if you enter it as:

              %%005

              AutoCAD’s Style STANDARD is frequently the default Style, so when you enter text, take
              care to set your Style to CPFRAC through the Text command.

              If you use AutoCAD’s STYLE command to change your font file from CPFRAC to an
              AutoCAD font file, you will have square brackets within your text unless you customize the
              font file (it will have a .SHP extension) to support the above modifications (left bracket, right
              bracket, back slash, and %%005).

              For example, if you do not customize the font file, fractions will be enclosed in square
              brackets, and separated by a backslash. The multiplication sign(asin 6 x 4)will appear as a
              questionmark (6?4).

              Refer to your AutoCAD Reference manual for information on fonts and styles.




CADPIPE ISO                                                                          11. Annotate the Drawing
START-69                                                                                             STARTING
               Isometric text
               Selecting the [Place Text] command places isometric text in the current isometric plane.
               Select the isometric plane for your text before you select the [Place Text] command:

       Command: Justify/Style/<Start point>:

       Style name (or ?) <ISOLH>:

       Justify/Style/<Start point>: (Digitize a point on your drawing where you want the text to begin.)

       Height <0’-0 1/16">: .125<Return> (Enter the text height or press <Return> to accept the
                                       default.)

       Rotation angle <330.0000>:

       Text: C.O.I. 5P14 SHT2 (Enter the text to be placed on the drawing.)
       Command:

               Orthographic text
               To place non-isometric text (orthographic text), select the [Place Text] command:

       Command: Justify/Style/<Start point>:
       Style name (or ?) <ISOLH>:

       Justify/Style/<Start point>: s (Enter S to select the text style.)

       Style name (or?) <ISOLH>: standard (Type standard to select the standard CADPIPE font.)

       Justify/Style/<Start point>:
       Point or option keyword require. (Digitize a point on the drawing where you want the text to
                                       begin.)

       Height <0’-0 1/16">:
       Rotation angle <330.0000>: 0 (Enter 0 for the rotation angle.)

       Text: C.O.I. 5P14 SHT2 (Enter the text to be placed on the drawing.)
       Command:

               Label routing line

               “ANNOTATION” > [Label Line]

               [Label Line] allows you to label a routing line with the line designation, size, and material
               spec simply by digitizing an object on the line. (You cannot digitize the routing line itself
               because it does not contain any size information.)

       Command: <<Label Line>>
       Digitize item <Exit>:: NODE of (Digitize an object on the routing line you want to label.)

       Digitize tag location:: (Digitize the middle point of the tag text location. You can change
                              isoplanes at this prompt.)

       Digitize item <Exit>: NODE of (Label another line or enter <Return> to exit.)
       Command:
11. Annotate the Drawing                                                                         CADPIPE ISO
STARTING                                                                                         START-70

              You can customize labels. Refer to Customizing.

              Date/Time stamp

              “ANNOTATION” > [Date/Time]

              This command adds a date/time stamp to your drawing. If you decide not to insert a date/
              time stamp during drawing initialization, use this command to add it to your drawing at any
              time:

              Insert/update title block

              “ANNOTATION” > [Title Block]

              This command inserts a title block onto your drawing, or updates the title block if one has
              been previously inserted.

      Insert title block [Yes/No] <Yes>:<Return> (If there was a title block already on the drawing,
                                                this prompt would read “Edit title block [Yes/No]
                                                 <Yes>:”)

      Insertion point: NODE of (Digitize the location of the title block.)

              Then the attribute values for the title block are prompted for:

      Enter drawing number < current default>:

      Enter job number < current default>:

      Enter revision number <current default>:

      Enter Area no. <default>:

      Enter Priority No. <default>:

      Enter Sheet No. <default>:

      Drawn by <default>:

      Drawing date < default>:

      Checked by < default>:

      Date checked < default>:

              You can customize the title block template. Refer to Customizing.




CADPIPE ISO                                                                       11. Annotate the Drawing
START-71                                                                                            STARTING




12. Automatic Bill of Materials
                 “AUTO” > [BOM]

                 A complete and accurate bill of materials listing can be generated at any time during the
                 drawing session.

                 The Bill of Materials program extracts information from a disk file, not from the drawing on
                 your screen. This increases the speed of the materials extract. Thus, you will always be
                 asked if you want to save your drawing.

                 The BOM can be sorted by six different methods, and can be sent to a printer, to a file or to
                 the text screen.

                 See “BOM/GBOM” for more information.


13. Balloons
                 “AUTO” > [Balloon]

                 Prior to “ballooning” your drawing, ensure that every item to be ballooned is contained in
                 your BOM on the drawing and ensure that it is up to date.

                 Once all the items are in your BOM, pick [Balloon] from the “AUTO” menu. The Balloon
                 routine offers you the following options:

        Auto/Insert/Edit/<Exit>::

                 A brief explanation of each option follows:

                 Auto
                 The Auto option adds a balloon to all unballooned fittings.

                 Valves with their accompanying gaskets and bolts, with or without flanges, are automatically
                 combined into a balloon group. Only one balloon has a leader line.




12. Automatic Bill of Materials                                                                 CADPIPE ISO
STARTING                                                                                           START-72


              You should be familiar with two terms: the Group and the Leader balloon. If you
              place a valve with two flanges, the valve will have one lead balloon (with a leader
              line) and a group of related balloons (without leader lines) for the flanges, the gas-
              kets, and the bolts (one balloon will be placed for the gaskets).

              If you have used AUTO-PIPE or AUTO-ELBOW the balloons for your pipe and your
              elbows come in on the plane that CADPIPE chose when placing the balloons and elbows.
              You might want to use the “Plane” option to change the plane of some of these
              balloons.

              You can update balloon(s) already on your drawing. If a fitting’s BOM number changes
              because you have added or deleted items, you will update the BOM number of the balloons
              to reflect the change.

              Insert
              You can add a balloon to a fitting provided that the fitting isincluded in theBOM.

              If your fitting is not included in the BOM, then you can use the Balloon command in the
              “CADPIPE”—”Symbols” menu. This command gives you the choice of placing one, two or
              three lines of text in the balloon.

              AUTO-BALLOON editing features will not work on balloons
              placed from the “Symbols” menu.

              Edit
              If you choose the “Edit option” you will see:

      Delete/Move/Leader/Plane/Group/Tidy/<Exit>::

              Delete: You can delete outdated balloon(s). If a balloon’s BOM number is no longer valid
              or if the fitting it belongs to is deleted, you will delete the balloon from the drawing.

              Simply digitize the edge of the balloon you want to delete. If the balloon is the lead balloon
              of a group, the whole group is erased.

              Move: The Move option lets you move the balloons. CADPIPE prompts you to digitize
              the balloon. After you pick the edge of the balloon, the balloon will move to the fitting it
              references— anywhere on the drawing—and then you can drag it to the location you want.

              A group of balloons may be moved as a single entity if you digitize the lead balloon. Mem-
              bers of a balloon group can also be moved to allow for custom shaped groups. You can
              continue to move balloons until you decide to exit.




CADPIPE ISO                                                                                      13. Balloons
START-73                                                                                          STARTING

               Plane: Change your isoplane at any time by selecting a new working plane from the
               “Isoplanes” pulldown menu or tool bar. Once you select a plane, any balloons digitized after
               selecting the plane are automatically changed to the new plane.

               Group: Create a custom group or add balloons to already existing groups. Digitize which
               balloon will serve as the lead balloon (only balloons with leader lines may be selected). You
               are prompted to digitize the remaining balloons to make up the new group. Enter <Return>
               to form the new balloon group.

               Tidy: This option aligns custom groups. Balloons partially invisible are returned to normal
               positioning. Groups with gaps are put back together.

               Leader: This option allows you to change the location of a leader line.

               AUTO-BALLOONS have a node in the center for easier selection.

14. Plotting
               To plot your CADPIPE drawing, select [Print/Plot] from the “FILE” menu. This is basically
               the AutoCAD PLOT command, with a few important differences. When you pick [Print/
               Plot] from the menu, the CADPIPE layers CPLP, CPLPOFF, CPLPOVR and CPRT are
               automatically turned off. As well, the ‘olet weld dots are turned off. After this is done, the
               standard AutoCAD plot prompts appear. Refer to your AutoCAD manual for information
               on plotting.

               If you want to continue to work in the current drawing after you have plotted, reset the
               layers by picking the “Display” toggle in the “TOGGLES” menu.

               If you type Exit at the command prompt, the same layers that are turned off for plotting are
               also turned off. This allows you to batch plot drawings at a later date.




14. Plotting                                                                                   CADPIPE ISO
STARTING                                                                                     START-74




Getting Help
              All CADPIPE commands are explained in on-line Help. To find information electronically
              instead of in the printed manuals, click on the question mark (?) in the relevant menu.

              Click on “Search” in the “Help” dialog box.

              In the “Help Item” edit box, type in the command, part of the command or a key word.

              Click on “ShowTopics”.

              Use the scroll bar to view all the topics for that command.

              Click on “Go to” when you have highlighted the topic you need.

              Examples in the CADPIPE on-line help are given in imperial units. Metric measurements are
              given in brackets when the unit measurement is critical to understanding a concept.


              This concludes the Starting chapter.




CADPIPE ISO                                                                                Getting Help
BOM-1                                                                                   BILL OF MATERIALS



                                                 BILL OF MATERIALS


Introduction
               The CADPIPE Bill of Materials program generates a complete and accurate list of materials
               from your drawing at any time during your drawing session. You can send the output to your
               display, to an ASCII file, to an SDF file, to a database file or to your printer. You can also
               place the bill of materials on your drawing.

               You can customize a user code and user description on your bill of materials with the
               CADPIPE Specification Generator, which is described in your Database manual.



Entering the Program
               To extract a bill of materials, pick [BOM] from the “AUTO” menu or type AB at the
               command prompt:

Command: <<BOM>>

               The BOM is extracted from the drawing on disk The BOM is not extracted from within
               AutoCAD. Consequently you will be prompted to save your drawing file each time you
               want to extract the bill of materials; it is this saved file that the CADPIPE BOM will use.

               The BOM dialog box gives three options: Report, Place BOM on Drawing, and CDF File.
               We will examine each of these options.




Introduction                                                                                   CADPIPE ISO
BILL OF MATERIALS                                                                                  BOM-2



1. Report Option—BOM Selection Window
              If you pick the Report option, you will see the BOM Selection dialog box:




              The selections you make in this box specify what information you want to appear in the
              BOM and how it should be displayed. The following choices are available:

              ! Material type
              ! Sorting method
              ! Output device
              ! Include/exclude long description
              ! Include/exclude revision number
              ! Include/exclude weight

              You merely click on the category you want and then click on “OK” when you have made all
              your selections. If you click on an item twice, it will be deselected. A default selection is
              automatically highlighted for you.




CADPIPE ISO                                                      1. Report Option—BOM Selection Window
BOM-3                                                                                  BILL OF MATERIALS


              Material Type Selection

              The CADPIPE Bill of Materials program can generate output organized by three different
              material categories:

              ! All items on the drawing
              ! Shop items only, or
              ! Field items only

              If you have not used your Shop/Field toggle during your drawing, then choosing shop or
              field will not give you a listing in the “Shop items only” or “Field items only” options.

              Sorting Method

              The next option in the BOM Selection Window is the method by which the BOM will be
              sorted. Click on the sorting method that you want.

              The following is a description of each option:

              By line designation
              This output format lists all the materials that you have
              placed on the drawing by line number. A new page will be
              started for each change in line number or material class.

              By material class
              This output format will list all the items placed on your
              drawing under each separate material specification. A new page will be started for each
              change in material specification.

              By pipe cut lengths
              This output format lists all the pipe cut lengths, with the end conditions of each pipe. CAD-
              PIPE automatically adds the threaded and socket welded engagements to the pipe cut
              lengths. The BOM pipe cut lengths indicate the end conditions of the pipe. For example, in
              the report to the printer, display, and ASCII file, BE = bevelled end; BBE = bevelled both
              ends; PE = Plain end; TBE = Threaded both ends; and ME = Match end. The pipe cut
              length coding differs from this in the SDF file.

              By item description
              This will list your items without breaking them down into material class or line designation.
              The items are listed in alphanumeric order.




1. Report Option—BOM Selection Window                                                         CADPIPE ISO
BILL OF MATERIALS                                                                                     BOM-4

              Selected line number
              A dialog box appears listing all the lines in your drawing. Click on the line number you want
              and then “OK”.

              Selected material class
              A dialog box appears listing all the material classes in your drawing. Click on the material
              class you want and then “OK”.

              Output Device Selection

              The Report options of the bill of materials can be directed to four output “devices”:

              ! screen display
              ! printer
              ! ASCII file
              ! SDF file
              ! Access Database

              You can modify the BOM by selecting the ASCII file as your
              output file, and then making your alterations with a text editor,
              exporting to MS Access, or using the SDF file as input into a
              custom Bill of Materials program of your own.

              Screen display
              Select this output to view the bill of materials at any time during your drawing session,
              without creating a hard copy.




CADPIPE ISO                                                        1. Report Option—BOM Selection Window
BOM-5                                                                                    BILL OF MATERIALS


              In your bill of materials, you may notice tag numbers next to some items. These are speci-
              fied in the Project directory (\PROJ or the default \CPTABLE\SPEC or
              \CPMTABLE\SPEC). The specification files are created with the CADPIPE Specification
              Generator. (Please refer to the Specification Generator section of your Database manual.)

              If you tag a valve in the drawing, the tag will be in this field rather than the user code from
              the specification.

              The Specification Generator allows you to specify these tags (user code) as well as a user
              description of the item for the bill of materials printout.

              Printer
              If you select the printer output, CADPIPE will send your bill of materials to a printer for
              hard copy. It will be printed in the category format that you select, and it will include the
              date and the job number on every page.

              CADPIPE has a printer control file named CPBOM.LPT with default values that you can
              customize for your own printer. You will find the file in your \CPEXE directory. We have
              included the following lines in the file:

              PAGEL=60
              PAGEW=132

              SETUP=\015
              RESET=\018
              9PORT#=LPT1

              The “PAGEL” line is setting the length of the page in lines, and the “PAGEW” line is setting
              the width of the page in columns.

              If you reduce the page width in this file, CADPIPE will reduce the number of characters
              allowed for the user description; this reduction applies to the user description data sent to
              the ASCII file as well as to the printer.

              The setup and reset lines are control code strings that are sent to your printer (in this case
              we have given you the codes for an Epson FX-80 ® for the setup and the reset). The
              “PORT#” line is sending the output to printer port LPT1.

               This file sets your printer to condensed mode and then sets it to 10 pitch after
              printing is completed. You can either customize this file, or change your own printer
              setup.




1. Report Option—BOM Selection Window                                                            CADPIPE ISO
BILL OF MATERIALS                                                                                     BOM-6

              The setup control code is a string that is sent to the printer before printing begins and that
              sets your printer to condensed print, in order to fit all 132 columns onto your page. (If you
              have a wide carriage printer you will not need to set your print to condensed, so you can
              take the setup and reset lines out of the file.)

              The reset control code sets your printer to normal (10 pitch) print. For the setup and reset
              codes we have used three-digit decimal numbers, using leading zeros to complete the three.
              You can customize this file for your own printer, if you have the knowledge of your printer’s
              control codes. The control codes are listed in the file in the same format as that used in the
              Lotus 1-2-3 ® setup string command.

              ASCII file
              If you select this output, CADPIPE will prompt you for a file name and saving location. You
              can add notes or special items (using a text editor), and then print out the revised bill of
              materials.

              If you are making a change that must also be made on your drawing, we recommend that
              you change your drawing promptly (in other words, before you forget); otherwise, the next
              time you take off the bill of materials, your CADPIPE generated bill of materials will not be
              consistent with the earlier one that you changed.

               You cannot import this file back into the CADPIPE ISO/ORTHO program for
              printing through the Bill of Materials printer output option.

              Access Database File
              If you select this output, CADPIPE will prompt you for a file name and saving location. You
              can bring this file into ACCESS and make any required modifications.




CADPIPE ISO                                                       1. Report Option—BOM Selection Window
BOM-7                                                                                      BILL OF MATERIALS

              SDF File
              If you select this output, CADPIPE will prompt you for a file name. After you enter the file
              name, CADPIPE will create an SDF file in your current working directory.

              Each line in this file is 107 characters wide, with the last two characters being a carriage
              return and a line feed. The 107 characters that you will be using are separated into 16 fields:

              01 - 16:        The user code, which is read from your .DES file.

              17 - 17:        Version flag

              18 - 32:        Line number

              33 - 40:        Materials specification

              41 - 41:        Master code (reserved for CADPIPE)

              42 - 42:        Finish code (not currently used)

              43 - 43:        Plan/elevation code (reserved for CADPIPE)

              44 - 44:        Shop/Field code

              45 - 48:        This is the item code, which follows the same item code naming conventions
                              as used in the table names (refer to the Database Editor in your Database
                              manual).

              49 - 51:        This is “END1”, the first of three ends that can be specified by CADPIPE’s Bill
                              of Materials program. It consists of three columns, the first for size, the second
                              for rating or schedule, and the third for the end type.

              52 - 54:        This is “END2”, and it follows the same format (size, rating/schedule, end type)
                              as ”END1".

              55 - 57:        This is the third end (“END3”).

              58 - 73:        The valve tag number, which you set with the valve tag option in CADPIPE ISO
                              and ORTHO.

              74 - 83:        This is the quantity or length field; with pipe you are given a length.

              84 - 87:        Revision number

              88 - 95:        Revision date

              96 - 105:       Weight 1

              106 - 135:      Weight 2

              136 - 137:      Carriage return/line feed

              Next we will give you typical examples in a sample SDF file and explain the coding.


1. Report Option—BOM Selection Window                                                             CADPIPE ISO
BOM-9                                                                               BILL OF MATERIALS


        Gate valve
        VG302
        This is a sample user code which you can specify through the CADPIPE Specification
        Generator. Please refer to your Database manual. The user code can be up to 16 characters
        in length and can be assigned to any item.

        5P14
        This is the line number assigned to the item in the drawing.

        ABB1
        This is the material specification assigned to the item in the drawing.

        C-0
        These three columns are reserved for CADPIPE’s internal use.

        O
        This column indicates whether an item is sent to the shop or field. “S” is for shop items; “F”
        is for field items. “O” means the toggle is off.

        AAC-
        This is the four-character item code. You should refer to the Database Editor in your
        database manual for a full description of the codes. “AAC-” is a regular pattern gate valve.

        1gM
        This is referred to as END1, and it is a three-character field. With valves, END1 has the
        rating while END2 has the schedule of the line. This end is flanged (1), the rating of the
        valve is 300# (g), and the size is 8"(200mm)(M).

        1TM
        This is END2. With valves it includes the schedule (T for standard), as well as the end type
        (1 for flanged).

        There is no third end or tag number in this example.

        2.000
        This is the quantity for this item. The quantity is written to three decimal places.

        0
        This is the revision number

        00-11-96
        This is the date of the last revision of the drawing.

        1000 (453.6000)
        This is the weight of the valve. The Weight 2 field is not used for valves.



                                                                                           CADPIPE ISO
BILL OF MATERIALS                                                                                     BOM-10

              Control valve
              The explanation of the control valve is similar to that of the gate valve above. The item code
              is of course different, as are END1 and END2 (although they are both flanged). The main
              difference is that the control valve has a valve tag number that you attached to the valve in
              the drawing.

              Pipe
              Pipe codes have a full END1, but only a partial END2 which holds the end type information
              for the second end. In this example END2 is “Y”, which is the code for a section break.
              You will encounter “A” for butt weld, “B” for threaded, “D” for socket weld, “S” for stub
              end, “R” for reinforced stub end, and “Z” for a pipe break.

Imperial      The length is given in feet to three decimal places. For example, 1.750 is 1’9". The weight is
              stored as pounds per foot in Weight 1. For flanged pipe, the weight of the flange is stored in
              Weight 2.

Metric        The length is given in meters. The weight is stored as kilograms per meter in Weight 1. For
              flanged pipe, the weight of the flange is stored in Weight 2.

              Gasket
              With the gasket you have a unique size code (thickness) added to the fourth character of the
              item code.

Imperial      In the example, the character is the double quotation mark (”). In decimal, this is ASCII
              character 34. Here’s how this figure is arrived at. The gasket thickness, which is 1/16", is
              multiplied by 32, and then 32 is added to this figure, giving you 34. To determine the
              gasket thickness from the code you would check the decimal number of the ASCII charac-
              ter, subtract 32, and then multiply by 1/32".

Metric        In the example, the character is zero (0). In decimal, this is ASCII character 48. Here’s
              how this figure is arrived at. The gasket thickness, which is 1.6mm, is multiplied by 10, and
              then 32 is added to this figure, giving you 48. To determine the gasket thickness from
              the code you would check the decimal number of the ASCII character, subtract 32, and
              then multiply by 0.1mm.

              With gaskets there is only one end given.

              Bolt
              The bolt is similar to the gasket insofar as size coding is again used in the item code. Here it
              is used to specify the diameter (the third character) and the length (the fourth character).

Imperial      We determine the diameter from the code by looking up the decimal value of the ASCII
              character (‘), which is 39, subtracting 32, which leaves us with 7, and then multiplying by 1/
              8" which gives 7/8" as the diameter of the bolt.



CADPIPE ISO
BOM-11                                                                              BILL OF MATERIALS



         We determine the length by looking up the decimal value of 6, which is 54, subtracting 32
         (which leaves 22), and then multiplying by 1/4" which gives 5-1/2" as the length.

         So, you will have noticed that we multiply by 1/32" for gaskets, 1/8" for bolt diameter, and
         1/4" for bolt length. Bolts and gaskets are the only cases where you will encounter this
         coding.

         There are no ends for bolts. The weight for bolts is stored in Weight 1.

Metric   We determine the diameter from the code by looking up the decimal value of the ASCII
         character (6), which is 54, subtracting 32, which leaves us with 22, and then multiplying by
         3.00mm which gives 66mm as the diameter of the bolt.

         We determine the length by looking up the decimal value of the angle bracket (<), which is
         60, subtracting 32 (which leaves 28), and then multiplying by 6.00mm which gives 168mm
         as the length. So, we multiply by 0.1mm for gaskets, 3.00mm for bolt diameter, and
         6.00mm for bolt length. Bolts and gaskets are the only cases where you will encounter this
         coding.

         There are no ends for bolts. The weight for bolts is stored in Weight 1.

         Weld
         With the weld you have only one end.

         Tee
         The tee uses all three ends.

         Threadolet
         The threadolet has been included as an example of ‘olets. ‘Olets make use of END2 only to
         specify the size of the main run. The other spaces in END2 are “hyphened off”.

         Flange
         The flange has been included to show you that END1 is the face and it includes the rating,
         while END2 is the butt and it includes the schedule (as is the case with the valves).

         For lap joint flanges, the weight of the flange is stored in Weight 1; the weight of the stub
         end is stored in Weight 2.




                                                                                           CADPIPE ISO
BILL OF MATERIALS                                                                                      BOM-12
              Long Description

              By selecting “Include Long Desc.”, long descriptions appear in the
              item description column of the BOM.

              Sort by Revision Number

              By selecting “Include Rev in Sort”, you can sort all items in your
              BOM by revision numbers. The revision number is displayed to the left of each item in the
              following format: revision “A” is displayed as <A>.

              Weight

              By selecting “Include Weight”, the weights of items are listed in the BOM. Items with a
              weight of zero—with the exception of gaskets—are flagged with an asterisks (*) in the
              BOM and an arrow in the BOM on the drawing. You can erase the arrows from the
              drawing; they only serve as a warning.


2. Bill of Materials onto the Drawing
              Option 2 of the Bill of Materials program places the BOM on your drawing.

              If you want to place the BOM onto your drawings, your prototype drawing should include a
              BOM template.

              A prototype drawing is necessary for several of CADPIPE’s automated features such as
              updating the title block, listing the bill of materials on the drawing, and importing isometric
              drawings automatically from CADPIPE ORTHO or 3D Design.

              Creating your own bill of materials area

              The bill of materials area on the prototype drawing is a drawing block called
              CP_BOM.DWG and is found in the \CPISO\ISOBLKA (\CPMISO\ISOBLKA) directory
              (please refer to the illustration below).

              If you want to use a differently drawn bill of materials area than the one provided with the
              CADPIPE prototype drawing, you must create your own drawing block using AutoCAD.
              We recommend that you place all entities on layer TITLE. The base point should be set to
              one of the corners of the BOM drawing area to enable you to insert it easily by dragging it
              to a snap point.




CADPIPE ISO                                                               2. Bill of Materials onto the Drawing
BOM-13                                                                                   BILL OF MATERIALS




                 If you are using your own bill of materials drawing area, erase the drawing area on the
                 prototype, including the CP_BOMPT.DWG block, seen as an “x” within a circle.

                 Next, pick [Prepare Prototype] from the “SETTINGS” menu. If you haveerased
                 theCP_BOM drawing area block, you are prompted for the name of your new block:

Enter the filename of the BOM block <None>: (Enter the name of your block (BOM drawing block),
                                           including the DOS path if it is in a directory other than
                                           your current working directory.)

Digitize location: (Drag your new block into position. Use OSNAP INTersection to digitize the appropriate
                 corner of the drawing and you will see the advantage of making your base point one of
                  the corners).

                 If you have erased the block CP_BOMPT (which tells CADPIPE where to start placing the
                 bill of material listing), you are prompted:

Digitize start point for the BOM: (Use OSNAP INT and digitize the appropriate point, most commonly
                                 the lower left corner of the “ITEM” title box.)

                 You are next prompted to digitize the limits of your drawing area that the AUTO-ISO
                 program will use for its drawing. The AUTO-ISO program assumes this area is clear of any
                 entities when it generates the drawing. You are prompted:



2. Bill of Materials onto the Drawing                                                           CADPIPE ISO
BILL OF MATERIALS                                                                                    BOM-14


Digitize lower left limit of your drawing area: (Pick the point as shown in the illustration on the
                                               previous page. Do the same for the upper right
                                               limit.)

               As in the drawing initialization procedure discussed in the Starting chapter, you are
               prompted for the default scale factor. Allowable values are between 0.5 and 2.0. This
               default scale factor is used each time you start a drawing based on this prototype.

               You can then END the drawing session and use this drawing as a prototype for other
               drawings.

               Placing your listing on the drawing

               To place the bill of materials on the drawing, select Option 2 from the BOM dialog box
               followed by <Return>. Notice that you can also select the sort order here:




               If your prototype drawing includes the block CP_BOMPT, the bill of materials listing is
               automatically inserted on the drawing (CADPIPE uses the insertion point of the block as
               reference for the starting point).

               If this block is missing, then you will see the prompt:

Digitize top left start point: NODE of (Digitize the intersection of the two lines at the bottom left of
                                      the “ITEM” title rectangle [see the Figure below]. The BOM will
                                      be printed onto the drawing.)

Digitize top left next point: NODE of (You will see this prompt if there are more than 40 lines in your
                                     bill of materials. Digitize the point where you want the BOM to
                                     continue.)


CADPIPE ISO                                                              2. Bill of Materials onto the Drawing
BOM-15                                                                                        BILL OF MATERIALS




                   BOM on drawing without weight information

                   If you don’t want the BOM on the drawing to list weight, modify the WTG_FLG variable in
                   the ISOUSR.LSP file. By default the variable is set to “T”, which means weight is included
                   when the BOM is placed on the drawing. With a text editor, search the ISOUSR.LSP
                   file for the following section of the file and change “T” to “nil”:

                   desc_len                 55               ;descr. line length
                   wgt_flg                  T                ;Weight display flag. T/nil


3. Database File
                   The Bill of Materials program also saves the BOM to a comma delimited database file that
                   can be exported to most commercially available database programs.

                   When you select CDF File option, a dialog box prompts you for a file name and saving
                   location. By default it uses your drawing name and stores the file in the \ISO working
                   directory, but you can save it to any file name or directory. The file is automatically given a
                   .CDF extension.

                   The BOM sort order determines the output of the CDF file. If you require pipe cut lengths
                   or revision information, then you must set the BOM sort order before you create the CDF
                   file. Below is an example of a .CDF file:

                   Column 1 Drawing name                     Column 9 Short description
                   Column 2 Item No                          Column 10 Long description from spec
                   Column 3 Quantity                         Column 11 Line number
                   Column 4 Size                             Column 12 Spec number
                   Column 5 Sch/Rating                       Column 13 Revision number
                   Column 6 Shop/Field                       Column 14 Future
                   Column 7 Tag                              Column 15 Weight
                   Column 8 User Tag



3. Database File                                                                                     CADPIPE ISO
BILL OF MATERIALS                                                                                        BOM-16


BOM Sort Index
              If you want your bill of material listing to be sorted in an order other than the default alpha-
              numeric, create a sort index file. This file is named CPBOM.SDX; the BOM program
              checks your project directory and then your \CPEXE directory for this file.

              If the file is found and it is valid, then the BOM listing is sorted as directed by this file.
              Otherwise, the standard alphanumeric sort is done. Note that there is a slight performance
              penalty when using the sort index file.

              SDX file format

              This file format uses four-digit item codes, one per line for a maximum of 256 lines. Dashes
              are wild cards—the first character cannot be a dash.

              Any items in the BOM not matching a code (with wild cards) does not appear in the BOM
              listing. If errors or unknowns are encountered in the .SDX file, it is not used and a traditional
              BOM is printed.

              An example CPBOM.SDX file follows:

              PP—                       ;   pipe
              PN—                       ;   pipe nipples
              BB—                       ;   flanges
              BF—                       ;   blind flanges
              BO—                       ;   orifice flanges

              1—-                       ;   elbows
              2—-                       ;   fittings
              4—-                       ;   sm fittings
              5—-                       ;   olet
              A—-                       ;   valves
              G—-                       ;   gaskets
              Z—-                       ;   bolts
              8—-                       ;   custom inlines
              9--                       ;   custom fittings
              0—-                       ;   misc and BOM info blocks
              w--                       ;   welds

              This file prints the BOM in a layout like the Specifications listing, with pipe first, then
              nipples, then flanges and orifices, the elbows, fittings, small fittings, ‘olets, valves, gaskets,
              bolts, inlines, and then miscellaneous blocks.

              If you do not want to list bolts, then leave the “Z—--”out of the file.




CADPIPE ISO                                                                  4. Editing Drawing BOM Sort Order
BOM-17                                                                                 BILL OF MATERIALS




Customized BOM Short Description and Pipe Lengths
               Short Description

               Customizing your BOM short descriptions is a simple, one-step operation.

               To customize the short descriptions for all the databases on your system, use a text editor to
               modify the OVL.PAR file in the \CPEXE directory.

               If the changes apply to only one database, copy OVL.PAR to the relevant database direc-
               tory and customize this version of the file. In the example below, items placed using the
               Plastic database use the customized short descriptions, while all other items use the short
               descriptions from the\CPEXE directory:

copy \CPEXE\OVL.PAR \CPTABLE\PL\OVL.PAR

                In the OVL.PAR file, descriptions listed under the heading “Short Descriptions”
               apply to all reports, while those listed under “Drawing Descriptions” are used when
               placing the BOM on the drawing.

               Pipe Lengths

               You can also customize the number of decimal places reported in the BOM for pipe lengths,
               both cut lengths and and total lengths. You customize the decimal places for pipe lengths in
               the CPBOM.PAR file. Change the number of decimal places in the following section of the
               file:

Pipe Cut Decimal Places                2                ; for pipe cut lengths reported
Pipe Total Decimal Places              1                ; For total pipe lengths reported




Customized BOM Short Description and Pipe Lengths                                             CADPIPE ISO
BILL OF MATERIALS                                                                                       BOM-18


Placing a Title Block on Your Drawing
                To place a title block on your drawing, pick [Title Block] from the “ANNOTATION” menu:

Insert title block [Yes/No]<Yes>:Y <Return>

Digitize insertion point: (Drag the block into place. The insertion point is the bottom right corner of the
                         title block.)

                You are then prompted for the information that appears in the title block (drawing number,
                job number, revision number, etc.). In ISO, your default title block looks like this:




                You will of course be modifying this block to suit your own purposes. The drawing is in
                \CPISO\ISOBLKA (\CPMISO\ISOBLKA). It is called CPITITLE.DWG.

                Modify the drawing, but do not change the names of the three critical attributes: CP_TJNO,
                CP_TDWG, and CP_TREV. These are for the job number, the drawing number, and the
                revision number. The job number is used by the Global Bill of Materials program; the
                revision number is used by the CADPIPE Line Index program.

                The attributes CP_TACD, CP_TPNO, CP_TSNO are used for Area No., Priority No.
                and Sheet No., respectively. If these attributes are present, they are added to the header
                information if you send your BOM to the SDF file. If you change the labels of these at-
                tributes, they are not included in the SDF file. You may delete these three attributes if they
                are not needed.

                You can add or delete other attributes.

                Refer to the following pages for an example of a Bill of Materials
                printout .



CADPIPE ISO                                                               Placing a Title Block on Your Drawing
BOM-19             BILL OF MATERIALS




Sample Printouts        CADPIPE ISO
 BILL OF MATERIALS




   CADPIPE ISO
Sample Printouts
AISO-1                                                                             AUTOMATIC ISOMETRIC




                                    AUTOMATIC ISOMETRIC

Introduction
               The CADPIPE AUTO-ISO program basically automates your ability to create isometric
               drawings of lines that you have already drawn in your CADPIPE ORTHO or 3D DESIGN
               programs.

               You need either CADPIPE ORTHO, or 3D DESIGN, and CADPIPE ISO to create
               automatic isometrics.

               The AUTO-ISO program uses CADPIPE’s Universal Data Exchange (UDE) files, which
               you create with the CADPIPE UDE Out command.

               You create an automatic isometric in three steps:

               1 Complete a CADPIPE ORTHO or 3D DESIGN drawing (our example in this chapter is
               an ORTHO drawing called ORTDONE.DWG);

               2 Create UDE files within CADPIPE ORTHO or 3D DESIGN with the UDE Out Com-
               mand,

               3 Load CADPIPE ISO and select the [ISO] command from the “AUTO” menu.

               We will discuss step 3 in this chapter, after giving you guidelines you should follow when you
               create your ORTHO drawing.




Introduction                                                                                  CADPIPE ISO
AISO-2                                                                            AUTOMATIC ISOMETRIC




A Valid ISO Working Directory
               When you are generating automatic ISOs you must be in the \ISO working directory, at the
               same directory level as the \UDE directory where your relevant UDE files are stored.


The Prototype Drawing
               To produce the automatic isometric drawings from the UDE files, it is necessary to have a
               valid prototype drawing. In the prototype drawing, the limits of the drawing area and the
               start point of the BOM must be defined. This prototype drawing is used for each ISO
               drawing which is produced by AUTO-ISO.

               You can create any manner of prototype drawing that you want, but it must be in the current
               \ISO working directory. For our purposes, we will use the drawing, ISO.DWG for our
               AUTO-ISOprototype.

               Create the drawing ISO.DWG as you would create any isometric drawing and launch
               CADPIPE ISO.

               After the program has finished loading, prepare the prototype for the automatic isometrics.
               This procedure is only done once for each prototype drawing.

               Pick [Prepare Prototype] from the “SETTINGS” menu:

Digitize start point for the BOM: (This prompt appears only if a start point does not already exist on the
                                 drawing; one does exist on the default CADPIPE prototype. This
                                 option allows you to digitize the start point on a customized template
                                 for the BOM so that the AUTO-ISO knows where to place the BOM.)

Digitize lower left limit of your drawing area:: (At this prompt and the next one you are required
                                                to digitize the lower and upper limits ofthe drawing
                                                area so that the AUTO-ISO knows where on the
                                                drawing to place the automatic ISO.)

Digitize upper right limit of your drawing area::
Enter default scale factor <1.00>: (Enter the scale at which you want your isometric drawing to appear.)




The Prototype Drawing                                                                        CADPIPE ISO
AUTOMATIC ISOMETRIC                                                                                AISO-3




Figure 1


Save drawing [Yes/No] <Yes>:
Command:

              The prototype is now ready for your use and, unless you want to change it, will not need to
              be prepared again.

              Possible reasons to change the prototype would be to modify the drawing limits to ‘fit’ the
              isometric on the drawing, or if a change to the drawing scale is required.




CADPIPE ISO                                                                         The Prototype Drawing
AISO-4                                                                               AUTOMATIC ISOMETRIC


The Automatic Isometric Drawing
               When you are ready to proceed, simply select [ISO] from the “AUTO” menu, and you will
               see the AUTO-ISO dialog box:




               Click on the UDE file(s) from which you want to create the isometric drawing.

               There are three defaults set in the AUTO-ISO dialog box. It is assumed you want to select
               the orientation of the routing lines as they will appear, so this option is automatically high-
               lighted. Likewise, “Place BOM on drawing” and “Place Dimensions on drawing”
               are also highlighted.

               If you do not want the BOM or dimensions on the drawing, and you would like to accept
               the default orientation, deselect these options by clicking on the square next to them.

               If you are placing a BOM on the drawing, you must also select the sort order and AUTO-
               Balloon options.

               When you have made your selections, click on “OK”.




The Automatic Isometric Drawing                                                                 CADPIPE ISO
AUTOMATIC ISOMETRIC                                                                                   AISO-5

              Views and planes

              We chose (above) to select views and planes, so we see a screen with the default orienta-
              tion of the isometric we are creating, as well as the following prompt:

Change planes/Left/Right/<Exit>:

              The default orientation is as follows:




Figure 2


              Note the North arrow. In some views (such as the one above), the NORMAL plane is
              difficult to see or to visualize. The next view, however, shows you the NORMAL (and it is
              the view we will choose).

              The default orientation is not acceptable for illustrating the line or for dimensioning. So we
              enter R <Return> to rotate the line to North Right.




CADPIPE ISO                                                                 The Automatic Isometric Drawing
AISO-6                                                                              AUTOMATIC ISOMETRIC


               We see the following:




Figure 3

               This is the orientation we choose.

               After selecting the view, we have the option of selecting the plane in which each fitting on
               each segment will appear.

               When you enter C at the prompt, a small valve drawing appears on each segment showing
               the plane in which the fittings will appear (as you can see in Figure 4).

               The following prompt appears:

Select valve to change <None>:

               At this prompt, digitize the valve on the segment on which you wish to change the plane.
               After you choose the valve, the following prompt appears:

Digitize ISOplane:

               At this prompt, select the plane you want the fittings to appear in on that segment.




The Automatic Isometric Drawing                                                                CADPIPE ISO
AUTOMATIC ISOMETRIC                                                                                 AISO-7




              When you accept the planes, press <Return> to go back to the previous prompt, and
              press <Return> to go on to the next Iso drawing. For each AUTO-ISO you are produc-
              ing, you are asked for the orientation and planes. When you have accepted the last
              drawing, the program produces each of the AUTO-ISOs you selected.

              If for any reason, AUTO-ISO is unable to complete your isometric, the drawing is stamped
              “INCOMPLETE” and the program continues with your next selection or exits to the
              isometric log viewer.

              ISO Log

              Once all of the isometrics have been drawn, CADPIPE provides you with a list of all
              drawings, and the status of each.

              Select [OK] or press
              <Esc> to exit.




CADPIPE ISO
                                                                       The Automatic Isometric Drawing
CUSTOMIZING                                                                                     CUSTOM-1




                                                                CUSTOMIZING
              CADPIPE ISO is a design package that handles most piping applications and situations.
              We recognize, however, that users must be able to customize the program; and therefore
              have adopted an “open architecture” philosophy.

              CADPIPE will only search for and use files with the original CADPIPE names. Therefore,
              you cannot change the names of the files you edit.

              You must take care when you customize the files; incorrect syntax or spacing, or missing
              brackets, will cause error messages.

              Imperial and Metric

              Imperial units are used in all examples in the documentation. Metric measurements are given
              in parentheses when the unit of measure is critical to understanding a concept.

              The following chart shows imperial filenames and directories, and their metric equivalents:

              IMPERIAL                METRIC
              \CPTABLE                \CPMTABLE
              \CPISO                  \CPMISO
              \ISO.DWG                \MISO.DWG
              ISODEF.LSP              MISODEF.LSP



Editing System Defaults
              CADPIPE defaults that are active every time you start CADPIPE are stored in the
              ISODEF.LSP file in the \CPISO\ISOLSP directory. Some of these defaults can be modi-
              fied for the current drawing session only through the [System Defaults] command in the
              “SETTINGS” menu.

              Most of the defaults in the ISODEF.LSP can be modified through the [Edit Defaults File]
              command in the “EDIT”—”Customizing” menu. Others are modified by directly changing
              the file in a text editor.




CADPIPE ISO                                                                         Editing System Defaults
CUSTOMIZING                                                                                      CUSTOM-2



               Edit Defaults File command

               “EDIT” > “Customizing” > [Edit Defaults File]

               The [Edit Defaults File] command gives you a quick and easy way to edit your system
               default settings.

               When you pick the command a dialog box ap-
               pears showing the four categories into which
               defaults are divided. Click on the category you
               think best applies to the default you want to
               change. For example, click on “Toggles”:

               Click on the Bill of Materials toggle. Another
               dialog box displays the settings for that default:




               Select the“Off” toggle. For some defaults, you click on new settings; for others, you type in
               the new setting.

               For more information on any default, click the “Details” button.


Editing System Defaults                                                                       CADPIPE ISO
CUSTOMIZING                                                                                       CUSTOM-3

              When you have made the change click on “OK”.

              Select another default or click on “OK” to return to the list of categories. You may select
              another category and make more changes.

              When you are finished all your modifications click “Update”. The changes you have made
              are written to the defaults file (ISODEF.LSP). These new settings will be active next time
              you start CADPIPE.

              The ISODEF.LSP file

              There are a few defaults that cannot be modified from within the program; they must be
              modified in the AutoLisp file itself.

              Load the ISODEF.LSP file into an ASCII text editor. The top of the file is the list of user-
              definable defaults in alphabetical order. You will see the variable name, which is a CAD-
              PIPE abbreviation, the current setting for the default and a brief description of the default.
              For example, the Auto-Centerline toggle reads:

              acl_tog 1                        ; Auto-Centerline toggle (for elbows)

              The Auto-Centerline toggle is controlled through the [Edit Defaults File] command.




CADPIPE ISO                                                                          Editing System Defaults
CUSTOM-4                                                                                          CUSTOMIZING

               Any comments preceded by a semi-colon (;) are ignored by AutoLISP and are for your
               information only.

                You must not change the CADPIPE variable name, such as bom-dso or abald or
               isoft; if you do, the program will not recognize the name.

               Before you change the Defaults file, print out a hard copy of the file for reference. You will
               also want to keep a backup copy of this file, or any file that you modify.

               You must reload CADPIPE ISO after you change this file, or use the “SETTINGS”—
               [Reset] command with the <Return> option, to enable CADPIPE to use the new values.

               Adding optional defaults
               You can add optional variables to the defaults file that control the default isoplane in which
               the fittings in an AUTO-ISO drawing will appear. You can add these to the defaults file if
               you need them.

               Isoplane for AUTO-ISO fittings

               Add the following line anywhere in the list of user-definable defaults:

               aiso_gen_ipln            A

               If this default is set to “A”, flanges will appear vertically in the automatic iso drawings. Use
               “C” for the top plane and “G” for the normal plane.

               Add the following line anywhere in the list of user definable defaults:

               aiso_slp_ipln            A

               This default is the same as the settings above but applies only to sloped lines.

               By default, CADPIPE allows all users to edit the weight of individual items on each draw-
               ing. This may be inconvenient when the database is maintained by a single department or
               person. For this reason, you can add the variable cp_admin to the defaults file so the
               edit weight fields are not available. To disable the edit weight fields set cp_admin to t.

               Disabling the Edit Weight command

               The line would read:

               cp_admin                 t




Editing System Defaults                                                                           CADPIPE ISO
CUSTOM-5                                                                                      CUSTOMIZING


              Minimum Pipe Length
              When using the AUTO PIPE or Place Pipe commands, the shortest length of pipe you may
              place is restricted to the Minimum Pipe Length default (minplf). This default is used as a
              factor of the true pipe O.D. For example, if you place 6" (150mm) pipe and the value
              of minplf is 1.0, you will not be able to place pipe with a length of less than 6.625" (6 5/8")
              (168mm).

              The only exception to this is BW nipples; these are placed as pipe. You will receive a
              warning if the length is less than would be allowed, but you will not be stopped from placing
              it.

              You can also set a different minimum pipe length for each pipe size. Unlike, minplf, these
              values are not factors of the pipe size but the real minimum pipe size.

              To use alternate values for the Minimum Pipe Length, and essentially disable this default,
              remove the semicolons from the following section of the defaults file:

              ;       (setq
              ;         minplf
              ;           (list
              ;              (list   “A”   0.8400 )
              ;              (list   “B”   1.0500 )
              ;              (list   “C”   1.3150 )
              ;              (list   “D”   1.6600 )
              ;              (list   “E”   1.9000 )
              ;              (list   “F”   2.3750 )
              ;              (list   “G”   2.8750 )
              ;              (list   “H”   3.5000 )
              ;              (list   “I”   4.0000 )
              ;              (list   “J”   4.5000 )
              ;              (list   “K”   5.5630 )
              ;              (list   “L”   6.6250 )
              ;              (list   “M”   8.6250 )
              ;              (list   “N”   10.7500 )
              ;              (list   “O”   12.7500 )
              ;              (list   “P”   14.0000 )
              ;              (list   “Q”   16.0000 )
              ;              (list   “R”   18.0000 )
              ;              (list   “S”   20.0000 )
              ;              (list   “T”   22.0000 )
              ;              (list   “U”   24.0000 )
              ;              (list   “V”   26.0000 )
              ;              (list   “W”   28.0000 )
              ;              (list   “X”   30.0000 )
              ;              (list   “Y”   36.0000 )
              ;              (list   “Z”   42.0000 )
              ;         )
              ;       )




CADPIPE ISO                                                                          Editing System Defaults
CUSTOM-6                                                                                          CUSTOMIZING

               You can then change the values listed beside each size code to new minimum pipe lengths.
               By removing the semicolons, the Minimum Pipe Length default is automatically overwritten
               with these values.

               Text Styles
               There are six text styles defined in the defaults file. One (CPBOM, which uses the CPTEXT
               font file) is the style for your bill of materials text; the others are for the isometric text, and
               they use the CADPIPE-modified font, CPFRAC. Refer to the “Text and Fractions” section
               in Starting for more information on CPFRAC.

               You can change the text style names by substituting your own name. Change the name in
               CAPITAL LETTERS only (ISOLH, ISORH, ISOTLH, etc.):

       ; TEXT STYLES
       (setq
         isoft            “cpfrac”               ;   isometric text font file
         isolh            “ISOLH”                ;   left hand plane style name
         isorh            “ISORH”                ;   right hand plane style name
         isotlh           “ISOTLH”               ;   top left hand plane style name
         isotrh           “ISOTRH”               ;   top right hand plane style name
         isonrm           “ISONRM”               ;   normal plane style name

               You can also change the obliquing angle (slant) of the text:

       “_.STYLE”    “CPBOM” “cptext”      “0”   “”   “0” “” “”             ;   BOM text style and font
       “_.STYLE”    ISOLH isoft           “0”   “”   “330” “” “”           ;   LH text style and font
       “_.STYLE”    ISORH isoft           “0”   “”   “30” “” “”            ;   RH text style and font
       “_.STYLE”    ISOTLH isoft          “0”   “”   “30” “” “”            ;   TLH text style and font
       “_.STYLE”    ISOTRH isoft          “0”   “”   “330” “” “”           ;   TRH text style and font
       “_.STYLE”    ISONRM isoft          “0”   “”   “0” “” “”             ;   NRM text style and font

               If you create your own font and name, either make sure that the font has dual orientation, or
               that you remove the last pair of double quotes (which are accepting the last default in the
               STYLE command).

               Also make sure if you use your own font that the text height is defined as 0.0. CADPIPE
               uses the heights defined in ISODEF.LSP when placing text on your drawing.

               The program uses AutoCAD’s STYLE command, and sets the “obliquing (slant) angle”,
               while accepting AutoCAD’s defaults for the other text options.

               You can refer to your AutoCAD Reference Manual for more information on “Text Styles
               and Fonts” and the “STYLE Command”.




Editing System Defaults                                                                           CADPIPE ISO
CUSTOMIZING                                                                                    CUSTOM-7


              Dimension Variables
              You can easily modify the AutoCAD dimension variables that CADPIPE uses in its dimen-
              sioning routines. You can modify them in this file, or you can set them from the “Command:”
              prompt using the SETVAR and DIMVAR commands.

              For example, if you change the dimension variable “DIMTIH” from 0 to 1, your vertical
              dimension will be placed with a broken dimension line and will be placed as either left hand
              isometric or right hand isometric text instead of in the vertical position.

      ; AUTOCAD DIMENSION VARIABLES USED BY CADPIPE

      (setvar “DIMASZ” 0.130)                 ; Arrow size
      (setvar “DIMEXE” 0.130)                 ; Extension above dimension line
      (setvar “DIMEXO” 0.130)                 ; extension line origin offset
      (setvar “DIMRND” 0.000)                 ; Rounding value
      (setvar “DIMTIH” 1 )                    ; Place vertical dimension text in vertically
      (setvar “DIMTXT” 0.09 )                 ; text height
      (setvar “DIMZIN” 3 )                    ; include zero inches, suppress zero feet
      (setvar “DIMALT” 0 )                    ; alternate units off
      (setvar “DIMALTF” 25.40)                ; alternate units scale factor
      (setvar “DIMALTD” 0 )                   ; zero decimals in alternate units

      ;OTHER AUTOCAD DIMENSION VARIABLES INITIAL VALUES

      (setvar “DIMCEN” 0.090)                 ; Center mark size
      (setvar “DIMDLI” 0.380)                 ; Dimension line increment for continuation
      (setvar “DIMTAD” 0 )                    ; Place text above dimension line




CADPIPE ISO                                                                        Editing System Defaults
CUSTOM-8                                                                                           CUSTOMIZING




Database Specific Defaults File
                 In order to accommodate the many databases that are available in CADPIPE, database
                 specific defaults can be set by creating a database specific lisp file. This file will then be
                 loaded instead of ISODEF.LSP.

                 All CADPIPE databases use a one-character master code and a two-character acronym
                 for the database subdirectory and other tools. For example, the standard set of databases
                 include:

        Imperial

        Code                      Database                                   Defaults file
        C - AP                    ;ANSI PLUS                                 ISODEF.LSP
        S - SS                    ;Stainless Steel (Nominal)                 I_SSDEF.LSP
        O - OD                    ;Stainless Steel (O.D.)                    I_ODDDEF.LSP
        I - ID                    ;Stainless Steel (I.D.)                    I_IDDEF.LSP
        P - PL                    ;Plastic                                   I_PLDEF.LSP
        X - XX                    ;Custom Database                           I_XXDEF.LSP

        Metric

        Code                      Database                                   Defaults file
        c - AP                    ;ANSI PLUS                                 MISODEF.LSP
        s - SS                    ;Stainless Steel                           MI_SSDEF.LSP
        o - OD                    ;Stainless Steel (O.D.)                    MI_ODDDEF.LSP
        i - ID                    ;Stainless Steel (I.D.)                    MI_IDDEF.LSP
        p - PL                    ;Plastic                                   MI_PLDEF.LSP
        x - XX                    ;Custom Database                           MI_XXDEF.LSP
        b - BS                    ;British Standards                         MI_BSDEF.LSP
        d - DN                    ;DIN Standards                             MI_DNDEF.LSP
        f - FS                    ;French Standards (AFNOR)                  MI_FSDEF.LSP
        j - JS                    ;JIS Standards                             MI_JSDEF.LSP
        n - PN                    ;Polish Standards                          MI_PSDEF.LSP

                  Note the metric master code is lowercase and the imperials master
                 code is uppercase.

                 Defaults specific to a database should be placed in the appropriate file, i.e., I_SSDEF.LSP
                 for Stainless Steel defaults.

                 You can create a “custom” database by placing all database table files in an \XX directory
                 off the database directory \CPTABLE. Create an I_XXDEF.LSP file in the
                 \CPISO\ISOLSP directory for database specific defaults (initially, a copy of a supplied
                 defaults file). If a database specific defaults file is not found, the ANSI defaults file,
                 ISODEF.LSP, will be used.


Database Specific Defaults File                                                                     CADPIPE ISO
CUSTOMIZING                                                                                  CUSTOM-9


              As with your ISODEF.LSP file, you can create a project specific, database specific defaults
              file by placing it in the Project subdirectory.


Layers—ISOLAY.LSP
              CADPIPE has a number of pre-defined layers for your use; these are included in a
              customizable file named ISOLAY.LSP in your \CPISO\ISOLSP directory and they are
              included in your CADPIPE ISO prototype drawing.

              You can

              ! change the names of these layers, and
              ! add your own layers.

              We will explain how to do both.

              Reserved layers

              CADPIPE reserves four layer names, “CPLP”, “CPLPOFF”, “CPLPOVR” and “CPRT”
              for its own use—in general, CADPIPE reserves all layer names beginning with “CP”. You
              can rename all other CADPIPE layers to suit your layering conventions.

              Layers that can be customized

              All the CADPIPE layers that can be customized are defined in the “ISOLAY.LSP” file in
              your \ISOLSP program directory.

              The file looks like this:




CADPIPE ISO                                                                         Layers—ISOLAY.LSP
CUSTOM-10                                                                                   CUSTOMIZING


             Changing a layer name

             You can change any, or all, of the layer names. For our example, we will change the layer
             PIPE to 25.

             First bring the ISOLAY.LSP file into your text editor for editing. Then move your cursor to
             the line

             (setq pipe “PIPE”)

             and simply replace the “PIPE” with “25” as shown here:




                                                 We have changed the “PIPE” to
                                                 “25.” All pipe will now appear on
                                                 layer 25.




              Immediately following setq is the variable name reserved by CADPIPE. Do not
             change these variable names under any circum-stances. The variables are CADPIPE
             acronyms.

             Save the file. If you are satisfied with selecting “PIPE” instead of “25” from your pull-down
             and pop-down menus, your work is complete. The next time you load CADPIPE ISO,
             CADPIPE will place all pipe on layer 25.

             If the layer 25 does not exist in your prototype drawing, CADPIPE ISO will automatically
             make the layer; however, the color will default to white, and the linetype will default to
             continuous. Therefore, if you change the layer names, you should also create a new
             prototype drawing with the new layers, the linetypes, and colors defined.




Layers—ISOLAY.LSP                                                                           CADPIPE ISO
CUSTOMIZING                                                                                  CUSTOM-11

              Changing the menu

              If you want the new layer name to display in the list of layers in the pull-down and pop-
              down menus, you must change the layer name “PIPE” to “25” in the menu file. This file is in
              the CADPIPE support directory (\CPACADD for DOS or \CPACADW for Windows).

              Change to the CADPIPE Support directory and then load ISO.MNU in a text editor. We
              will change the name “PIPE” to “25” in two areas of the menu:

              ! ***POP3 (the “SETTINGS” pull-down menu)
              ! **CPLAY 2 (the list of layers pop-up menu)

              We will demonstrate changing the ***POP3 menu area.

               You must delete the ISO.MNR, ISO.MNS, and ISO.MNC files from the CADPIPE
              Support directory after you modify the ISO.MNU file. When these files are deleted
              AutoCAD will recompile the .MNU file and create the .MNR, .MNS, and .MNC files. If
              you do not recomplie these files, your changes to the menu file will not be imple-
              mented.

              Search for ***POP3:




              You control what appears in your menu selection on the screen by what you put between
              the square brackets [ ]. We are going to change the PIPE to 25:




CADPIPE ISO                                                                         Layers—ISOLAY.LSP
CUSTOM-12                                                                                    CUSTOMIZING




We have changed “PIPE” to
“25.” In the “SETTINGS” --
“Layers” menu, 25 will be
included in the list of layers.




                   To modify the list of layers in the pop-up menu, change the menu section **CPLAY 2.

                   As mentioned above, make a new layer 25 in your drawing (or in your prototype drawing)
                   defining the linetype and color.

                   Adding your own layer

                   You can add your own layers to the CADPIPE ISO program through a two-step process.
                   First, edit your ISO.MNU file in the same areas discussed above, and, second, make a new
                   layer using AutoCAD to define the layer name, linetype, and color in the prototype
                   drawing.

                   Let us say we want to add the layer “FEEDWATER” to our drawings. First, load the
                   ISO.MNU file into the text editor, and search for ***POP3. Then add the FEEDWATER
                   line:




Layers—ISOLAY.LSP                                                                            CADPIPE ISO
CUSTOMIZING                                                                              CUSTOM-13




              ID_CPLAYfwt [FEEDWATER ]^P^C_LAYER _SET;feedwater;;

              The ^P controls the menu echo, the ^C cancels other commands. We do not include the
              veval-str function.

              Again, make identical changes to the **CPLAY 2 section of the ISO.MNU file.

              Create a layer in your prototype drawing using the AutoCAD Layer command, defining the
              color and linetype for the layer.

              If you want to use a project-specific ISOLAY.LSP file, copy
              \CPISO\ISOLSP\ISOLAY.LSP to \PROJ\ISOLAY.LSP and edit the new file.




CADPIPE ISO                                                                      Layers—ISOLAY.LSP
CUSTOM-14                                                                                    CUSTOMIZING



CADPIPE User Library File - ISOUSR.LSP
              The ISOUSR.LSP gives users great customizing flexibility. The file is split into four main
              sections:

              ! Placing BOM text on the drawing
              ! Valve drawing routines
              ! Placing routing line labels
              ! Placing centerline labels

              This file is found in \CPISO\ISOLSP.

              This file contains some internal documentation to make it easier to understand, but should be
              modified by experienced lisp programmers only. If you are unable to make changes to
              this file yourself, customization service is available through your CADPIPE dealer.

              Before you change this file, print out a hard copy for reference and always keep a backup
              copy.

              If you are going to be customizing this file, note that CADPIPE ISO makes extensive use of
              AutoCAD’s Extended Entity Data. There is a warning message in the header of
              ISOUSR.LSP, which requests that any line containing the following statement be left
              untouched:

              (ENT_PROC nil) ; write xdata to entity

              BOM onto drawing—PRTBOM

              You will find the routine which formats the BOM onto drawing text in the user library file
              \CPISO\ISOLSP\ISOUSR.LSP.

              The PRTBOM function is used to format the Bill of Materials text so that it fits properly into
              the Bill of Materials template (\CPISO\ISOBLKA\CP_BOM.DWG).




CADPIPE User Library File - ISOUSR.LSP                                                        CADPIPE ISO
CUSTOMIZING                                                                                          CUSTOM-15

              The BOM template that comes with the CADPIPE program has been drawn as follows:




              If you change the PRTBOM function, you will probably have to change the BOM template
              to accommodate the new information that you will be including on the drawing.

              In the ISOUSR.LSP file, the lines that have a semicolon (;) at the beginning are not ex-
              ecuted. For the PRTBOM function, we have included a number of pre-programmed
              options that you can use.

              To print the items that are omitted by a semicolon, remove the relevant semi-colons, and
              indicate the location of the text to be printed by replacing the 0.00 in the line with the
              distance (plotted) that you want to offset that item from the beginning of the line (* gsf
              “distance”).

              The number of lines per page can also be modified by changing the “40” in the ”(if (< pc
              40)” line to the desired number of lines.

              Obviously, some LISP programming knowledge is recommended before changing these
              files. It is essential that the use of strings is limited; that any new variables be kept within the
              t5 - t8 guidelines; and that the changes be kept as short as possible.

              If you need to edit the BOM text positioning or the fields you want displayed, you should be
              aware that for every text string printed to the drawing, four lines of lisp code need to be
              considered.



CADPIPE ISO                                                          CADPIPE User Library File - ISOUSR.LSP
CUSTOM-16                                                                                          CUSTOMIZING


              Using the following excerpt from ISOUSR.LSP, you will see that the fifth line concerns itself
              with Extended Entity Data. Should you want to have the Shop/Field code appear on your
              BOM, remove the semicolons from all five lines (and specify the distance as we
              will illustrate in an example below):

       ; (command ; 1 digit shop/field code / not printed
       ; c_text
       ; (polar t2 0 0.00) t1 0 (nth 4 rec)
       ;)
       ; (if (NOT_EMPTY_STR (nth 4 rec)) (ENT_PROC nil)) ;write xdata to entity

              Examples in adding fields to your BOM onto drawing

              Here we will be discussing adding the line number and material specification to your bill of
              materials on the drawing as well as two ways to represent revision numbers.

              In the comments at the beginning of the function PRTBOM(), you will notice these three
              lines with the nth function:

       ; (nth 9 rec) - line designation
       ; (nth 10 rec) - material spec
       ; (nth 11 rec) - Revision number




                                                               These are the three lines that
                                                               we are looking for further in the
                                                               file.




CADPIPE User Library File - ISOUSR.LSP                                                             CADPIPE ISO
CUSTOMIZING                                                                                          CUSTOM-17


                  Adding the line number and material specification
                  Further in the file, you will find the sample code to place the text to include the line number
                  and material spec:

         ; (command           ; print line designation + spec / not printed
         ;      c_text
         ;      (polar t2 0 0.00) t1 0 (strcat (nth 9 rec) “-” (nth 10 rec)
         ;)
         ; (ENT_PROC nil)

These are the five lines for
line number and material
spec




                  Removing the semi-colons (;) at the beginning of each line enables the line number and
                  material spec to be placed in the BOM on the drawing for all items.

                  However, we would still have to tell the program where we want the text to appear on the
                  BOM template.

                  For the sake of simplicity, let us say that we want it to appear where the description cur-
                  rently appears. That means we would change the line

         c_text
         (polar t2 0 0.00) t1 0 (strcat (nth 9 rec) “-” (nth 10 rec))
                  to
         c_text
         (polar t2 0 (* gsf 3.15)) t1 0 (strcat (nth 9 rec) “-” (nth 10 rec))

                  (You would then “comment out” the item + user description lines so you would not get both
                  on your drawing in the same place.)




CADPIPE ISO                                                            CADPIPE User Library File - ISOUSR.LSP
CUSTOM-18                                                                                     CUSTOMIZING

              Placing the revision number with the BOM onto drawing
              There are two options available for placing the revision number with your BOM text onto
              the drawing:

              ! print the revision number in the table in the same way as all the other pieces of information;
              ! insert a revision triangle block to a reduced size, and off to the left of the BOM sheet, in
                line with the revised item.

              The outlined text below is the code to place the Revision number in the BOM text on the
              drawing:




              To have both options printed on your drawing you would remove the semi-colons in front of
              all 15 lines.

              For option #1 you would change the line following c_text to include the offset distance as
              we demonstrated in the line number and material specification example.

              To have this print with your BOM text onto drawing, use the [Revision Cloud” command in
              the “PLACE”— “Symbols” menu to set the revision number for selected objects on your
              drawing. Then, when you run the Bill of Materials program, select to have the




CADPIPE User Library File - ISOUSR.LSP                                                         CADPIPE ISO
CUSTOMIZING                                                                                    CUSTOM-19


              BOM sort by revision number. Refer to the Sort by Revision Number “Details” button in the
              [Edit Defaults File] command. The Revision Cloud command is examined near the end of
              this chapter.

               A note on erasing BOM text: Revising isometric drawings almost always means re-
              doing the BOM. Use ISO’s [Erase Fitting] command to erase all the BOM text with
              one pick.

              Text wrapping for the description field
              You can change a variable in the PRTBOM part of the ISOUSR.LSP file so that your text
              will wrap to a second line after a given length.

              Near the beginning of the file, you will see:

      (setq
       t1 (* 0.09 gsf)                                  ;text height
       t2 (polar pt pi6d (* gsf 0.13875)                ;center text in box (pid6d=1.5 x pi)
       pt (polar pt pi6d (* gsf 0.1875))                ; line spacing (3/16")
       pc (1+ pc)                                       ; increment count
       desc_len 55                                      ; descr. line length
       wgt_flg T                                        ; weight display
      )

              To have your description wrap merely change desc_len 55 to the number that you want. If
              you want the description to wrap after 25 characters, the new line would read:

      desc_len 25                                       ; descr. line length

              Weight
              Immediately following the description length is a weight flag. This determines whether weight
              will appear on the drawing BOM or not. If set to “t” (the default), weight will be appended
              to the long description on the drawing. Set this default to “nil” if you do not want the weight
              to appear in your BOM.

              Valve drawing routines

              Introduction
              The valve drawing routines give you the flexibility to customize the appearance of your
              valves on the drawing.

              The IS01A functions in these in the ISOUSR.LSP file are used to draw each specific type
              of valve.

              Standard AutoCAD commands are used to draw the valve. The “INSERT” command is
              used in some functions to get drawings found in PATHK (\CPISO\ISOBLK) directory.
              These drawings can be edited using AutoCAD if desired.


CADPIPE ISO                                                       CADPIPE User Library File - ISOUSR.LSP
CUSTOM-20                                                                                    CUSTOMIZING

              Here is an example of the coordinate points and angles:




              The coordinate points that are used by the valve drawing routines are identified with each
              function. The periods (“.”) represent the points which are defined by the point names, P1-
              P6, t1-t10. Each of the six P? points are preset, and the t? variables can be set and used as
              wanted, provided they are made local.

              The angles aa, ab, bra1,andbrab are in directions indicated with each function. The angles
              can be used to locate new points as wanted, but do not change these angles as it will affect
              attribute insertion.

              Extended Entity Data
              Some valves are made up of one continuous polyline, while others are made up of a combi-
              nation of lines and blocks. For each entity used in a valve, the following line must appear:

              (ENT_PROC nil)                  ; write xdata to entity

              If you customize valve shapes, please be certain that each piece of your valve has this line
              written after the piece is placed. Here is an example from the Plug valve routine:




CADPIPE User Library File - ISOUSR.LSP                                                        CADPIPE ISO
CUSTOMIZING                                                                                     CUSTOM-21


      ; draw valve
      (command
        (getMacro LANGLST “C.PLINE” “_.PLINE”)
        t4
        (getMacro LANGLST “C.W” “_W”)
        0 0 t1 t3 t2 t4 “”
      )
      (ENT_PROC nil)              ; write xdata to entity

      (command (getMacro LANGLST “C.LINE” “_.LINE”) p3 p4 “”)
      (ENT_PROC nil)             ; write xdata to entity

      (command (getMacro LANGLST “C.LINE” “_.LINE”) p5 p6 “”)
      (ENT_PROC nil)             ; write xdata to entity

              Customizing the ball valve—an example
              We will show you a “before-and-after” example for customizing the ball valve.




          The Current CADPIPE ball valve.                We will change it to look like this.




              Currently, the code for drawing the ball valve is as follows:

      (defun IS01AE ( / t1 )
      ; CALLED FUNCTION TO DRAW BALL VALVE
       ; VALVE POINTS                                               ANGLES
       ;     .p3                         .p5                         bra1
       ;     .p1           .ipt          .p2                        ab <—> aa
       ;                                                             brab
       ;     .p4                         .p6
       ; additional scale in case of extended body valve
      (setq t1 (/ (distance p1 p2) (* 0.38 gsf)))
      ;draw ends
      (command (getMacro LANGLST “C.LINE” “_.LINE”) P3 P4 “”)
      (ENT_PROC nil) ; write xdata to entity
      (command (getMacro LANGLST “C.LINE” “_.LINE”) P5 P6 “”)
      (ENT_PROC nil) ; write xdata to entity
      ; IF THE CURRENT PLANE IS NORMAL - USE A CIRCLE
      ;                                  OTHERWISE USE AN ISOCIRCLE
      (if (=isopln “G”)


CADPIPE ISO                                                        CADPIPE User Library File - ISOUSR.LSP
CUSTOM-22                                                                          CUSTOMIZING


         (command (getMacro LANGLST “C.CIRCLE” “_.CIRCLE”) ipt (* t1 0.125 gsf))
         (command
         (getMacro LANGLST “C.ELLIPSE” “_.ELLIPSE”)
         (getMacro LANGLST “C.I” “_.I”)
         ipt (* t1 0.125 gsf))
        )
        (ENT_PROC nil) ; write xdata to entity
       )

              To draw the valve the new way, we have made the following changes:

       (defun IS01AE ( / t1 )
       ; CALLED FUNCTION TO DRAW BALL VALVE
        ; additional scale in case of extended body valve
        (setq t1 (/ (distance p1 p2) (* 0.38 gsf)))
        ; set extra drawing points
        (cond
         ((/= isopln “G”)
         (if
           (or
            (and (= isopln “A”) (= (angtos aa 0 0) “150”))
            (and (= isopln “B”) (= (angtos aa 0 0) “30”))
            (and (= isopln “C”) (= (angtos aa 0 0) “330”))
            (and (= isopln “D”) (= (angtos aa 0 0) “210”))
            (and (= isopln “E”) (= (angtos aa 0 0) “90”))
            (and (= isopln “F”) (= (angtos aa 0 0) “90”))
            )
           (setq
            t2 (polar ipt (angle ipt p3) (* t1 0.059 gsf))
            t3 (polar ipt (angle ipt p4) (* t1 0.097 gsf))
            t4 (polar ipt (angle ipt p5) (* t1 0.097 gsf))
            t5 (polar ipt (angle ipt p6) (* t1 0.059 gsf))
            )
           (setq
            t2 (polar ipt (angle ipt p3) (* t1 0.097 gsf))
            t3 (polar ipt (angle ipt p4) (* t1 0.059 gsf))
            t4 (polar ipt (angle ipt p5) (* t1 0.059 gsf))
            t5 (polar ipt (angle ipt p6) (* t1 0.097 gsf))
            );setq
             )
           );isopln G
          ((= isopln “G”)
           (setq
            t2 (polar ipt (angle ipt p3) (* t1 0.08 gsf))
            t3 (polar ipt (angle ipt p4) (* t1 0.08 gsf))
            t4 (polar ipt (angle ipt p5) (* t1 0.08 gsf))
            t5 (polar ipt (angle ipt p6) (* t1 0.08 gsf))
           );setq
          );isopln G
         );cond
       ; draw ends
       (command (getMacro LANGLST “C.PLINE” “_.PLINE”) t3 “W” “0” “0” p4 p3
       t2 “”)
       (ENT_PROC nil) ; write xdata to entity

CADPIPE User Library File - ISOUSR.LSP                                             CADPIPE ISO
CUSTOMIZING                                                                                CUSTOM-23

      (command (getMacro LANGLST “C.PLINE” “_.PLINE”) t4 p5 p6 t5 “”)
      (ENT_PROC nil)       ; write xdata to entity
      ; IF THE CURRENT PLANE IS NORMAL - USE A CIRCLE
                                          OTHERWISE USE AN ISOCIRCLE
      (if (= isopln “G”)
        (command (getMacro LANGLST “C.CIRCLE” “_.CIRCLE”) ipt (* t1 0.08 gsf))
        (command
          (getMacro LANGLST “C.ELLIPSE” “_.ELLIPSE”)
          (getMacro LANGLST “C.I” “_.I”)
          ipt (* t1 0.08 gsf)
        )
       )
       (ENT_PROC nil) ; write xdata to entity
      )



              Placing Routing Line Labels

              The routine GETLRT () is used with the [Label Line] command. You may change the order
              of the text strings in the label or even remove from or add text strings to the label:




              For example, for the line TEST1, spec AAA1, 6", the label would be in the format:

              TEST1 - 6" - AAA1

              To change the output to:

              6" - TEST1 - AAA1

              We would edit the line:

              (strcat v2 “-” (FIXFRC v1) “-” v3)

              changing it to:

              (strcat (FIXFRC v1) “-” v2 “-” v3)



CADPIPE ISO                                                    CADPIPE User Library File - ISOUSR.LSP
CUSTOM-24                                                                                  CUSTOMIZING


              Placing Coordinate Labels

              The routine GETLCT () is used with the [Real World Coordinates] commands. By manipu-
              lating the order of the Lisp variables, you may change the way your coordinate labels
              appear on the drawing. This section of the ISOUSR.LSP file appears as follows:




              Custom Keyboard Commands

              At the end of the ISOUSR.LSP file, you will find customized keyboard commands. At any
              time during an ISO drawing session, you can type ?? <Return> for a list of available
              keyboard commands. You can modify or add to these commands.

              The keyboard commands section of the user file is divided into two parts. First, the defini-
              tion of each keyboard command, and second, the list of the keyboard commands available.

              Use the \CPISO\ISOLSP\ISOMENU.REF file to reference any CADPIPE menu com-
              mands. The ISOMENU.REF file is not used by the CADPIPE ISO program; it only
              illustrates how commands are called from the menu and is for your reference only.




CADPIPE User Library File - ISOUSR.LSP                                                      CADPIPE ISO
CUSTOMIZING                                                                                CUSTOM-25

              An example
              Say, you want the [Revision Cloud] command to be a keyboard command. You would add
              its definition—as illustrated in the ISOMENU.REF file under 1081—to the ISOUSR.LSP
              file:

              (defun C:REV()
              ; CADPIPE Revision Cloud
                     (CPSPRT t “Place Revision Cloud] ”)(CPCHK “182”)(IS182)
              )

              Then, add the command to the list in part two of the keyboard commands section:

              (prompt “\nSW - Set Wall”)
              (prompt “\nUB - Undo Back”)
              (prompt “\nREV - Revision”)
              (prompt “\n”)

              Now, when you type ?? <Return> at the command prompt, the Revision Cloud command
              will be included in the list.

              You can also customize the abbreviations that we have supplied for each keyboard com-
              mand. Simply change the characters in the command definition and in the list.



Editing Menu Commands
              Introduction

              The ISO menu file, ISO.MNU, is located in your CADPIPE Support directory
              (\CPACADW).

              The ISO.MNU file has the same strucutre as the standard ACAD.MNU. For information
              on menus, refer to your AutoCAD Customization Manual.

              Customizing the menu is a two-part process:

              1 Edit the ISO.MNU file to call your new or customized function.

              2 Define your new command or function in the ISUSRMNU.LSP
               file that we provide, using the ISOMENU.REF file for reference.




CADPIPE ISO                                                                      Editing Menu Commands
CUSTOM-26                                                                                CUSTOMIZING

             CADPIPE function numbers
             CADPIPE functions are identified by a range of numbers (1 to 4999). The ISO.MNU file
             calls these function numbers to activate a command. All the CADPIPE functions are con-
             tained in the Lisp files ISO1MNU.LSP and ISO2MNU.LSP. You cannot access these
             files, but you can add and edit functions in the ISUSRMNU.LSP file in the
             \CPISO\ISOLSP directory. Any function you add to the user file should be numbered from
             5001-5999. You will not actually customize the original functions (1-4999), but create new
             ones inthe ISUSRMNU.LSPfile to take their place.

             The Reference file
             The command syntax for each function is listed in the ISOMENU.REF file which is located
             in the \CPISO\ISOLSP directory. The ISOMENU.REF file is not used by the CADPIPE
             program and is supplied for your reference only. When you create new functions you will
             cut and paste the syntax from the reference file.

             1. ISO.MNU—add your new or customized function
             To have the menu use your new or customized function, you must set the new value in the
             ISO.MNU file.

             For example, If you want to change the NORTH ARROW command, you change the
             function number in the menu.

             First locate the line in the menu file. The [North Arrow] command is in the “PLACE”—
             “Symbols” menu, so look for the “Symbols” section of the menu file:

             **SYMBOLA
             [Place Symbols]
             Next, find the North Arrow command line. We have described each part of the command
             line:




Editing Menu Commands                                                                    CADPIPE ISO
    CUSTOMIZING                                                                                   CUSTOM-27


                   You must delete the ISO.MNR, ISO.MNS and ISO.MNC files from the CADPIPE
                  Support directory after you modify the ISO.MNU file. When these files are deleted
                  AutoCAD will recompile the .MNU file and recreate the .MNR, .MNS and .MNC files.
                  If you do not delete these files, your changes to the menu file will not be implemented.

                  2. Define your new command or function
                  Your modified function, in this case, 5053, now needs to be defined in the
                  ISUSRMNU.LSP file located in the \CPISO\ISOLSP directory. The ISUSRMNU.LSP
                  file contains examples and instructions on how to define any function, so you may want to
                  print a hard copy.
:
                  If you are not sure of the syntax for your new command, refer to the ISOMENU.REF file.
                  This file contains a copy of the command lines for every function. Find a command that is
                  similar to the one that you require, copy it into the ISUSRMNU.LSP file and edit it accord-
                  ing to your needs.

                  For our example, we will copy the following definition for 1053 from the ISOMENU.REF
                  file to the ISUSRMNU.LSP
                                                                                           This is the line for
                                                                                           command 1053,
                                                                                           the North Arrow




                  The line includes the function number (1053) at the beginning of the command line. Do not
                  include the number when you copy the syntax to the ISUSRMNU.LSP file.

                  Add the line from the ISOMENU.REF file to the following section
                  of the ISUSRMNU.LSP file:




    CADPIPE ISO                                                                      Editing Menu Commands
CUSTOM-28                                                                                       CUSTOMIZING

             First, you start by copying the three “5002” lines to create your new function:




                                                       Copy these three lines.




             Now you will add the line from the ISOMENU.REF file :




                                            This is the line form the ISOMENU.REF that we will copy
                                            for our function in ISUSRMNU.LSP




                                                  In the ISUSRMNU.LSP file, we will replace this line
                                                  with the syntax for placing the north arrow. You will
                                                  not duplicate the open and closing parentheses.




Editing Menu Commands                                                                            CADPIPE ISO
CUSTOMIZING                                                                                    CUSTOM-29

              Then you would edit the lines to reflect your changes. For our example, the file would look
              like this:

              ;function cpt5001imp is for imperial
              (defun cpt5001imp()
                (cond
                     ((= cptblt 5001)
                      (princ “5001\n”)
                )
                     ((= cptblt 5002)
                      (princ “5002\n”)
                )
                     ((= cptblt 5053)
                      (CPSPRT t “Place north arrow>> ”)(CPCHK “163”)(IS163 ”NAROW” (* sysf
              3.33) t nil)

              We could make any changes we like at this point:

              “Place north arrow>>”           This is the prompt that appears when the command is
                                              selected from within AutoCAD.

              “NAROW”                         These are the last five characters of the block name
                                              (CADPIPE ISO adds isoplane information and fills in the
                                              first three characters).

              (* sysf 3.33)                   This is the scale factor for north arrow placement.

              t                               This is a toggle which tells the program whether or not to
                                              include the isoplane in the block name.

              nil                             The next time you enter a CADPIPE ISO drawing, your
                                              changes will be apparent.



Custom Symbols—No Attributes
              CADPIPE provides several structural symbols that you can use as drawing aids. These
              include wide flanges, angles, channels and HSS sections. Other symbols included are north
              arrows and ladders. None of these symbols have attributes attached.

              You can create any additional custom symbols you require, and they can be included on
              your menu. CADPIPE will prompt you for scaling when the symbol is placed on the draw-
              ing (this depends on how you implement the new symbol into the menu).

              Creating custom symbols

              You create custom symbols using AutoCAD, either as an individual drawing, or by using the
              WBLOCK command.



CADPIPE ISO                                                                 Custom Symbols—No Attributes
CUSTOM-30                                                                                   CUSTOMIZING

              The following rules should be applied to any new symbol to make the symbol compatible
              with the CADPIPE environment.

              1 Block size
              If you do not want to scale the block when you place it, the symbol should be drawn to the
              size that you want it to appear on the drawing.

              If you will be scaling the block when you insert it, draw the symbol to a 1" x 1" size. Upon
              insertion, the block size will be scaled as appropriate, depending on the command “syntax”
              that you have chosen.

              2 Block layer, elevation, linetype
              Create symbols with AutoCAD’s “neutral” parameters set so that when you insert the
              symbols from within CADPIPE, they will be placed on the proper layer and with the proper
              linetype. Therefore, ensure the following settings are active when the block is created:

              ! Layer: 0
              ! Linetype: BYLAYER
              ! Color: BYLAYER
              ! Elevation: 0,0

              Store your symbol blocks in \CPISO\ISOBLKS\.

              3 Blockname
              CADPIPE ISO uses a coding scheme for its custom block names. CADPIPE uses the third
              letter of the block name for the ISOplane. Block names must conform to the CADPIPE
              coding scheme.

              Two symbols that CADPIPE includes with ISO are the North Arrow and the Ladder; you
              can use their names as a reference:

              The North Arrow:

              C-CNAROW
              C-DNAROW

              For the north arrow, only the top left and right hand planes are used.

              The Ladder:

              C-CLADR
              C-DLADR
              C-ELADR
              C-FLADR

              For the ladder only the top and vertical planes are used. All block names must be unique.
              The first two characters of the name must be C- (a C followed by a hyphen).


Custom Symbols—No Attributes                                                                CADPIPE ISO
CUSTOMIZING                                                                                  CUSTOM-31

              The third character of the block name represents the isoplane in which that block is drawn.
              If this character is replaced with a “-”, the block name will be inserted independent of the
              isoplane.

              Isoplane characters:

              A   =   left hand plane
              B   =   right hand plane
              C   =   top left hand plane
              D   =   top right hand plane
              E   =   left hand vertical plane
              F   =   right hand vertical plane
              G   =   normal plane

              For the last five characters of the name you can choose any characters you want; you
              simply must ensure that the name is unique.

              4Create a slide
              Create a slide of the new symbol and store it in the \CPACADD or \CPACADW directory.
              If you are creating a lot of slides (symbols), you may want to create your own slide library
              or add the new slides to the CP slide library. (See “CADPIPE Slide Libraries” later
              in this chapter for information on slide libraries.)

              5 Modifications to the menu
              Your custom symbols may be placed by one of two methods:

              Method 1. Use a menu command syntax similar to North Arrow or Ladder in the
              “PLACE”—[Symbols] menu for a new function in your ISUSRMNU.LSP file and add the
              function to your ISO.MNU file.

              Following the procedure that we examined earlier, you can add new commands to your
              menu.

              First you will make modifications to the ISO.MNU file. Copy the North Arrow function line
              in the menu file and change the function number to 5034:

      [cp(north,North Arrow)]^P^C^C(setq cpmprt t cptblt 1053)(princ;<<
      [custom,Custom Symbol]^P^C^C(setq cpmprt t cptblt 5053)(princ;<<

              Then define the function 5034 in your \CPISO\ISOLSP\ISUSRMNU.LSP file.

              The north arrow example that was discussed earlier is an example of the standard symbol
              placement command:

      (CPSPRT t prompt “Place north arrow>> ”)(CPCHK “163”)(IS163 ”NAROW” (* sysf 3.33)
       t nil)




CADPIPE ISO                                                               Custom Symbols—No Attributes
CUSTOM-32                                                                                         CUSTOMIZING

              Notice that the menu calls the routine IS163. This routine is passed four parameters:

              Block name                       The last five letters of the block only (“NAROW” in this
                                               example)

              Scale factor                     (* sysf 3.33) in this example; this is multiplying the symbol
                                               scale factor by 3.33 The symbol’s slide is not stored in a slide li-
                                               brary.

              t                                A toggle telling the routine whether or not to include the
                                               ISOplane in the block name.
              nil

              You can change the prompt, and substitute your block name for “NAROW”; you can use
              the symbol scale factor as it stands.

              If instead of entering the block name and scale factor as the first and second parameter, you
              enter nil and nil, the routine will prompt you for the block name and the insertion scale
              factor. This is illustrated in the Custom Symbol menu line (1009 in the ISOMENU.REF file):

              (CPSPRT t “Place custom symbol] ”)(CPCHK “163”)(IS163 nil nil t nil)

              If you want to add a new command to the menu with this syntax as your basis, you can
              copy this line and change the first nil to your block name (do not use the first three charac-
              ters of your block name; these will be entered by the routine).

              You will also want to change the prompt to your own.

              You can specify the scale factor in place of the second nil here unless you want to be
              prompted with each placement. The North Arrow uses the symbol scale factor (sysf
              multiplied by 3.33) and the Ladder uses the structural scale factor (stsf).

              Method 2
              Once you have created your symbol in each of the relevant planes, select the [Custom]
              command in the “PLACE”—”Symbols” menu (this uses the syntax that we mentioned
              above).

              You will be prompted for the one- to five-letter name at the “Symbol name” prompt. You
              will not type in the first three characters, C— of the block name.

              You will also be prompted to enter a scale factor.

              This command will accommodate as many different symbols as you create.




Custom Symbols—No Attributes                                                                      CADPIPE ISO
CUSTOMIZING                                                                                       CUSTOM-33



Custom Blocks-Inline Fittings & Fittings with Attributes
              CADPIPE gives you the power to create custom in-line fittings and custom fittings. The
              custom inline fittings use the valve defaults, while the custom fittings use the fitting de-
              faults. If you want a rating for your fitting you will choose the custom inline; if you
              want a schedule, you will choose the custom fitting.

              There are no prompts for branches or secondary sizes.

              Creating your own custom inline fittings and fittings is a three-step process:

              1 Add the code and description of the block to the file IS-OBLKX. LST with your text
              editor; you will find the file with our examples in \CPISO\ISOBLKX.

              2 Create three blocks (one each for left, right, and normal plane) at unit scale, using Au-
              toCAD. Save the blocks in \CPISO\IS-OBLKX.

              3 Create a table in \CPTABLE\AP with CPEDIT, and add lengths for specific sizes and
              ratings.

              Some CADPIPE examples

              We have included three examples of custom inline fittings and fitting blocks with the pro-
              gram. Each of these topics is examined in detail below.

              ISOBLKX.LST FILE. The three CADPIPE examples of custom inlines and fittings in the
              \ISOBLKX.LST file are listed as:

              Custom inlines:

              8ZZA110-Filter Model A                   (This is a custom inline block, without a tag.)

              8ZZB111-Filter Model B                   (This is a custom inline block with a tag of up to
                                                       three lines.)

              Custom fitting:

              9ZZC112-Filter Model C                   (This is a custom fitting block with a balloon tag of up
                                                       to three lines.)

              The Drawing Files
              You can find the drawing files in \CPISO\ISOBLKX as:




CADPIPE ISO                                        Custom Blocks—Inline Fittings and Fittings with Attributes
CUSTOM-34                                                                                      CUSTOMIZING

                Custom inlines:
                8ZZA—-A.DWG
                8ZZA—-B.DWG
                8ZZA—-G.DWG
                8ZZB—-A.DWG
                8ZZB—-B.DWG
                8ZZB—-G.DWG

                Custom fittting:
                9ZZC—-A.DWG
                9ZZC—-B.DWG
                9ZZC—-G.DWG

                The Database Tables
                You will find the tables in \CPTABLE\AP:

                Custom inlines:
                X8ZZA11D.TBL
                X8ZZB11D.TBL

                Custom fitting:
                X9ZZCAAT.TBL

                Add a description to ISOBLKX.LST

                You will find the ISOBLKX.LST file with our examples in \CPISO\ISOBLKX:




                You can simply add or delete your custom blocks from this file. The file must remain in this
                directory.

                File format
                The file follows a specific format (which we have followed with the examples that we have
                created):

                AAAABCDEFFFFFFFFFFFFFF . . .
                8ZZA110-Filter Model A




Custom Blocks—Inline Fittings and Fittings with Attributes                                     CADPIPE ISO
CUSTOMIZING                                                                                    CUSTOM-35

              AAAA: Four-character “item code”. The first character must be either an 8 or 9:

                      8 – For custom inline blocks. These blocks are placed using valve defaults, such as
                      rating and valve ends, and valve-flange configuration and insertion points.

                      9 – For custom fitting blocks. These blocks are placed with fitting end types,
                      schedules and insertion points.

              B: One-character size flag:

                      1—The current size is used for the fitting.

                      2—A secondary size is prompted. (not currently supported)

              C: One-character rating flag:

                      1—The current rating is used for the fitting.

                      2—A secondary rating is prompted. (not currently supported)

              D: One-character tag flag:

                      0—no tag

                      1—CADPIPE will prompt you for first, second and third text lines (a maximum of
                      16 characters is allowed).

                      2—CADPIPE will place a balloon, prompting you for first, second and third text
                      lines (a maximum of 16 characters is allowed).

              E: One-character, reserved; always use a hyphen (-).

              FFFF ...: 24-character bill of materials description. This will be used to describe the custom
              block in the bill of materials.

              Create the drawing files

              You will need to create three drawings for each custom item in \ISOBLKX.

              The three required drawings will represent the left hand plane, right hand plane, and normal
              plane. The first two drawings are inserted by CADPIPE at different angles so that all six
              isometric planes are available. The base point of these drawings must be set using Auto-
              CAD’s “BASE” command. The base for each plane must be set to the center of the block.




CADPIPE ISO                                       Custom Blocks—Inline Fittings and Fittings with Attributes
CUSTOM-36                                                                                      CUSTOMIZING

                Here is an example of the “Filter A” drawing created in the left hand plane:




                These drawings must be created in the proper isoplane if they are to be inserted correctly.
                You can refer to the CADPIPE custom block drawings for reference as to the way they
                should be drawn.

                We suggest that you draw the blocks using AutoCAD’s neutral parameters: the layer should
                be “0”, color ”BYLAYER”, the line-type “BYLAYER”, and the elevation 0,0.

                You must make your block of unit length: when the block is inserted on the drawing it will be
                scaled at the same length as the gate valve (which you can use as an example).

                FILE NAME. The naming convention for your drawing file is as
                follows:

                AAAA—-B.DWG

                AAAA: Four-character field which is the item code.

                B: One-character plane:

                A = Left hand plane
                B = Right hand plane
                G = Normal plane

                Creating the custom fitting database table

                All custom blocks require a length from a table for the insertion point calculation, block
                scaling, and weld or gasket location. Here are the examples provided by CADPIPE as seen
                in the Database Editor:


Custom Blocks—Inline Fittings and Fittings with Attributes                                     CADPIPE ISO
CUSTOMIZING                                                                                     CUSTOM-37




              You should be familiar with the format from the discussion in the Database Editor chapter.
              You will be using the CREATE function to create this table. In brief, the format is as follows:

              XAAAABBC.TBL
              X8ZZA11D.TBL

              X: The first character of the table name, which marks it as a BY SIZE category. This is the
              only category you will be using.



CADPIPE ISO                                       Custom Blocks—Inline Fittings and Fittings with Attributes
CUSTOM-38                                                                                           CUSTOMIZING

                AAAA: Four-character item code.

                BB: Two-character ends code, which lets you specify an end type for each end of the
                fitting.

                C: One-character rating/schedule code.

                Values in the table
                The length that you will place in the table will be from the center of the fitting to the face (in
                other words, half the length).

                Customizing the menu

                Custom fittings
                To place custom fittings (blocks that begin with 9), click on the “Custom” button in the
                “PLACE”—[Fitting] menu.

                Any custom fittings that have been added to the ISOBLKX.LST file automatically appear in
                the “Custom Fittings” dialogue box.




                It is not necessary to modify the ISO.MNU file for even the most frequently placed custom
                fittings.




Custom Blocks—Inline Fittings and Fittings with Attributes                                          CADPIPE ISO
CUSTOMIZING                                                                                      CUSTOM-39

              Custom Inlines
              Any custom inlines (blocks beginning with 8) that have been added to the ISOBLKX.LST
              file will automatically appear with their BOM description in the list of Custom Inlines in the
              “Inline Placement” dialogue box.




              It is not necessary to modify the ISO.MNU file for even the most frequently placed custom
              inline fittings.


Miscellaneous Blocks
              Miscellaneous blocks do not have sizes, ratings or end types, or database tables, but they
              are reported in the bill of materials and they can have a tag and a description that appear in
              the bill of materials.

              The directory \CPISO\ISOBLKM contains the blocks and the list file for miscellaneous
              blocks.

              Create Miscellaneous Blocks

              Create the symbol
              Create three symbols for each Miscellaneous block. The three required symbols represent
              the left hand plane, right hand plane and normal plane.

              The first two symbols are inserted by CADPIPE at different angles so that all six isometric
              planes are available.

              A convenient base point for the symbol might be one end, so that the rotation angle could
              point to the other end. This would be especially evident in the case of pipe supports where
              the insertion point could be the point of contact with the pipe run.

              These drawings should be created in the proper isoplane. The program will do any neces-
              sary rotation of the pieces before it creates the block.




CADPIPE ISO                                                                            Miscellaneous Blocks
CUSTOM-40                                                                                       CUSTOMIZING

               We suggest that you draw the symbols using AutoCAD’s neutral parameters: the layer
               should be “0”, the color should be ”BYLAYER”, the linetype should be “BYLAYER”, and
               the elevation should be 0.0.

               You will draw the symbols the same size as you would have them appear on your drawing.
               The block are placed on the drawing scaled by the symbol scale factor (sysf).

               It should be noted that, unlike with the Custom inline and fitting blocks, you do not need to
               create the actual block but simply draw the symbol and the program will do the rest.

               “Create” the block
               “CUSTOMIZING” > [Create Misc. Blocks]

               Use the [Create Misc. Blocks] command to create the block for each symbol. Enter the
               block’s code, tag and description, which are found in the file
               \CPISO\ISOBLKM\ISOBLKM.LST. Then, digitize the insertion point of the block, enter
               the rotation angle and select the object(s) that will make up the block (use window).

               Place Miscellaneous Blocks

               “PLACE” > [Misc. Blocks]

               Place the block using the [Misc. Block] command in the “PLACE” menu.

                       a) Enter the block’s code. This is a name of up to seven characters in length. The
                       eighth character is the current isoplane code (A, B or G). The first seven characters
                       are padded with hyphens, if necessary.

                You must be in the correct isoplane when creating each block. The CADPIPE ISO
               program will use the current isoplane as part of your block name.

                       b) Enter the block’s tag. This is a tag of up to 16 characters in length and is
                       displayed in the BOM.

                       c) Enter the block’s description. This is a text string of up to 50 characters in length
                       and is the description that appears for this item on the BOM.

                       d) Enter the block’s weight

                       e) Digitize the insertion point of the block.

                       f) Enter the rotation angle of the block.

                       g) Select the object(s) that will make up the block (use window).



Miscellaneous Blocks                                                                             CADPIPE ISO
CUSTOMIZING                                                                                        CUSTOM-41

              Whenever you are prompted to enter the block code you can always enter “?” to get an
              updated list of the available blocks in the ISOBLKM.LST file.

              If your [Tag] toggle is on, you are prompted to place a tag with the Misc. Block. The
              default value for the tag is from the list file. You can either accept the default or enter another
              tag. If your [Tag] toggle is off, you will not be prompted for a tag but the default will still be
              written to the block.

      Command:<<Place Miscellaneous Blocks>>
      Enter Misc. Block code/?/ <>:: ? <Return>

              Block                    Tag                       Description

              DLEG1—                   DL101                     Dummy leg C.S. A105 2" x 6" lng.
              S-HNGER                  A24FCF                    Spring hanger Grinnel Model 2A
              BPLT1—                   BASE1                     Base sup’t 2"x3/8"x4" angle,4"x1/8"
                                                                 Stl. plate

      Enter Misc. Block code/?/ <>:: DLEG1 <Return> (You do not need to include the hyphens that
                                                    CADPIPE may have used to fill out the file
                                                    name.)

      Digitize insertion point of item::
      Angle to other end:
      Item description <Dummy leg C.S. A105 2" x 6" lng.>: (Press <Return> to accept the default
                                                           or enter a different description.)

      <next block>/?/Exit:: e <Return>

              Block description. You will always be prompted for the description of the block you are
              placing. The default value that is displayed may be accepted by simply entering <Return>,
              or you may enter your own description, or you may concatenate more information at the
              end of the default description by beginning your text with “>>”. This description is not
              placed in the drawing but will come into your BOM printout.

              You may continue adding blocks in this manner or exit the command at this point.

              There are no database tables to create because there are no dimensions to enter. End
              types and ratings are ignored for Misc. Blocks.

              The block name, tag and description are found in the file
              \CPISO\ISOBLKM\ISOBLKM.LST. This list file will have all the information entered
              automatically during the creation of the block. The only time you will need to edit this
              file with a text editor is when information that was entered when creating a block was
              incorrect or has changed.

              In both the [Create] and [Place] miscellaneous block commands, you may enter a question
              mark to view this file (the following are included with CADPIPE ISO):


CADPIPE ISO                                                                              Miscellaneous Blocks
CUSTOM-42                                                                                      CUSTOMIZING

       Command:<<Place Miscellaneous Blocks>>
       Enter Misc. Block code/?/ <>:: ? <Return>

               Block                    Tag                      Description

               DLEG1—                   DL101                    Dummy leg C.S. A105 2" x 6" lng.
               S-HNGER                  A24FCF                   Spring hanger Grinnel Model 2A
               BPLT1—                   BASE1                    Base sup’t 2"x3/8"x4" angle, 4"x1/8"
                                                                 Stl. plate

               File format
               The file follows a specific format. The example above includes the files that are installed with
               the ISO program.

               AAAAAAA,BBB...,CCC...

               AAAAAAA: seven-character field which is the block code. These codes are independent
               of those used for the items found in the database tables. You can develop whatever naming
               conventions are suitable for your applications.

               BBB...: 16-character tag

               CCC...: 50-character bill of materials description

               ,: delimiter between fields of information

               Using What We Know

               A popular application for CADPIPE ISO’s Miscellaneous Blocks is to use them for Stan-
               dard Pipe Supports. The following example illustrates how you might add an icon menu,
               containing your company’s standard pipe supports, to the menu.

               Step 1: Create all of your blocks using the method described earlier. You will also want to
               create slides by the same name as the blocks. The slides should be placed in your Au-
               toCAD support directory, or you may create your own slide library. You will find
               information on slide libraries later in this chapter.

               For our example, we will use the blocks supplied by CADPIPE.

               Step 2: Add the block information to the ISOBLKM.LST file.

               Step 3: Make the following simple changes to the ISO.MNU file.




Miscellaneous Blocks                                                                            CADPIPE ISO
CUSTOMIZING                                                                                   CUSTOM-43




              Next, add the new icon menu (in this case, we will add the following lines immediately after
              the **SYMBOLA icon menu section):

      **MISCBLK
      [Standard Pipe Supports]
      [bplt1,Base Plate 1]^P^C^C(CPSPRT t “Place Base Plate”)(CPCHK “150B”)
      (IS150B nil);BPLT1

      [dleg1,Dummy Leg]^P^C^C(CPSPRT t “Place Dummy Leg”)(CPCHK “150B”)
      (IS150B nil);DLBG1

      [s-hnger,Spring Hanger]^P^C^C(CPSPRT t “Place Spring Hanger A”)(CPCHK “150B”)
      (IS150B nil);S-HNGER

              We will examine the line for the Base Plate icon:

      [Standard Pipe Supports (This is the title of the new icon menu.)

      [bplt1 (This is the name of the slide without a slide library.)

      ^P^C^C(CPSPRT t “Place Base Plate”)(CPCHK “150B”)(IS150B nil); (These are the function
                                                                    calls for the command.)

      BPLT1 (This is the name of the block to be placed.)




CADPIPE ISO                                                                          Miscellaneous Blocks
CUSTOM-44                                                                                      CUSTOMIZING

               Using the above as an outline, you can easily incorporate your company standards into the
               menu. For more information on icon menus, refer to your AutoCAD manual.


Place BOM Info Blocks
               You can attach a CADPIPE node to any item and have that item included in the bill of
               materials. For example, you might use this feature with “1 of a kind” specialty items or with
               complicated details from which you need an itemized bill of materials and balloon tags.

               If a common detail is required, you can create a block that includes the detail drawing and
               as many BOM nodes as you need. Place an asterisk (*) before the block name to ensure
               the block is exploded when it is inserted, or explode the block after placement. The BOM
               and AUTO-BALLOON will reflect each node in the block individually.

               You access BOM Info Blocks by selecting [BOM Info] from the “PLACE” pulldown:

       <<Place BOM Information Blocks>>

       Enter Block Identifier (max 7 chars)<>: (The name you enter here will identify the item in the
                                              bill of materials. The name can be a maximum of
                                              seven characters.)

       Tag text <>: (If your TAG toggle is on, you are prompted for the tag text and location. This tag is
                   included in the bill of materials. You can change the tag text height with the default tht
                   in the defaults file.)

       Item description (max 50 chars)<>: (Enter a long description for the item. This will also appear in
                                         the bill of materials.)

       Digitize insertion point of item::NEAREST to (Digitize the location of the BOM node. The
                                                   node will be placed on a non-plotting layer.)

       Digitize tag location <None>:
       Next block <Exit>: (Press <Return> to exit the command or enter N to mark another block.)

               The information you place in these nodes can be edited using Auto-CAD’s
               DDATTEcommand. CADPIPE does not store any default values for the BOM information
               blocks; you will be prompted for these individually.




Place BOM Info Blocks                                                                          CADPIPE ISO
CUSTOMIZING                                                                                     CUSTOM-45


Revision Cloud
               When you change your current Revision number in your drawing the first time, you will be
               prompted to place the block for the Revision table. Every time after this, it will be placed
               automatically using the last block as the base point for the next. The block that is used for
               the Revision table is called CPREV and it can be found in your \CPISO\ISOBLKA direc-
               tory.

               The default block contains the following attributes:

               Attribute name                                   Attribute type

               REVISION                                          No prompt

               REV_DATE                                         No prompt

               REV_BY                                           User prompt (if applicable)

               REV_DESC                                         User prompt

               CP_INDEX                                         No prompt, invisible

       Command: <<Place revision cloud>>
       Enter revision number <0>: 1

       Draw cloud in a counterclockwise direction
       Digitize from point/Edit/ <Exit>: (Draw your revision cloud.)

       To   point   <Close>:
       To   point   <Close>:
       To   point   <Close>:
       To   point   <Close>:

       Select objects to update to new Revision No. (Select the items to be updated to this revision.
                                                   Any portion of the fitting can be selected and
                                                   the entire fitting will be updated.)

       Select objects: 1 found
       Select objects: <Return>
       Digitize revision mark location <None>:
       Digitize insertion point of Rev. table’s first line <None>: INTERSEC of
                                                              (Digitize the location for the revision
                                                              block.)

       Revision description <To Come>:ISSUED FOR CONSTRUCTION (Text entered here will be displayed
                                                             on the drawing in the revision
                                                             block.)
Enter revision number <1>:
Digitize from point/Edit <Exit>: <Return>


CADPIPE ISO                                                                                   Revision Cloud
CUSTOM-46                                                                                         CUSTOMIZING

               The CP_REV block may be customized in a number of ways, including adding and remov-
               ing attributes, but the attributes “REVISION”, “REV_DATE” and “CP_INDEX” must
               remain unchanged. These are all filled automatically, using the current information.

               If the toggle cpuid_flg, the User I.D. flag, is off, you will be prompted for the initials of the
               person doing the revisions; otherwise the User I.D. is automatically entered.

               The attribute “CP_INDEX” is used to index the position of each block in relation to the
               previous one.

               The variable cprev_odist is used to set the offset distance between CPREV blocks. It may
               also be used to set the direction of the offset.

               For example, with cprev_ang set to 0 degrees, CPREV would be inserted in a regular
               horizontal position. If cprev_odist is set to 0.25, the next CPREV block would be placed
               0.25 units at 90 degrees from the last one. If cprev_odist is set to -0.25, the next
               CPREV block would be placed 0.25 units at 270 degrees from the last one.

               The CPREV blocks should not be copied. This would upset the indexing of their positions
               and unreliable block positions would result. To place a new CPREV block, the current
               revision number should be changed using the [Revision Cloud] command.

               These blocks may, however, be erased without any ill effects. If a CPREV block is erased,
               the next one to be placed would take its relative position from the last of the remaining
               CPREV blocks on the drawing.


The Prototype Drawing
               The prototype drawing can be found in your CADPIPE Support directory ( \CPACADW).
               If you want to change the standard CADPIPE layers, drawing size, or include a standard
               drawing sheet, either create a new default drawing or modify a copy of the original CAD-
               PIPE default drawing ISO.DWG.




The Prototype Drawing                                                                              CADPIPE ISO
CUSTOMIZING                                                                                       CUSTOM-47



CADPIPE Slide Libraries
              Slide libraries are used by CADPIPE to efficiently hold the slides for icon menus. When
              customizing CADPIPE you may want to change a slide library (perhaps because you
              modified an item) or create an entirely new slide library.

              A slide library is created or changed with the AutoCAD utility SLIDELIB which you will
              find in your AutoCAD Sample directory. If you do not have an AutoCAD Sample direc-
              tory, you probably have not performed a full AutoCAD installation.

              Unfortunately, SLIDELIB does not have the capability to add or remove single slides to/
              from an existing library; you must create the library from the original slides each time.
              There are other third party utility programs that do have this feature. For the purpose
              of these examples, the SLIDELIB program will be used.

              Creating your own slide library
              If you have created many new slides for icon menus, you may want to create your own
              library.

              1. Create a temporary directory and copy into it all the slides that are to be in the library.

              2. Create a file called SLIDE.TXT that contains the name of each slide file (do not include
              the .SLD extension).

              3. Pick a name for your slide library (make sure it is not one of CADPIPE’s) and run the
              SLIDELIB program.

              4. Copy the library into your CADPIPE Support directory (\CPA-CADD for DOS or
              \CPACADW for Windows) and store the original slides in a safe place so the library can be
              changed again at a later date.

              5. Erase and remove the temporary directory.

              For example, to create a library called MYLIB with the slides PIC1.SLD, PIC2.SLD and
              PIC3.SLD, copy the slides into an empty directory.

              Then create a file called SLIDE.TXT which contains a list of all the slides:

              PIC1
              PIC2
              PIC3




CADPIPE ISO                                                                           CADPIPE Slide Libraries
CUSTOM-48                                                                                          CUSTOMIZING

               then type:

               D:\TEMP> \ACAD\SAMPLE\SLIDELIB MYLIB < SLIDE.TXT

               where \ACAD\SAMPLE\ is the path to your AutoCAD sample directory. Copy
               MYLIB.SLB into the CADPIPE Support directory and store the slides in a safe place so
               you can modify the new library at a later date. To use the library in an icon menu, type the
               library name followed by the slide name in brackets.

               The following example shows how the MYLIB library could be used:

               [mylib(pic1)](print “Place pic 1”)
               [mylib(pic2)](print “Place pic 2”)
               [mylib(pic3)](print “Place pic 3”)

               CADPIPE ISO comes with one slide library: CP.SLB.

               Modifying a CADPIPE slide library
               To modify a CADPIPE slide library, SLIDELIB requires you to have all of the original
               slides, replace the slides that need modification, and to then rebuild the entire library. It is for
               this reason that the slides used to create each library are included in the
               \UTILS\ORTH_ISO directory on the CADPIPE CD.

               To modify a library, first create an empty directory and copy the library’s slides from the
               CADPIPE CD.

               Copy the \UTILS\ORTH_ISO\CP.exe file from the CD to a temporary directory, and then
               run that file.

               The slides and SLIDE.TXT file will copy into the temporary directory. Then replace the
               slide(s) you want modified with your own.

               If you are adding slides, make sure to add the slide name to the SLIDE.TXT file.

               Then run SLIDELIB to recreate the library and copy it to your CADPIPE Support direc-
               tory. Save the slides and text file so you can modify the library at a later date.

               Additional information about slide libraries may be found in the AutoCAD Reference
               Manual.




CADPIPE Slide Libraries                                                                           CADPIPE ISO
CUSTOMIZING                                                                                      CUSTOM-49


The BOM Template
              The template for placing the BOM onto your drawing is in the file
              \CPISO\ISOBLKA\CP_BOM.DWG. This template is placed by picking the [Prepare
              Protoype] command from the “SETTINGS” menu. You can modify this drawing, but
              remember that changing the column widths will require you to change the PRTBOM func-
              tion in the CADPIPE user library file (see the related section earlier in this chapter).


The Title Block
              The title block, which can be placed using the [Title Block] com-mand from the “ANNO-
              TATION” menu, is in the file \CPISO\IS-OBLKA\CPITITLE.DWG.

              There are three main attributes defined for this drawing: CP_TREV (the revision number),
              CP_TDWG (the drawing name), and CP_TJNO (the job number).

              Do not rename these attributes, or else routines which access the revision number,
              drawing name, and job number on the title block will not work properly.

              If you do not want these attributes to appear on your title block, change them to invisible. If
              you want, you can add attributes to the CPITITLE drawing. These normally would be
              visible attributes. Any additional attributes should be defined with a prompt. This will allow
              CADPIPE to use the prompt automatically when requesting data as it inserts the title block.


Customizing the Date/Time Stamp
              You are prompted for the standard CADPIPE date/time stamp when you initialize your
              drawing. If the User I.D. toggle, cpuid_flg, is off, the block DSTAMP-.DWG from the
              \CPISO\ISOBLKA directory is automatically inserted with the current time, date and
              drawing name.

              If the User I.D. toggle is on, the block DSTAMPU.DWG is inserted. This block is the same
              as DSTAMP-.DWG except it contains an extra attribute for the user I.D. The
              DSTAMPU.DWG appears as follows:




CADPIPE ISO                                                                               The BOM Template
CUSTOM-50                                                                                   CUSTOMIZING




               You may change the format of this block by editing it in AutoCAD. It is a combination of
               text and attributes.

               The text may be changed and the blocks redesigned as desired using standard AutoCAD
               commands, but the blocks must still contain the following attributes:

               DWG1                   The drawing name
               DATE1                  The current system date
               TIME1                  The current system time
               USERID                 Use I.D. - name, initials, etc. (DSTAMPU.DWG only)

               These attributes have no flags set and do not have prompts. The program provides the
               prompt text. If you add your own attributes to this block, you must include prompts with
               them.

               AutoCAD’s SAVE and END commands have been redefined to update these attribute
               values every time the drawing is saved.




Customizing the Date/Time Stamp                                                             CADPIPE ISO
CUSTOMIZING                                                                                     CUSTOM-51



Using CADPIPE Global Variables

              Using the value of CADPIPE global variables in menu, scripts or on the command line
              requires the following format:

              (eval isopln)

              This will return the value of the global variable isopln. The string representing the variable’s
              name is not case sensitive. If CADPIPE ISO’s isoplane were currently set to Left Hand, the
              value returned by the above expression would be the character “A”. This concludes the
              Customizing chapter.




CADPIPE ISO                                                                 Using CADPIPE Global Variables
ERROR MESSAGES                                                                                     ERROR-1



                                                   ERROR MESSAGES


General Errors
              In the following pages we list in alphabetical order many of the possible error messages that
              you can encounter within CADPIPE. These do not include AutoCAD messages.

              The error message, in bold, is followed by the explanation, in another type style.

              Adjacent port in same direction as inlet
              You will see this error if you have placed two adjacent ports on angle-type valves in the
              same direction.

              AutoIso drawing limits not set
              You must define your limits on the prototype drawing for AUTO-ISO to know where to
              place the automatic isometric with its bill of materials.

              Balloon not found
              The object you have selected is not a balloon.

              Block not available for item
              The command selected requires the insertion of a block drawing which was not located. All
              blocks used in conjunction with CADPIPE commands must reside in specific “block
              directories” created during normal installation. Refer to Installation and Customizing for
              details of CADPIPE directory structure and Custom block generation and maintenance.
              This error can also result from improper installation which will deny access to these block
              drawings.

              Block not found
              The BOM block name that you requested could not be found. Type
              in the full pathname to the block (e.g., \CPISO\ISOBLKA\CP_BOM).

              BOM insertion point not defined
              The BOM insertion point block (CP-BOMPT) must be on your prototype drawing.

              Branch not in spec
              With Spec Check on, you attempted to place a branch fitting that was not allowed for the
              current size and branch size.

              BW <item> only
              CADPIPE supports the selected item in butt welded end type only.


CADPIPE ISO                                                                                  General Errors
ERROR-2                                                                                  ERROR MESSAGES

                 BW/SW/THRD <item> only
                 CADPIPE supports the selected item in butt welded, socket welded, and threaded end
                 types only.

                 BW/THRD/SO/SW orifice flanges only
                 CADPIPE does not support WFR orifice flanges.

                 Cannot choose an axis
                 Structural symbols cannot be oriented off an axis, therefore their offset rotation angle cannot
                 be along the current isoplane.

                 Current size not in spec
                 You have attempted to turn Spec Check on, but your current size is not in the spec you
                 have specified.

                 Different pipe segments
                 You have chosen your insulation or tracing to begin and end on different pipe. CADPIPE
                 does not allow this. Choose your starting and ending points again, making sure they are on
                 the same pipe. Do not start or end on pipe intersections.

                 Drawing BOM file not found
                 You must run a BOM on your drawing before you Auto-Balloon it. If you have made any
                 changes since your last BOM you must run another for Auto-Balloon to work correctly.

                 Drawing not initialized
                 Your prototype drawing has not been initialized.

                 First/Last segments do not intersect
                 The Join option of the [Routing Line] command only accepts the selection of two different
                 routing lines with intersecting first and/or last segments.

                 Invalid - Max ??? chars
                 The input requested can only accept up to the maximum number of characters specified in
                 the error message.

                 Invalid box points
                 The two end points in a box dimension are in an incorrect relative position, based on the
                 offset dimensions entered. The two points must be moved to a different relative position
                 before dimensioning.

                 Invalid bend - maximum 90°
                 The Custom Bend command only permits a 90° maximum custom bend.

                 <name> Invalid custom block
                 The custom block code name that you have input was not found in the ISOBLKX.LST file.




General Errors                                                                                   CADPIPE ISO
ERROR MESSAGES                                                                                      ERROR-3

              Invalid database selection
              CADPIPE does not recognize the current database selection. Be sure the correct database
              is installed and the correct two-letter database code is being used.

              Invalid end points - no included vertices
              The start and end locations digitized belong to the same routing line segment. The AUTO-
              ELBOW command must locate one or more valid vertices to place elbows.

              Invalid inline placement
              You have tried to place an inline fitting without two flanges and/or without the insertion point
              set to flange butt. Check your valve and flange insertion points.

              Invalid ISOplane - block not available for item
              You have tried to place a symbol into an isoplane for which it has not been defined.

              Invalid master code
              Your updated spec references an invalid database. Check that a database is present.

              Invalid object - wrong master code
              The item selected must be of the same Master Code type as the default. For example,
              selecting a 12" O.D. pipe (TUBE-SS) with the [Reset] command while the current Master
              Code is NOM-AP will give this error. Master Code designates the database.

              Invalid object - no itme attributes
              When you want to reset your defaults you must select an item with a node containing
              attribute infromation such as: line designation, elevation, size, etc. (for example, a flange,
              elbow, pipe, or valve). This error may be caused due to AutoCAD’s selection procedure
              with the target box; try to select the desired node in an area of little congestion. Refer to
              Starting for information on item selection and nodes.

              Invalid object - no line number
              The [Line Designation] command must locate an item node which contains the line designa-
              tion and material specification data. This error may be caused due to AutoCAD’s selection
              procedure with the target box; try to select the desired node from an area of little conges-
              tion. Refer to Starting for information on item selection and nodes.

              Invalid placement - ends conflict
              You have attempted to attach two items with incompatible end types, such as a butt welded
              fitting to a socket welded fitting. Check the end type of both items to make sure they are
              compatible.

              Invalid placement - pipe too short
              You have tried to place pipe that is shorter than the recommended length of the minimum
              pipe length factor, using the [Place Pipe] or AUTO-PIPE commands.




CADPIPE ISO                                                                                     General Errors
ERROR-4                                                                                   ERROR MESSAGES

                 Invalid placement - size conflict
                 You have attempted to attach two items with incompatible sizes. Check the size of both
                 items. This error occurs when fittings of different nominal sizes are digitized to be connected
                 with pipe using the [Place Pipe] command.

                 Invalid prototype for AutoIso
                 With this message you will see one of the following:

                 BOM insertion point not defined
                 The BOM insertion point block (CP_BOMPT) must be on your prototype drawing.

                 Drawing not initialized
                 Your prototype drawing has not been initialized.

                 AutoIso drawing limits not set
                 You must define your limits on the prototype drawing for AUTO ISO to know where to
                 place the automatic isometric with its bill of materials.

                 Invalid radius
                 The minimum radius permitted for custom or miter bends is 1.5 times the default nominal
                 size.

                 Invalid selection - pipe segments do not intersect
                 Pipe segments selected for the [Pipe Break] command must graphically intersect the
                 centerline of one pipe with the wall of the other.

                 Invalid selection - same routing line
                 You have attempted to join two routing lines that are already joined.

                 <ISOBLKX.LST> - Custom data file not available
                 The custom block data file was not found in the ISOBLKX subdirectory.

                 ISOplane not supported
                 You tried to dimension along an offset angle while the current default isoplane was set to
                 NORMAL. Set the isoplane. This error can also occur if you were placing a 2:1 head with
                 the current isoplane set to NORMAL, or a North Arrow when not set to a TOP place.

                 <item> undefined as specified
                 The CADPIPE database table for the item selected at the default size contains an undefined
                 cell (0.0000). Data for the item can be viewed, edited, or added using the Database Editor.

                 Minimum value 0.5
                 The universal drawing scale factor (USF) has a 0.5 minimum.

                 Must extend along ISOplane
                 When you are placing structural beams, the point you select for indicating the length of the
                 beam must be along an appropriate angle for the current isoplane.


General Errors                                                                                   CADPIPE ISO
ERROR MESSAGES                                                                                      ERROR-5

              North arrow not found
              The north arrow block, C”-DNAROW” or “C-CNAROW”, could not be found on your
              drawing. Place a north arrow on your drawing.

              No routing line designation
              If you want to run a line contamination check on a line, you must have a line designation
              attached to the routing line.

              Outlet end not in spec
              The outlet end of the object you are placing is not defined in the current piping specification.
              Use [Spec Override] or change outlet end.

              Outlet size not in spec
              The outlet size of the object you are placing is not defined in the piping specifications. Use
              [Spec Override] or change the outlet size.

              Orifice not in spec
              The orifice does not meet all the requirements of the current piping specification.

              Pipe not found
              The item you have selected is not pipe.

              Points on different routing lines
              When you are using the “fitting to fitting” dimensioning option, the routing line segments that
              you digitize must be part of the same routing line.

              Real world points not found
              One or both of the real world blocks (CP-RW) could not be found, and therefore the real
              world dimensions could not be calculated. Choose the dimension real world blocks again,
              possibly using snap mode, near, or equivalent.

              Routing line not found
              When you use AUTO DIMENSION each dimension offset must lie on a routing line
              segment or at a routing line vertex.

              Size not in spec ... size change ignored
              You have Spec Check on, and the size you attempted to change to is not allowed in the
              spec.

              SW/THRD <item> only
              CADPIPE supports the selected item in socket welded and threaded end types only.

              S.O. or Thrd Red. Blind Flange only
              CADPIPE only supports reducing blind flanges that are slip-on or threaded.




CADPIPE ISO                                                                                    General Errors
ERROR-6                                                                                    ERROR MESSAGES

                 THRD <item> only
                 CADPIPE supports the selected item in threaded end type only.

                 Unable to access spec file <name>
                 The specification file for the current line designation does not exist.

                 Unable to initialize balloon file
                 The balloon file containing BOM information was not found or was incorrect. It would be
                 best to RUN a BOM on the drawing again before continuing to try the balloon commands.

                 Valve not in spec
                 With Spec Check on, you have attempted to place a valve that is not defined in the specifi-
                 cation. Use a spec valve or [Spec Override].

                 W.N., S.O., Plate, or Thrd Red. Flanges only
                 CADPIPE only supports reducing flanges that are weld neck, slip-on, plate or threaded.


Start-up Errors
                 <error> — CADPIPE not loaded
                 An error was encountered while loading CADPIPE. The most likely cause is incorrect path
                 assignments or an incomplete software installation (i.e., necessary files are missing).

                 Incompatible drawing file
                 Your drawing cannot be used with the current version of CADPIPE. See the manual or
                 update old drawing files.

                 Invalid environment
                 The necessary files needed to run CADPIPE could not be found. Check that there are files
                 in your CADPIPE directories and that your paths are set correctly. You may want to re-
                 install CADPIPE to ensure you have a complete program.

                 Menu not found
                 CADPIPE could not find its MNU file in the appropriate directory. The menu files are
                 stored in the CADPIPE Support directory (\CPA-CADW).

                 Unable to initialize hardware lock
                 The hardware lock is not properly installed. Ensure that it is firmly plugged into your parallel
                 port, LPT1, and that your printer, if connected, is powered on and online. If you are running
                 a Windows NT system, ensure that you have installed the NT drivers from your CD.




General Errors                                                                                   CADPIPE ISO
ERROR MESSAGES                                                                                     ERROR-7



Database Errors
              CADPIPE has three general levels of table read error and alert messages:

              1 CADPIPE can’t find the database table name that you have specified.

              2 CADPIPE finds the table, and opens it, but cannot find the size or schedule that you have
              specified.

              3 CADPIPE finds the table and the size or schedule, but finds zeroes in the cell from which
              it must retrieve a value. In some instances, CADPIPE prompts you to enter a value.

              Fitting undefined as specified
              The CADPIPE database table for the fitting selected at the default size contains an unde-
              fined cell (0.0000). Data for the fitting can be viewed, edited, or added using the Database
              Editor.

              Flange undefined as specified
              The CADPIPE database table for the flange selected at the default size contains an unde-
              fined cell (0.0000). Data for the flange can be viewed, edited, or added using the Database
              Editor.

              <table name> - invalid fitting configuration
              CADPIPE was not able to locate the database table listed in brackets defined by the default
              fitting settings. This error can also result from improper installation, which can deny access
              to the database tables.

              <table name> - invalid fitting size
              CADPIPE was not able to find the data required for the fitting at the default size. Data for
              the item can be viewed, edited, or added using the Database Editor..

              <table name> - invalid flange configuration <> <> <>
              CADPIPE was not able to locate the CADPIPE database table listed in brackets defined
              by the default flange settings. This error can also result from improper installation which can
              prevent access to these database tables.

              <table name> - invalid flange size <>
              CADPIPE was not able to find data required for the flange at the default size. Data for the
              item can be viewed, edited, or added using the CPEDIT command.

              Valve length not available in table ...
              The valve length in the CADPIPE database table for the valve selected at the default size is
              undefined (0.0000). This warning message will be followed by a prompt requesting a user
              defined length to continue or a <Return> to exit the command. Data for the valve can be
              viewed, edited, or added using the CPEDIT command.



CADPIPE ISO                                                                                  Database Errors
ERROR-8                                                                              ERROR MESSAGES


CPSYS Errors
               CADPIPE utilizes a program, CPSYS, to aid the program in accessing database tables. As
               part of the SETISO.BAT file, the CPSYS program is “installed” on your system and then
               AutoCAD is invoked.

               The following error messages can occur prior to your AutoCAD session and are CPSYS
               errors.

               CPSYS failure
               CPSYS could not find the hardware lock. Check that it has not come loose. Also, check
               that you are not in port 2. If you are, use the /2 parameter.

               Hardware lock error
               The hardware lock is no longer responding. Check that the lock has not come loose and
               that the peripherals it is connected to are turned on and ready.



Bill Of Materials
               Errors

               No BOM file
               No input file was specified. The lisp may be out of date. Reload the program.

               No Table path
               Invalid Environment setup
               The environment is not set up correctly. Check the versions of your executables are current
               and consistent.

               Cannot open display
               The program cannot display the BOM on your screen. Run the BOM program again, or
               output the BOM to a printer or ASCII file.




CPSYS Errors                                                                                   CADPIPE ISO
ERROR MESSAGES                                                                                       ERROR-9

              Cannot open printer
              The program could not access the printer. Check to see if the printer is connected and the
              lock is installed properly.

              No items found
              There are no items in the BOM extract.

              Cannot open cpbom.lpt. Using defaults
              The program cannot find the printer configuration file. In this case, it will set up standard dot
              matrix defaults. You could continue if you are using a dot matrix printer, but you should try
              to locate the CPBOM.LPT file. It should be in your \CPEXE directory.

              Cannot access temporary file
              Cannot create temporary file
              Cannot create temporary files
              Too many temporary files
              Cannot write to temporary file
              Invalid carriage return
              Invalid line feed
              write_record() FAILED
              The program cannot access or write to a temporary file. Check your hard disk space
              (\CPTEMP) and read/write access.

              Metric/Imperial Mode mismatch
              You are trying to work with a metric drawing in an imperial CADPIPE program or vice
              versa. If you are using both imperial and metric CADPIPE on the same system, make sure
              you create a project directory and keep your drawings in an appropriate directory
              structure.

              Invalid INPUT record in “ReadNext()”
              Could not scan all input records
              Cannot move to appropriate record in input file
              Cannot move past header in file
              Cannot read past header in input file
              No mode (Metric/Imperial) found
              Reinstall to ensure the program versions are compatible.

              Invalid filename
              Cannot find output file
              Cannot open ascii file
              Could not open input file ‘filename’
              The file is not located where you indicated, or you do not have read/write permissions on it.

              Cannot display BOM report.
              Display limited to 64K chars - use printer, database, or ascii
              file
              BOM file is too big - listing will be incorrect
              The program cannot display the BOM on the screen. Run the BOM program again, or try
              sending it to an ASCII file or to the printer.


CADPIPE ISO                                                                                   Bill Of Materials
ERROR-10                                                                                   ERROR MESSAGES

                    Too many items in sdx file
                    Too many items in filename
                    The BOM extract can only contain approximately 22,000 items.

                    Could not open ‘filename’ for output
                    The program cannot find the file specified or cannot output it. Check your hard disk space
                    (\CPTEMP) and read/write access.

                    Can’t open string table “filename”
                    No access to string table “filename”
                    Incomplete read from string table “filename”
                    Invalid string table “filename” -Data table?
                    Invalid string table “filename” - Multiple data sets?
                    The required string table is either missing or damaged. Use the Database Editor to check
                    the location of the file or reinstall the database.

                    Invalid database master code: code
                    You may be trying to access a database that you do not have installed (i.e., from a drawing
                    created elsewhere). You may need to rinstall the database.

                    Can’t open bolt table “filename”
                    No access to bolt table “filename”
                    Incomplete read from bolt table “filename”
                    Incorrect bolt table format: # sets
                    The required bolt table is either missing or damaged. Use the Database Editor to check the
                    location of the bolt table or reinstall the database.

                    LPT# unavailable: status: 0x01
                    Printer port LPT# cannot be accessed.

                    Warnings

                    Warnings are used for advice; usually when further information (confirmation) is needed or
                    when a requested function cannot be executed.

                    Warning   1320   :   <filename>   <system   error>   ...
                    Warning   1321   :   <filename>   <system   error>   ...
                    Warning   1322   :   <filename>   <system   error>   ...
                    Warning   1323   :   <filename>   <system   error>   ...
                    Warning   1324   :   <filename>   <system   error>   ...
                    The file named could not be found or encountered some other system error.

                    Warning 1327 : No items found ...
                    There were no matching line numbers/material specs to be found in the BOM extract.

                    Warning 1328 : No items found ...
                    There were no items found with the parameters selected. For example, if you select “Shop
                    Items” and receive this message, then there are no shop items in the BOM extract.



Bill Of Materials                                                                                 CADPIPE ISO
ERROR MESSAGES                                                                                      ERROR-11

              Warning 1501 : The string tables are incomplete ...
              All required string tables were not found or not properly loaded. This could result in blanks
              in your BOM listing. Again, ensure that your tables are loaded correctly.

              Warning 1510 : Too many descriptors ...
              Only the first 64,000 bytes of the user description file (.DES) will be used by the BOM
              program. Do not try to put descriptions by size into your spec; they won’t work as you
              anticipate and the file is too large to use.

              Warning 1306 : Too many wafer gaskets ...
              Only the first 2,000 wafer gaskets found will be merged to calculate correct bolt lengths.

              Warning   9010 : Printer <> off-line ...
              Warning   9011 : Printer <> out of paper ...
              Warning   9012 : Printer <> not connected ...
              Warning   9013 : Printer <> not ready ...
              When you are printing, various printer errors will be flagged for your information.

              Warning - pipe length shorter than recommended minimum
              You have specified a length for a BW nipple which is shorter than the recommended length
              of “minplf” x pipe O.D. You will still be allowed to place this as pipe.



Query
              Errors

              Can’t open string table
              No access to string table
              Incomplete read from string table
              Invalid string table. Data table?
              Invalid string table. Multiple data sets?
              The required string table is either missing or damaged. Use the Database Editor to check
              the location of the file or reinstall the database.

              No access to database dir
              Invalid database master code
              Incorrect database code. Either the correct database has not been installed properly, or
              Query is receiving corrupt data. Try reinstalling the database.

              NULL CPTABLE environment variable!
              CPTABLE not set yet!
              No “CPTABLE” environment variable
              No “CPSPEC” environment available
              No access to CPTABLE: “directory name”
              No access to CPSPEC: “directory name”
              CPTABLE “directory name” not a directory
              CPSPEC “directory name” not a directory
              The environment is not set up correctly. Ensure the executables and
CADPIPE ISO                                                                                 Bill Of Materials
ERROR-12                                                                            ERROR MESSAGES

           the lisp are from the same version. If not, reload the program.

           Neither metric nor imperial specified
           None of -[ortho, iso or pid] specified”
           Ensure the executables and the lisp are from the same version. If not, reload the program.

           No items found
           There are no items to report. If you were expecting a report from your selection, check that
           your node layers are turned on. You can Reset your defaults to do this.

           Warnings

           Warning 1413 : No items found ...
           There are no items in the Query extract.

           Warning 1420 : <filename> <system error> ...
           Warning 1428 : <filename> <system error> ...
           The file named could not be found or encountered some other system error.

           Warning 1501 : The string tables are incomplete ...
           All required string tables were not found or properly loaded. This could result in blanks in
           your BOM listing. Again, ensure that your tables are loaded correctly and use Project
           Manager to run CADPIPE.

           Warning 1510 : Too many descriptors ...
           Only the first 64,000 bytes of the user description file (.DES) will be used by the BOM
           program. Do not try to put descriptions by size into your spec; they won’t work as you
           anticipate and the file is too large to use.



Global Bill Of Materials

           too many cpg files
           There are too many CPG files for program to handle. Merge or delete some CPG files.

           Jobnums num1 and num2 are not equal, continue (y/n)
           You are attempting to merge two CPG files with different job numbers. This message is
           checking that you are certain you want to merge these two files.

           Cannot rename tempname as truename
           Cannot rename the temporary file as the appropriate CPG file. Ensure \CPTEMP is on the
           same drive as the current directory and that you have the necessary permissions.




Query                                                                                      CADPIPE ISO
ERROR MESSAGES                                                                                    ERROR-13

              update failed for drawing file.dwg, continue (y/n)?
              The program cannot update the CPG file from the drawing file. Check the version of the
              drawing file. If the drawing was created prior to 2.3, it may need updating. If the drawing
              was created with a later version of CADPIPE than what you are using, you may
              encounter this message.

              filename is not a valid cpg file, please reenter
              The CPG file is not recognized as valid by the current program. Check the version of the
              CPG file.



AUTO-ISO


              Error: no segs on the real pt
              No fittings in segment list
              No fitting ends are on the segment
              Couldn’t find the segment for an eccentric fitting
              Couldn’t find the previous segment for an eccentric
              fitting
              These are internal errors indicating that either the UDE file was not correctly created or that
              AUTO-ISO does not know how to handle one of the fitting(s) in the UDE file.

              Invalid prototype for AUTO-ISO
              AUTO-ISO drawings limits not set
              AUTO-ISO needs to know where and how big to draw ISO inside the prototype drawing.
              The drawing area limits are set using the “Prepare Prototype” command.

              Unable to make and translate the geometry into
              isometric view. Break the cty file into smaller
              sections.
              AUTO-ISO was unable to make an unscaled isometric drawing from the UDE file. This can
              occur because all instances of a fitting type (for example, valves) are drawn at the same size
              on an isometric drawing regardless of their real world dimensions. AUTO-ISO moves,
              stretches, and shrinks pipes to try and piece all fittings together on the drawing but in some
              cases with closed loops it may be impossible. When this occurs divide the UDE file into
              smaller UDE files without loops.

              Zero length segment found in iso DDD
              This is a fatal error indicating that AUTO-ISO has encountered a fitting it does not know
              how to handle, the geometry of the UDE file was invalid, or that the UDE file was created
              incorrectly.




CADPIPE ISO                                                                                         Auto-Iso
Standard Prototype Drawing                                                                   PROTO-1



                        Standard Prototype Drawing
               Your initial drawing environment is established from the CADPIPE ISO prototype drawing
               ISO.DWG (MISO.DWG).


Layers
               The following is a list of the CADPIPE layer names




Layers                                                                                   CADPIPE ISO
PROTO-2                                                                     Standard Prototype Drawing

              The parameters listed below are a few of those which differ from the standard AutoCAD
              prototype drawing:

      BLIPMODE:              Off (0)

      COORDS:                0 (Distance and angle from last point are displayed when a distance
                             or angle is requested.)

      DIMZIN:                3 (This controls how the feet and inches are displayed in your dimen
                             sioning.)

      LIMITS:                Lower left corner: - 1, - 1 (-0.5, -0.5)
                             Upper right corner: 18, 12 (576, 399)

      MENU:                  CADPIPE

      SNAPMODE:              On, spacing (1/4", 1/4") (6, 6)

      SNAPSTYL:              Isometric

      TEXTSIZE:              0.09 (0.25)

      UNITS:                 4 - Architectural (feet and inches)
                             - 1/16 is the smallest fraction
                             2 -Decimal (millimeter)

              If you are unfamiliar with the above AutoCAD variables, please refer to your AutoCAD
              manual and read the sections on “system variables” (SETVAR command) and “dimension-
              ing variables.”

              You can customize the layers in your ISOLAY.ISP file which you will find in your
              \CPISO\ISOLSP program directory; you can also change the above drawing parameters in
              your prototype drawing.




CADPIPE ISO                                                                                    Layers

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:338
posted:4/1/2011
language:English
pages:175