Index (version 15):
- How do I run P&IW applications after installing Plant Design Workgroup version 1.5x applications?
- How do I change P&ID Instrument Bubbles to a 3 Line Bubble?
- How do I convert existing bubbles to 3 line bubbles?
Index (version 14):
- How do I add a sequence number to a 2-part instrument tag?
- How do I add Visible Attributes in a block?
- How do I add a new field to a database?
- How do I add a new field to a DCL?
- How do I add a new field to a view?
- How do I add a new Location Code?
- How do I Regen All Data on several drawings automatically?
- How do I change the default SNAP setting?
- How do I configure the Autodesk Viewer Ver. 2 to work with P&ID associated docs?
- How do I convert P&IDs with blocks to intelligent Rebis P&IDs?
- How do I convert lines and plines into intelligent objects?
- How do I create a custom border in P&ID?
- How do I create a custom report in P&ID?
- How do I create a custom symbol?
- How do I create multiple process lines?
- How do I understand DIN line functionality?
- How do I extract, rename, and re-insert a slide?
- How do I import existing drawings into a v.14.0 project?
Question 1: How do I run P&IW applications after installing Plant Design Workgroup version 1.5x applications?
Answer: Product: AutoPLANT Process and Instrumentation Workgroup Apps
Version: 15
Tracker ID(s): Listed in readme.txt
Date: 03/02/2000
File(s): PID1.COM, README.TEXT
Description: This patch will resolve either of 2 conflicts that occur when a user installs 3D 1.51 over an existing P&ID Version 15 installation.
- If 3D 1.51 is installed in a separate directory from the P&IW Version 15, the APLANT.INI file will be modified incorrectly resulting in a failure reading AT.INI when trying to run any of the P&IW modules.
- If 3D 1.15 is installed in the same directory with P&IW Version 15 the P&ID menus will not load correctly.
To install: Download the PIW15_install.zip and follow the instructions in the readme.txt
NOTE: There are 2 distinct conflicts that occur, one when installing in separate directories and one when installing in a common directory. Users should read the readme.txt file to select the appropriate fix for their problem.
Download the file here.
Question 2: How do I change P&ID Instrument Bubbles to a 3 Line Bubble?
Answer:
- You must first add the attribute block that is designed for 3 line bubbles XDIN3_.DWG. This has been included with version 15 of P&ID and is located in the ..\AP-PID\SYM directory. To add the block to the instrument bubbles you should modify the Instrument records in the settings.dbf.
- The keys to change are:
ISABUB ISAHEX ISADCD ISADCA ISAPAT ISALT ISAELIP ISAOVAL
- To change add the attribute to the Settings keys above type SETT at the command prompt in P&ID. This will bring up the Settings Manager dialog box.
- Type ISABUB in the Current Record field and hit the key. Next Click the Edit button.
- This will bring you to the first page of the ISABUB record in Settings Manager.
- Click the Page >... button to go to the second page.
- In the Attribute Blk Name: field under the PID column, change XDIN_2 to XDIN3_3.
- Click the Save button.
NOTE: Once you have clicked the Save button you can click the index button to repeat steps 4-8 for each of the keys named above.
Back to Index
Question 3: How do I convert existing bubbles to 3 line bubbles?
Answer: To convert existing 2 line bubble to 3 line bubbles you have to first modify the master mapping table and any other Update FileSets, such as Rebis.
- In Windows Explorer search the directories listed below for the MAPTABLE.UPD file.
..\REBIS\P&ID\UPDATE\MASTER\MAPTABLE.UPD
..\REBIS\P&ID\UPDATE\REBIS\MAPTABLE.UPD
- Open MAPTABLE.UPD in Notepad.
- Go to Search / Replace and type "XDIN_" in the Find what: field then type "XDIN3_" in the Replace with: field.
- Save and exit.
NOTE: When mapping in the P&ID conversion utilities remember to use IAREA, ITYP, and INUM then add a function similar to the example below in the After Add Tag Function to turn the Area visibility on.
;; Use this in the "After Function"
;; ena - attribute inserted
;;; Turn Instrument Area visiblity On
(attrib_vis ena "IAREA" 0)
Question 1: How do I add a sequence number to a 2-part instrument tag?
Answer:
- Enter WORKGROUP MANAGER and login as SUPERVISOR.
- Go to the MAINTENANCE pull down and select LOAD WORKGROUP EDITOR.
- Under the PROJECT pull down menu select OPEN.
- Select the working project.
- Under the PROJECT pull down menu select DICTIONARY.
- Select the database table to be modified - our example will use the INSTR table.
- Select EDIT.
- Select MODIFY SCHEMA.
- Select ADD. Add the name of the new field (ISEQ) and select the width required (2). Click the left mouse button in the DEFAULT DESCRIPTION FIELD and it will automatically fill in the data.
- Hit OK, OK, SAVE. The software will now change the structure of the PROCESS database.
- EXIT out of the door.
- Check that the field was added by clicking the VIEW SCHEMA. The field should be last
- Go to Project / Tag Codes and click the ADD button.
- Choose the INSTR table from the choose table field and choose ISEQ from the Choose a field box.
- Type "R" in the Tag code box and click OK, click OK again to exit the Tag Codes.
- Next go to Project / Tag Types and go down to the _AT_ INST tag type.
- Add a "dR" to the end of the existing code which will add a dash and the sequence number to the tag code for instruments.
- Under the APPLICATIONS pull down select Instrument Index.
- Scroll down to the System Register view and select it by clicking the mouse to the left of the view.
- Select FIELDS. Select ADD.
- Select the appropriate table from the CHOOSE TABLE section. In this example use INSTR.
- Scroll down in the CHOOSE FIELD section and double click on the field ISEQ.
- Select ACCESS and set up the Access Codes to individual requirements. In our example the rights will not be changed, but this step must not be skipped. Select OK.
- Select OK.
- Scroll down fields to verify the new field was added.
- Select DONE, DONE.
- Go to Instrument Index. If you are questioned about not being able to find ISEQ:
- Edit the TFORMAT.DBF file in the project's schema directory and take out the I in front of ISEQ so that it reads just SEQ.
Now when you insert an instrument in P&ID you will be asked for the type, number and sequence for that instrument. You will have to edit the tag type for every instrument type that you want to use the new codes.
Question 2: How do I add Visible Attributes in a block?
Answer:
- While in P&ID use the AutoCAD command LIST to find out the name of the block to which you wish to add a visible attribute. Then exit the P&ID environment.
- To determine which attribute to add, if you are interested in a piece of equipment use your database editor and open the EQUIP.DBF file, for instruments it is the INSTR.DBF file, in the Projdata directory of your Project.
- Enter AutoCad without running Rebis. Edit the Attribute definition drawing, Which will be the same name as the block you LISTED while in P&ID. This file should be found in AP-PID\SYM directory. Use your find command in Explorer to locate this file exactly.
- Add the new attributes that you need using the AutoCad command ATTDEF. When this command is started you will need to reset the Preset to Y. This is done by entering "P". It will toggle to "Y". Add the new attributes using Standard .05" text. Save and exit AutoCad.
- Enter your drawing, insert the vessel and input the Equipment tag. Under the pull-down go to Utility\Block Refresh\ Interactive for single application or Global for all blocks. Now when you CATT on the block the Operating Pressure and Operating Temperature you entered will be shown. It may take some refining of the block to get the placement of the text where you want it, but you will have achieved your goal of seeing the text.
Back to Index
Question 3: How do I add a new field to a database?
Answer:
- Enter WORKGROUP MANAGER and login as SUPERVISOR.
- Go to the MAINTENANCE pull down and select LOAD WORKGROUP EDITOR.
- Under the PROJECT pull down menu select OPEN
- Select the working project.
- Under the PROJECT pull down menu select DICTIONARY.
- Select the database table to be modified - our example will use the PROCESS database
- Select EDIT.
- Select MODIFY SCHEMA.
- Select ADD. Take note of how the existing fields are structured, all of the fields in this database begin with the letter "P". Add the name of the new field (PDSNP) and select the width required (10). Click the left mouse button in the DEFAULT DESCRIPTION FIELD and it will automatically fill in the data.
- Hit OK, OK, SAVE. The software will now change the structure of the PROCESS database.
- EXIT out of the door.
- Check that the field was added by clicking the VIEW SCHEMA. The field should be last.
Question 4: How do I add a new field to a DCL?
Answer:
- Open AT_PID.DCL located in the ..\PROJECT\SCHEMA\ directory using Notepad.
- Search for AT_PROCESS using the FIND option from the SEARCH pull down menu.
- Scroll down to the section where the columns are set. Example:
Copy this section:
: edit_box {
label = /*PID_198*/"Insulation ";
key = "PINS";
edit_width = 8;
edit_limit = 12;
is_enabled = false;
}
Paste it right below and edit to include the new field description, field name, and width. The width should match the width from the database structure:
: edit_box {
label = "Design Pressure "; (Label on Dialog Box)
key = "PDSNP"; (Field Name from database)
edit_width = 10; (Field Width from database)
edit_limit = 10;
is_enabled = false;
}
- SAVE and EXIT from Notepad
Back to Index
Question 5: How do I add a new field to a view?
Answer:
- Enter WORKGROUP MANAGER and open the working project.
- Go to the MAINTENANCE pull down and select LOAD WORKGROUP EDITOR.
- Under the PROJECT pull down menu select OPEN
- Select the working project.
- Under the APPLICATIONS pull down select P&ID.
- Scroll down to the AT_PROCESS view and select it by clicking the mouse to the left of the view.
- Select FIELDS.
- Select ADD.
- Select the appropriate table from the CHOOSE TABLE section. In this example use PROCESS.
- Scroll down in the CHOOSE FIELD section and double click on the field (PDSNP in our example) you want to add and notice that it will automatically populate the lower section of the dialog box.
- Select ACCESS.
- Set up the Access Codes to individual requirements. In our example the rights will not be changed, but this step must not be skipped. Select OK.
- Select OK.
- Scroll down fields to verify the new field was added.
- Select DONE, DONE.
It is important to note that this procedure will have to be repeated for every view that the new field will have to appear in. In this example, repeat the procedure (starting on step 6) for the view AT_RUN_PROCESS. P>
Question 6: How do I add a new Location Code?
Answer:
- Edit the PID-SUP.LSP file located in ..\REBIS\USER\AP-PID.
- Search for INSTV_LOC using the search command. The following will appear:
instv_loc '(("L" "Field" )
("C" "Control room panel" )
("P" "Local panel" )
("R" "Back of control room panel")
("B" "Back of local panel" )
)
- Copy the last line so that the new code looks like the following:
instv_loc '(("L" "Field" )
("C" "Control room panel" )
("P" "Local panel" )
("R" "Back of control room panel")
("B" "Back of local panel" )
("S" "Skid" )
)
- Save and exit the PID-SUP.LSP file.
- Create a slide called ILOC-S1.SLD. See document HOW TO EXTRACT, RENAME AND RE-INSERT A SLIDE
- Create a new block called SINST.DWG by copying the block LINST.DWG located in the ..\REBIS\AP-PID\SYM\ directory.
- Enter the PID application and select INSTRUMENT from the pull down menu.
- Select an instrument, when the location DCL prompt appears select SKID and place the instrument on the PID.
Open the INS_LOC.DBF located in ..\PROJECT\SCHEMA\ directory using FoxPro 2.6 and add the following records:
a) S,BUB SKI
b) S,DCA SKI
c) S,DCD SKI
d) S, HEX SKI
NOTE: If Instrument Index is being used, the location code will have to be added in that application as well so that when the PID is saved the new code will be recognized. If using Instrument Index skip Item 9.
Back to Index
Question 7: How do I Regen All Data on several drawings automatically?
Answer:Version 14 contains BATCH command under the AP-PID/IMPORT\EXPORT menu.
- Customer needs to open the AT.INI file located in the REBIS\USER\CFG directory in notepad and edit the 'APPROJDB =' statement under the [P&ID] section.
- It should read the same as their 'APPROJDB =' statement under the [WGM] section. I.e.: APPROJDB = Q:\PROJECT.
- Save and exit.
- Next launch the 2D SCHEMATICS application located in the same location as the WGM Icon.
- Select P&ID form the REBIS pulldown menu. Give the drawing any name.
- When asked what type of data there will be a dialog, which shows INTERNAL DATA, this should have a list of PROJECTS below it.
- Select the desired project.
- Select the BATCH command from the AP-PID/IMPORT\EXPORT pulldown menu.
- You will be asked if you want to save the drawing before beginning the batch command, click NO.
- Select the PROJECT button.
- Select the desired project. Click OK to continue
- Click the DRAWINGS button. You must type in the path to the projects PID_DWG directory (or the directory, which contains the drawings you want audited) followed by a return.
- This will give you a list of available drawings. Click the SELECT ALL button. Click OK to continue.
- Highlight the statement in the P&ID COMMAND text field. Cut the Statement by depressing the CTRL and X keys at the same time. Type in the command "C:ASIREGENALL". (This initializes the command, IF THIS IS NOT DONE THE COMMAND WILL NOT BE EXECUTED).
- Select the desired radio button under the ON BATCH COMPLETION section of the P&ID BATCH LAUNCHER dialog box.
- MAKE SURE THAT NONE OF THE SELECTED DRAWINGS ARE OPEN OR THAT THERE ARE NO .DWK FILES PRESENT.
- Select the RUN button.
- If the first drawing comes up and remains with the cursor at the command prompt it will be necessary to go back to step 8 and repeat the batch setup and run it again. (I believe this is required to re-initialize the changes made to the AT.INI file.)
Note: WHEN YOU ARE FINISHED IT IS ADVISABLE TO DELETE THE FILE DWGSLIST.DAT FROM THE REBIS\USER DIRECTORY AND TO DELETE ALL THE FILES (INCLUDING SUBDIRECTORIES) LOCATED IN THE REBIS\USER\APTMP DIRECTORY.
Question 8: How do I change the default SNAP setting?
Answer:
- Edit your PID-SUP.LSP
- Search for "PIDSET2" which should bring you here:
(defun inspset2 ( / p1)
(setq p1 (at_def_read_rec (strcat wdrive (apunit t) pdelim "pid_def") "pidset2"))
(command "_.INSERT" (at_fi_symname "pidset2") "0,2.0" "0.01" "" ""
(cdr (assoc "AA" p1)) ;"" use default text height
(cdr (assoc "AB" p1)) ;"" use default bubble radius
(rtos sf (getvar "lunits") 4)
(rtos sf 2 4)
(if (= at_def_units 1) ; imperial
(rtos (/ sf 8.0) (getvar "lunits") 4) - THIS LINE CONTROLS THE IMPERIAL SNAP SETTING
(rtos (/sf 4.0) (getvar "lunits") 1) - THIS LINE CONTROLS THE METRIC SNAP SETTING
)
- The line I've noted above takes "sf" which is equal to "12" and divides it by 4.0 which gives you 3. You can either change the 4.0 to change the outcome or you can hardcode a setting as shown below:
(rtos (/ sf 8.0) (getvar "lunits") 4)
"99" - For example this line will give you a snap value of 99
;; (rtos (/ sf 4.0) (getvar "lunits") 1) - COMMENT OUT THIS LINE
Back to Index
Question 9: How do I configure the Autodesk Viewer Ver. 2 to work with P&ID associated docs?
Answer:
- Edit the AT.INI file found in the ..\REBIS\USER\CFG\ directory.
- Under the General Section add the following lines:
a) DDEVIEWERAPP=C:\AVIEW\AVIEW.EXE <-the path to aview.exe
b) DDEVIEWERSRV=AutodeskView
c) DDEVIEWERTOP=CONTROL
d) DDEVIEWERCMD=FILEOPEN
You should now be able to associate a document with an object on a P&ID and use the Autodesk Viewer to view it.
Question 10: How do I convert P&IDs with blocks to intelligent Rebis P&IDs?
Answer:
- Open Rebis using the 2D Schematic Icon or WGM Icon.
a) 2D Schematic Icon:
i) Open PID file in question by selecting FILE\OPEN from the AutoCad menu.
ii) Select NEW PID from the AutoPlant Toolbar
iii) Select the appropriate Setting Configurations.
iv) PID is now active
b) Work Group Manager Icon:
i) Select APPLICATIONS and open PID.
ii) From the Pull down menu select DRAWINGS\ADD
iii) Fill out the appropriate drawing information and activate the COPY FROM check
box.
iv) Select FROM AND UNREGISTERED DRAWING.
v) Select EDIT DRAWING. AutoCad will open. Select the appropriate Setting
Configurations.
vi) PID is now active
- Select AP-PID from the pull down menu
- Select CONVERSION\RUN CONVERSION\ON ALL
- Configure to Company Specifications. Our example only has equipment, instruments and pipes. Uncheck the Valves, Run Terminators and To-From Arrows.
- Select BLOCK LIST from the dialog box
- The blocks on the PID will be listed in the BLOCKS IN DRAWING section of the dialog.
- Highlight and hit CONVERT on the blocks that you are interested in. They will appear in the BLOCKS TO CONVERT section.
- Highlight a block and select MAP.
- A dialog box will appear to help map you attributes into the Rebis format. From the MASTER PID COMPONENT LIST select the type of component you are interested in. For example, if the block is a pump, select pump from the component list. Select the USER BLOCK ATTRIBUTE that goes with the pump block. Notice that the attributes are filled in to the appropriate places in the PID TRANSLATION TABLE.
- Hit OK, OK and continue to the next block.
- Continue until all blocks have been converted. If the PID still has components that need to be converted, then see the document on HOW TO CONVERT LINES AND PLINES INTO INTELLIGENT OBJECTS.
NOTE: If you are inside the Conversion Dialog and want to know the function of a button, select HELP from the dialog and click on the button that you are inquiring about. A detailed description of the function will be displayed.
Back to Index
Question 11: How do I convert lines and plines into intelligent objects?
Answer: For this example we will create two squares and a line. We will convert those objects into intelligent equipment and pipes using the conversion utility in P&ID.
- Create a new drawing in P&ID and using a line or pline draw two squares. Connect the squares with a line making sure that the line is in contact with both.
- Go to the AP-PID / Conversion / Build Equipment From Selected Text
- The Select Type Dialog Box appears. Choose Pump and hit [Ok]
- The command line prompt changes to: Select Equipment Text or [Enter] to enter text:
- Hit [Enter] to Enter Text
- The command line prompt changes to: Enter Equipment Tag:
- Enter 5-5-5
- The command line prompt changes to: Pick Text Location:
- Pick a location for the new text below the left square
- Pick secondary insertion point, press return for none:
- Hit [Enter] for none
- The Equipment Values dialog box appears. This allows you to enter information about a new piece of equipment. For now, hit [Ok].
- The command line prompt changes to: Select objects:
- Select the left square and hit [Enter].
The square turns green. That means that the square has been place on the Equipment layer and is now a pump. If you catt on the square you will get the Select View Dialog Box for Pumps.
- Go to the AP-PID / Conversion / Build Equipment From Selected Text
- The Select Type Dialog Box appears. Choose Tank and hit [Ok]
- The command line prompt changes to: Select Equipment Text or [Enter] to enter text:
- Hit [Enter] to Enter Text
- The command line prompt changes to: Enter Equipment Tag:
- Enter 6-6-6
- The command line prompt changes to: Pick Text Location:
- Pick a location for the new text below the left square
- Pick secondary insertion point, press return for none:
- Hit [Enter] for none
- The Equipment Values dialog box appears. This allows you to enter information about a new piece of equipment. For now, hit [Ok].
- The command line prompt changes to: Select objects:
- Select the right square and hit [Enter].
The square turns green. That means that the square has been place on the Equipment layer and is now a tank. If you catt on the square you will get the Select View Dialog Box for Tanks.
- Go to AP-PID / Conversion / Build Pipe / From Inputed Values
- The Select Type Dialog Box appears. Choose MAJOR and hit [Ok].
- The Pipe Setting Dialog Box appears. Choose "4" and hit [Ok].
- The command line prompt changes to: Select line Segments/Zoom/Multiple Add/Remove/Done:
- Select the line between the two squares.
- At the command line type d and hit [Enter].
- The command line prompt changes to: Position text or return:
- Position the text above the line and left click.
- The Termination Placement Dialog Box appears. Click the Accept button. This places a run terminator on the left square, which is now a pump.
- The Termination Placement Dialog Box re-appears. Click the Accept button. This places a run terminator on the right square, which is now a tank.
- Go to AP-PID / Utility / maintenance / Update Run Term Color and left click. This updates the run terminator on the pump to green denoting it as the beginning of the run.
Your Conversion is complete. If you CATT on the line you will notice that it now brings up the Select View dialog box for pipes. If you select pipe run view and hit the use button you will notice that the pipe run From 5-5-5 the pump to 6-6-6 the tank.
Question 12: How do I create a custom border in P&ID?
Answer:
- Open the user border with AutoCad. Make sure that the border inserts at 0,0.
- Check user border attributes by using the DDMODIFY command and turn preset on for each attribute.
- Save drawing using "BORD" as the last four characters of the drawing name (Ex. D1BORD.DWG for a user "D" size sheet)
- Move file into ..\REBIS\AP-PID\SYM directory
- Open PID-SUP.LSP file and search for BORDLIST
- Add name of new border -less "BORD" to the list like in the example below.
(setq bordlist
'( "A" "B" "C" "D" "A0" "A1" "A2" "A3" "A4" "11,17" "34,22" "NONE" "D1")
)
- Save and Exit.
- Open new PID drawing and select user border from P&ID Settings dialog Drawing Size or Limits selection list.
NOTE: If trying to pull data from the Rebis databases, the attributes that are placed on the drawing should be exact field name as in the database. The fields will have to be added to the AT_DWG_NAME view via the WGE.
Back to Index
Question 13: How do I create a custom report in P&ID?
Answer: This example will create a report that shows one record per tank with multiple records below each tank record for all of the nozzle information associated with the given tank.
- Go to P&ID / REPORTS / QUERY
- Choose Tank View
- Add a query called New Tank Query
- Accept the default SQL by hitting the OK button
- At the Query List screen highlight New Tank Query and hit Execute
- At the Edit Data for screen click the Report button
- At the Report Generation screen click the Add button
- At the Add Report screen type Tank Report in the New Report Name field and click OK
- Back at the Report Generation screen click the Modify button - this brings up the report editor
- Go to REPORT / DATA GROUPING and click Add
- At the Group Info screen click the Group button
- From the Fields section of the Expression Builder screen double click on keytag_a and click OK
- Back at the Group Info screen click OK
- Back at the Data Grouping screen click OK
- You will notice that there is now a gray bar in your report called Group Header 1:keytag_a
- Place your cursor on the gray box in the left margin next to the words Group Header, a double headed arrow will appear, click and drag down to open enough area to place a field. (See Graphic below)
- Click on the field keytag_a which is in the Detail section directly under the Group Header bar and drag it into your new Group Header section above the Group Header bar.
- Go to REPORT / PAGE PREVIEW - this will give you a preview of your report. You will notice that the Tag number only shows up once even though all of the nozzle information for that tag shows up under it.
- If you don't want to see all of the nozzle information you can put the fields you do want to see in the Group Header section and delete everything out of the Detail section. This will only show information for the tank only once. (See Graphics below)
- You may delete and insert any field that is in the Tank View by clicking the ab button and then dragging in your Detail or Group Header Section. This will bring up the Report Expression screen where you can click on the Expression button to bring up the Expression Builder screen. From here you can choose which field to insert. (See Graphics below)
- After formatting your report as you would like; click on the fox icon in the upper left corner of the report writer screen and click Close. Save the report when asked. (See Graphics below)
- You can now run this report anytime you want to see a tank list.
 |
Question 14: How do I create a custom symbol?
Answer: Example: Creating a custom to-from arrow.
- Copy your PID1.DWG to Pid99.DWG. This is done to prevent you from losing your custom symbols when you upgrade. ..\REBIS\AP-PID\SYM\.
- Copy PID.SLB to Pid1.slb. This is done to prevent you from losing your custom slides when upgrading. ..\REBIS\SUPPORT\.
- Rename PID.SLB to PID.ORG and rename PID1.SLB to PID.SLB.
- Using P&ID open PID99.DWG and locate box TOFRMSQ3.
- Delete the insertion point (the small blue circle in the box next to TOFRMSQ3)
- Copy the contents of TOFRMSQ3 to that box.
- From the Block Manger Menu choose Change/Set Name. On your command line you will notice the prompt "Pick name to change, return when done:".
- Click on the name of your new box. Your command line prompt changes to "Enter new name: :".
- Type in tofrmnew (be sure to use the same case throughout this exercise) and hit [Enter]. Your command line prompt changes to "Enter new slide text <*>:".
- Hit [Enter] for default and hit [Enter] to end the command.
- From the Block Manager Pull Down Menu choose Slides/Creation - On/Off. Your command line will read "Slides will now automatically be generated as symbols are created".
- From the Block Manager Pull Down Menu choose Slides/Copy entities for slide. Your command line prompt changes to "Pick inside symbol box, return when done:".
- Click inside you new symbol's box.
- From the Block Manager Pull Down Menu choose Auto BLK. Your command line prompt changes to "Pick in box of lower left block:".
- Click in the lower left end of you new symbol's box. Your command line prompt changes to "Pick in box of upper right block:".
- Click in the upper right end of you new symbol's box. Your new slide is now \ created.
** If you are using version 13 P&ID go to the Version 13 Addendum on the last page before continuing!**
- Exit P&ID, rename PID.SLB to PID1.SLB and rename PID.ORG to PID.SLB.
- Edit PID.MNU, (..\rebis\user\ap-pid\r14\ or r13 depending version of autocad) and search for ID_Tofr3SQ. You should be at a line that looks like the following:
ID_Tofr3SQ [To/From SQ Arr 1/1 Line]^C(SETT "TOFR3-SQ" "DB");FUNC
- Create a new line under the line above and type the following:
tofrmnew [New Try]^C(SETT "tofrmnew" "DB");FUNC
- Next search for: [pid(IC-TOFR6. You should be at a line that looks like the following:
[pid(IC-TOFR6,To-From SQ Arr 1-1)]^C(SETT "TOFR3-SQ" "DB");FUNC
- Create a new line under the line above and type the following:
[pid1(tofrmnew,New Arrow)]^C(SETT "tofrmnew" "DB");FUNC
***notice PID1 instead of PID***
- Save and close PID.MNU
- Erase PID.MNR, PID.MNS and PID.MNC
- Go into P&ID and create a new or open an existing drawing.
- At the command line type sett and hit [Enter].
- In the Setting Manager index find and highlight TOFR3-SQ and click the Add Copy button.
- In the Enter New Key / New Key box type in tofrmnew and click OK.
- Hit the Page > on the screen that appears.
- Under PID type tofrmnew in the Symbol Name: box.
- Click Save and Exit Settings Manager.
Your new arrow is now ready for use go to AP-PID/Miscellaneous/Arrows and choose New Arrow from the Icon Sheet.
* *VERSION 13 ADDENDUM**
In version 13 slides are not automatically entered into the slide library. It must be done manually. The steps to accomplish this are outlined below: When you create the slide in block manager it creates a slide called tofrmnew.sld.
- Find this file and copy it to the ..\rebis\support\ directory.
- Copy ap-slb.exe to the \rebis\support\ directory.
- Go to DOS prompt and change to the ..\rebis\support\ directory.
- At the DOS prompt type:
ap-slb a pid1.slb tofrmnew.sld
This will enter the slide into pid1.slb. You may return to step 9.
Back to Index
Question 15: How do I create multiple process lines?
Answer:
Open the PID-SUP.LSP file and search for ProcessRunList.
On the second occurrence cancel the search. Add the new line names to the string of multiple line names in the section that creates both a PROCESS and a RUN view.
Example:
;; Uncomment the following to create a Process and a Run for all P&ID Line menu picks.
(setq ProcessRunList
'( "MAJOR" "MINOR" "EXISTMA" "EXISTMI" "NEWMAJ" "NEWMIN" "NEWLINE" )
)
Add the NEWLINE name to the bottom of the table listing the layers. This table is located right below the section that was just completed. Copy the MAJOR line and paste it to the bottom of the list as follows:
'("NEWLINE" 1 "CONTINUOUS" "_.PLINE" 0.03) ;24 New Process line.
The "1" is the color number and user can set to their preference.
Make note of the "24" (or the next sequential number in the list) this number it
will be use later in the SETTINGS.DBF (step 10).
Also make note of the properties of the lines for use in step 12.
Save and Exit.
Open the PID.MNU file located in ..\REBIS\USER\AP-PID\R14 or R13 depending on the users version of AutoCad. There are multiple places where the NEWLINE needs to be added depending on the users menu preferences.
Using the EXPERT menu the procedure is as follows.
- Search for **ID_MAJOR.
- Copy the statement for the MAJOR PROCESS line and paste it back in above the CONTINUE LINE statement.
- Change statement to reflect the NEWLINE information
Delete the PID.MNR, PID.MNS and PID.MNC files from ..\REBIS\USER\AP-PID\R14 or R13.
Start PID and open a new drawing file.
Open SETTINGS.DBF by typing [SETT] at the command line.
Enter the MAJOR record and copy to a new record called NEWLINE.
Edit NEWLINE and page over to the second page. Locate the LAYER INDEX and in the third column, type in the number "24" from step 3. If the user has added several lines, add the appropriate LAYER INDEX number in the records.
Select AP-PID\LINES\NEWLINE from the menu and place the new line.
If opening an existing drawing, type the command [FLAY] to manually add the layer to the drawing. When the dialog appears, type the name of the layer in the ENTER NEW LAYER blank. It will be required to know the properties of the new line that was defined in the PID-SUP.LSP. The user will have to type [FLAY] again to return to automatic layering when they have completed adding the new layers. This will have to be done on each existing drawing. Once the drawing has been saved the new layering is saved with it.
Question 16: How do I understand DIN line functionality?
Answer: DIN Lines are user definable lines that may be used to create new type of process, electrical and utility lines. The Solid Fuel line found under AP-PID / Lines / Utility Lines / Solid Fuel is a DIN line. To create your own new process line:
- Open a P&ID drawing and type SETT on the command line. This will open the Settings Manager dialog box.
- Type DIN-SF in the Current Record field. This will bring you to the DIN-SF record in the Index window.
- Click the Add Copy button, type DIN-NEW in the New Key field and Click OK. This adds a new record to the Settings.dbf with the same values that are recorded in the DIN-SF record. It then brings up the Settings Manager with the DIN-NEW record current.
- Click the Page >… button to go to the second page.
- Remove DINSFUEL from the Symbol Name field under the P&ID column and put "NIL" in the field. This will remove the symbol that prints in the Solid Fuel line.
- Click the Page >… button to go to the third page.
- Replace DIN1 with DIN in Item Type field. Click Save then click Exit.
- Edit PID.MNU and search for din-sf and click the Find Next button twice. That should bring you to the section below:
ID_DIN_SF [Solid Fuel]^CMNP;(SETT "DIN-SF" "A");FUNC
- Put this line right below the one above.
DIN-NEW [New DIN ]^CMNP;(SETT "DIN-NEW" "A");FUNC
- Go to Search again, click the Find Next button twice again. That should bring you to the section below:
[pid(IC-DINSF,Solid Fuel )]^C(SETT "DIN-SF" "AA");FUNC
- Put this line right below the one above.
[pid(IC-DINSF,New Line )]^C(SETT "NEWLINE" "AA");FUNC
- Save and Exit PID.MNU. Delete PID.MNR, PID.MNC &PID.MNS.
- Open a P&ID, Go to AP-PID / LINES / UTILITY LINES / NEW LINE and place your new line.
Your line is simply a one line DIN line. You may now change its appearance by changing its settings in Settings Manager. Below is a list of the changes you can make to DIN Lines so that you can experiment with you new line.
- To make DIN lines intelligent, substitute the Function name C:PIPE for C:ISAR on the 3rd page of the record in Settings Manager
- To include a symbol in the DIN line change the P&ID Symbol Name to the symbol desired on the 2nd Page of the record in Settings Manger.
NOTE: If your DIN line does not include a symbol you must put "NIL" in the P&ID Symbol Name field.
NOTE: The Solid Fuel line has a symbol included in it. You may look at its settings in the Setting Manager under DIN-SF. You will find the symbol that is include in the solid fuel line in the REBIS / AP-PID / SYM directory in PID2.DWG.
- To add a different line type you can modify the BOM Expression field on the1st Page of the record.
Example: Place Dashed,Continious,Dashed in the BOM Expression field of a record that has DIN1 in the Item Type field on page three. You will produce a line that has one solid line with dashed lines on the top and the bottom.
To have the middle line thicker then the rest, change the layer index to match a layer (from the lay table in pid-sup.lsp) that is drawn with a pline and has a thickness.
The keys that are available for Item Type on page three of the Settings Manager are:
"din" <- one line center
"din1" <- three lines (left center right)
"din2" <- two lines (left right)
"din3" <- three lines (left center right)
"din4" <- two lines (center right)
"din5" <- two lines (center left)
Back to Index
Question 17: How do I extract, rename, and re-insert a slide?
Answer:
- Go to DOS Prompt.
- Type in cd \rebis\ap-pid\ - This changes to the ap-pid directory.
- Be sure that ap-slb.exe is in this directory, if not copy it in before proceeding.
- Type in ap-slb e at_pid iloc-l1 - This extracts the slide.
- Type in rename iloc-l1.sld iloc-s1.sld - This renames the slide you extracted.
- Type in ap-slb a at_pid iloc-s1 - This inserts the new slide.
Question 18: How do I import existing drawings into a v.14.0 project?
Answer:
- Open Workgroup Manager (WGM).
- Create a new project by going to the PROJECT pull down menu and selecting NEW.
- After entering the Project name and description select "OK".
- You will be prompted to assign a Tag Format. (I suggest you select the Ad T dN area, type, number)
- Next you are prompted to register an application for the Project. Register all desired applications by selecting them with a check mark. (It is essential that you register P&ID.)
- After the applications are registered enter the P&ID module by selecting the APPLICATIONS pull down menu and picking P&ID from the dialog.
- This will bring up a blank drawing register. Add a new drawing by selecting the DRAWINGS pull down menu and picking ADD.
- This brings up a dialog box, which asks you to enter the P&ID drawing name, description, and alternate drawing name. The only mandatory field is the Drawing Name field.
- After giving the new drawing a name you must select the check box marked "Copy an existing drawing". Then select the radio button marked "from an unregistered drawing".
- Then you will be asked to select the path to the drawing to be copied. Select the desired existing drawing hit "OK". Select the CREATE DRAWING button to enter the AutoCAD environment.
- You will receive a warning that the "DRAWING FILE ALREADY EXISTS DO YOU WISH TO OVER WRITE THE EXISTING FILE" select YES.
- The drawing will then load normally in AutoCAD and the AutoPLANT software will load and then you will receive the following:
AutoPLANT MESSAGE: P&ID 14.0x IS ABOUT TO UPDATE YOUR <11.52> DRAWING. THE NEW DRAWING WILL NOT BE COMPATABLE WITH THE PREVIOUS VERSION. SELECT "YES" TO CONTINUE.
Select YES.
- The next screen that will appear is the P&ID UPDATE OPTIONS FOR "rebis" dialog box.
- Check the appropriate boxes. I.e.: do you want to be prompted for the area number? I suggest checking all of the boxes in the UPDATE section if they are not already checked.
- Check the "USE MAPPING DIALOG" box under the MAPPING section.
- Select OK.
- Now you will be prompted by the TERMINATION BLOCK PLACEMENT dialog to accept the placement of the run terminators for a process line run. You can accept these, one at a time, select the correct placement of the start and end points of the run, or accept all. The ACCEPT ALL selection will automatically accept the run terminators, however the flow direction and connectivity may not be correct. The choice is yours. Accepting each terminator to verify the run and flow direction is advisable, but very time consuming and requires knowledge of the P&ID.
- When all the run terminators are defined the program then updates the databases and the process is complete.
- Save the drawing and exit.
- Now repeat the process for each drawing to be imported.
Back to Index