MOVE E THROU IDP@ 5. MOVE W THROU IDP@ 6. MOVE N THROU IDP@ 7. MOVE S THROU IDP@ 8. Q DTXR (To See Name Of Component) 9. Q STEXT 10. STEXT ‘NOTE’ (Naming For Attachment) 11. Q ATT (To see the attributes) 12. REPR INSU ON/OFF UPDATE 13. Q ISPEC (To see the insulation) 14. ISPEC NULREF (To Remove the Insulation) 15. CONN NEXT (Connection to next element) 16. FCONN (For force connection) 17. DIST 500 18. AXES AT PH (To see Axes of Pipe Head) 19. AXES AT PT (To see Axes of Pipe Tail) 20. AXES OFF


21. BY U 500 22. BY D 500 23. BY E 500 24. BY W 500 25. BY S 500 26. BY N 500 27. Q NAME 28. ROTATE BY 45 (Rotated command) 29. ROT BY 90 ABOUT Z THRO ID@ (Rotated) 30. Q PARA (To check nozzle size) 31. Q CATREF (To See nozzle Rating) 32. Q POS IN WORLD 33. CH CE (check current element) 34. Q SPREF (check piping Spec) 35. Q ORI (To see the orientation) 36. DIR D (Direction Down) U E W N S (For elbow, tee, valve) 37. Q P1/P2/P3 (To see pipe Bore Direction Connection type and Position) 38. Q HBORE 39. Q TBORE 40. Q LBORE 41. NEW BRA COPY PREV BY E/W/S/N/U/D 100 42. Q U (To see the elevation)


RAD 500 (Control Valve Radius) 54. STEXT ‘DRAIN POINT’ 58. Q MEM 47. Q RTEX OF DETREF (To see element type and detail) 48. HEI 500 (Control Valve Height) 55. BRA CONN PT TO LAST 53. CONN IDP@ TO IDP Q CE 49. Q ANGLE (For change the angle) 44. For Slope Line /Rotated Elbow a. Q LTLE (To cheek pipe length) 46. FORWARDS (Select in piping components) 3 .43. Q STEXT e. Q ATT c. BRA CONN PT TO NOZZ ID@ 52. FORW (Forward) 57. BRA CONN PH TO FIST MEM 51. BACK (Backward) 56. TCONN OPEN d. For Drain pipe a. Q PL (For Direction and position) 50. THRO NEXT (To connect element to next component) 45. ADD ATT (For isometric note) b.

Q PSPEC (To see the pipe spec) 65. Q LSTUBE (To Change the spec Brake) 64. MTOC DOTD (Do not want in bill of material) You can see the Doted DOTD 60. EXTE START BY U 500 WRT/* 5. Q CUTL (To see length of section) 8. Q PA BOP/TOP (To see the pipe BOP/TOP) 63. EXTE END/START THRO IDPL@ (PL-Pline) 7. Q POS PPLINE BOS IN/* (BOS TOS NA) 9. MTOC OFF (Don ’t Want in bill of material) 62.b. EXTE END BY D 500 WRT/* 4. DIR TOW NEXT c. MTOC ON (Want in bill of material) 61. Q POSE WRT/* 3. DIR TOW NEXT 59. ADD ALL STR 4 . EXTE END/START THRO ID@ 6. BACKWARDS (Select in piping components) d. CONN PT TO LAS MEM STRUCTURE COMMANDS 1. AXES AT POSE/S (end or start) 2. CONN PH TO P3 OF ID@ ( AND SELECT THE PIPE P3) 66.

REPR OBST ON/OFF UPDATE 10. BY U//D/E/W/N/S 500 13. MOVE W THROU IDP@ 6. Q ATT 12. DRNEND S 45 W (Direction and angle) EQUIPMENT COMMANDS 1. REM ALL EQUI 3.10. MOVE E THROU IDP@ 5. MOVE U THROU IDP@ 4. REPR HOLES ON/OFF UPDATE 9. NEW BOX XLEN 400 YLEN 250 ZLN 150 5 . ADD ALL EQUI 2. NEW BOX COPY PRE 13. NEW EQU COPY $V1 (To Include Equipment in another zone) 11. REM ALL STR 11. Q DRNS DRNE 14. MOVE N THROU IDP@ 7. VAR1 NAME b. BY U//D/E/W/N/S 500 12. To Copy New Equipment a. MOVE S THROU IDP@ 8. DRNSTART S 45 E (Direction and angle) 15.

a. NEW PYRE COPY PRE 16. OUTPUT CE c. For copy equip/sub equipment from one project to another project.14. MDB UPDATE b. $M FILE NAME. For Undo Command a. TERM 2. USER PROMQAMQA/MQA c. EXIT 4. NEW NOZZ COPY PRE 17. UNCLAIM CE 6. UNCLAIM ALL 6 . For pest equipment / sub equipment from one project to another project. NEW CYL COPY PRE 15.TXT b. MDB NOUPDATE b. EXIT 5. NEW BOX COPY PRE ROT BY 90 ABOUT Z THRO IDP@ OTHERS COMMANDS 1. a. Mdb Update a. /SUFN d.TXT 3. FILE /FILE NAME.

Q USER (Logging name) 24. Q REF 16. Q US (User name) 14. Q BANNER FULL 22. ALPHA LOG /C:/ANANT. Q DBNAME (To check DB name) 25. RECREATE DISPLAY /ABC. Q MDB (Multiple data base) 15. $M ABC. SAVEWORK 13. Q DBFILE 28. ADD ALL WITHIN VOL CE 100 10.7. Q DISPLAY 20. Q TEAM (PDMS user name) 23. ALPHA REQ CLEAR (To clear the command screen) 8. Q BANNER (To Check the version number) 21. Q UNITS 19.TXT (For save Display) 17. Q LASTMOD 7 . Q DBTYPE 26.TXT (To make command line file) ALFA LOG END 12. Q DBFNUMBER 27. CREATE NEW ZONE/SITE/EQUI 9.TXT (For restore Display) 18. Q ORI (To see the orientation) 11.

Q SESSMODI 31. recre disp /gggg over (U can save as a display or u can do like this) $m gggg 39. STATUS 37. Q USERMODI 32. Q DRAW 34. Q SESSMOD 30. Q DRAW FULL 36.29. Q DRAW COUNT 35. FILE /C:/AAA OVER OUTPUT NEW CEV TERM ENTER $M /C:/AAA PDMS Syntax Examples Position>Move>Distance Moves the element ’s origin by a given distance in a given direction. MOVE N DIST 10’ MOVE S WRT /* DIST 5' MOVE E IN SITE DIST 5' Position>Move>Through Moves the origin of the element in a given direction through a Reference Plane perpendicular to the line of travel that is passing 8 . Ex. SYSTAT (Gives you information about the current active Status of the project) 38. Q LASTMODI HIER 33.

Move a piping component to one specified zone coordinate along constrained centerline Q ATT -. INFRONT and TO refer to the near side while BEHIND and FROM refer to the far side of an item.Query all attributes of current element Q NAME -. or obstruction. Ex. Ex. MOVE ALONG E PLANE N45W THRO ID@ ∑ AT E3’ N30’ U10’ -. p-point. BEHIND.through a picked element. Ex. or coordinate. and UNDER refer to a picked or named item’s physical obstruction. p-point. MOVE E DIST 10 ’ FROM /P-101 MOVE E CLEARANCE 10’ FROM /P-101 The options INFRONT.Query the reference number of the current element ∑ ∑ ∑ ∑ ∑ 9 . Position>Plane Move>Through Moves the origin of the element in a given direction through a Reference Plane specified by the user that is passing through a picked element. MOVE N THRO ID@ MOVE N THRO IDP@ MOVE N THRO N46’ Position>Move>Clearance Moves the element ’s origin. p-point. or obstruction in a given direction with a clearance from another item’s origin.Move the current element a relative distance in a given direction TO U12’6 -. while the TO and FROM options refer to the item’s origin. ONTO.Query name (or any specific attribute may be used) of the current element Q REFNO -.Position the current element at a specific coordinate (must specify all three coordinates) BY E6’6 -. or coordinate. p-point.

Query the operating system location of user file directory (%PDMSUSER%) NEW STRU -.∑ ∑ Q POS -.Query TOS of current element (SCTN) Q EVAR PDMSUSER -.Query position wrt owner of the current element Q POS WRT ZONE -.Lists all options for the MOVE command NAME /ANYNAME -.Query position wrt zone of current element Q CE .Go to the previous current element $Q -.Query the name of the owner of the current element NEXT -.Create synonym to query attributes Q POS PPLINE TOS START WRT WORL -.Query the name attribute (or reference name) of current element Q MEM -.Create new structure element (Note: CE must be a owner level (ZONE) or below NEW SUBS /MAIN-DECK -.Go to next element in list PRE -.Go to previous element in list SAME -.Lists all valid commands MOVE $Q -.Create new substructure element and set the name attribute POS E20’ N10’ U5’ -. $S QA=Q ATT -.Position CE at specified owner coordinates ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ 10 .Set the Description attribute of the current element to a text string.Query members of current element Q OWN -.Set the name attribute of the current element DESC ‘ANY TEXT STRING’ -.

Move to the sixth element in the list of the current element 11 . any attribute can be set by specifying the attribute name and value you want it to take.Move up the database hierarchy by 1 level 6 . Setting PDMS attributes ∑ ∑ In principle.Position CE at specified world coordinates CONN IDP@ TO IDP@ -.Connect P1 of the current primitive to a picked Ppoint of another primitive.Move to an element by its reference number END .Connect a picked Ppoint on the current primitive to a picked Ppoint of another.∑ POS E20’ N10’ U5’ WRT /* -. The following are examples: XLEN 200 DESC 'PLATE GIRDER' HEIGHT 300 TEMP 120 NAME /FRED PURP EQUI ORI Y IS N ORI Y IS N AND Z IS U Navigation Commands for moving around the PDMS database.Move to an element by name =23/506 . ∑ ∑ ∑ ∑ /NAME . CONN P1 TO IDP@ -.

Move to the next elbo in the current list by passing any other elements PREV . This is the best way of ensuring that you get to the element you want.Move four elements back from ce SAME . Query Commands ∑ ∑ ∑ Q ATT . the Q POS command gives the position relative to the element's owner. the list is considered to be reversed so these commands have the effect of working from the opposite end of the list.Go to the previous current element ∑ ∑ ∑ NOTE: NEXT and PREV commands work on the list according to the modes Forwards or Backwards.Query all the attributes of the current element Q POS . Names can change but reference numbers are fixed so you always get the same element.Query the position of the current element Q POS IN SITE (or Q POS WRT SITE) .Move to the previous element in the list PREV 4 . 12 .Move to the second element after the current element NEXT ELBO .∑ ∑ ∑ NEXT . ∑ Q NAME .Query the position of the current element relative to the site position NOTE: Normally.Move to the next element in the list at the same level NEXT 2 . = 234/702. '/PIPING' or may be by a list position name (full name) such as: ELBO 2 OF /P1/B1 ∑ Q REF . In backwards mode.Query the name of the current element.e.Query the database unique reference number i. This may either begin with '/' character.

) CONN P1 TO P2 OF PREV --->>> Positions P1 at the specified point and orientates the element such that P1 is pointing in the opposite direction to the specified ppoint. The following commands are specific to piping because they use the implied direction of the previous component to determine the position. To position relative to some other element. wrt can be added. CONN IDP@ TO IDP@ --->>> Connect a picked Ppoint on the current primitive to a picked Ppoint of another CONN P1 TO IDP@ --->>> Connect P1 of the current primitive to a picked Point of another primitive ∑ ∑ ∑ Positioning Commands (Piping) NOTE: All the above commands can be used with piping components for exact positioning. 13 . ∑ BY N500 -->> Move the element north from it's current position by 500mm (This is relative movement. as shown above. All of the following commands will move components along this line.Positioning Commands (General) At E300 N400 U500 At E3333 N6000 U50 WRT SITE At N500W30U600 WRT WORLD AT N400 U500 E300 IN ZONE At N40 WRT /FRED ∑ ∑ ∑ ∑ ∑ ---->>> Position an element explicitly at the coordinates given relative to the element's owner. This implied direction is some times referred to as the constrained centreline and is simply a line drawn in the direction of the previous component.

THRO N500 TO N500 --->>>> Position the origin of the CE along constrained centerline through N500 in ZONE coordinates. ORI P1 IS N --->>>> Rather than specifying an axis. THRO PT --->>>> Position the origin of the CE along constrained centerline at the point where it intersects a perpendicular plane positioned at the branch tail. so in this case the clearance might be more unpredictable. Z will default to UP. CONNect --->>>> Position the arrive point at the leave point of the previous component and orientate the component to suit.∑ DIST 300 --->>>> Position the current element 300mm away from the previous component. When only one axis is specified. The direction is taken as the leave direction of the previous component. 14 . For most types of component. ORI Y IS E45N --->>>> Specify that the Y axis is pointing E45N. It does not change the position. Orientation Commands (Piping) ∑ ∑ ∑ ORI --->>>> This command orientates the arrive of the element in the opposite direction to the leave of the previous element. For some components such as level operated valves the clearance is likely to take the lever length as the obstruction length of the valve. the other tries to get to it's default. this command gives a tube spool length equal to the clearance value. Orientation Commands (General) ∑ ∑ ∑ ∑ ∑ ORI Y IS N AND Z IS U --->>>> This is the default orientation (wrt owner) for all elements that have an orientation attribute. this command specifies that a particular ppoint is to be orientated in the direction specified. so in this case. CLEAR 400 --->>>> Position the current element with a clearance of 400m between it and the previous element.

DIR S --->>>> This is a special command which is allowed to change the angle of a component. then adjusts the angle to ensure that the leave direction is in the direction specified. you need to be at the right level in the hierarchy and use the command NEW followed by the TYPE of element you want to create.∑ CONNECT --->>>> Perform an ORI. The CHOOSE command allows you to select components from the specification by picking them from a displayed menu. the tee is orientated and the angle adjusted to allow p3 to point in the direction specified. CHOOSE ALL ---->>>> Allows you to see more detail about the component than CHOOSE on it's own. DIR AND P3 IS U --->>>> This is another special command which is only used on tees with variable angles. tees. It first performs an ori. this command performs an ori and then points the ppoint in the required direction. ORI AND P3 IS U --->>>> Used for valves.. (Usually for sloping lines. then position the arrive at the leave of previous. ∑ ∑ ∑ ∑ 15 . you need to create the element and then link it to the catalogue via the spref attribute.) In this case. Creating Elements ∑ ∑ ∑ ∑ NEW BOX --->>>> To create anything in PDMS. etc. the syntax is DELETE followed by the TYPE of element you are deleting. Deleting Elements DELETE ELBO --->>>> To delete an element. It does not change the angle. NEW EQUI /T-1101 --->>>> Create EQUI element and set the name attribute NEW ELBO CHOOSE --->>>> For piping components.

but they have the ability to extract data when queried. Pseudo attributes are not attributes as such.∑ DELETE BRAN MEM --->>>> This deletes the members of an element (i.e. BRAN in this example) without deleting the element itself. a number of keyword or pseudo attributes have been introduced. For Example ∑ ∑ ELBO 1 --->>>> Go to elbo 1 of the branch Q PARAM --->>>> Query the parameters of the catref of the spref Q DTXR --->>>> Query the rtext of the detref of the spref_ can also use dtxs or dtxt Q MTXX --->>>> Query the xtext of the matref of the spref _ can also use mtxy or mtxz Q PSATTS --->>>> Query the list of pseudo attributes available for the CE. PSEUDO ATTRIBUTES In order to get specific information directly from the database. ∑ ∑ ∑ A few useful pseudo attributes appear below: General Queries Q LIST --->>>> Query what you can create below the current element Q OLIST --->>>>Query the type of elements which can own CE Q ORDER --->>>>Query the list position ∑ ∑ ∑ 16 .

∑ Q PROP DESC --->>>> Query the data element with the dkey equal to DESC in the component's dataset (Steelwork and Piping elements) Q PRLS --->>>> Query the list of properties in the component's dataset Q PURP XXX --->>>> Query the purpose attribute of the property XXX Piping Attributes ∑ ∑ ∑ Q CHOICE --->>>> Query the answers of the selectors of the spref Q CHOICE STYP --->>>> Query the styp used to select the component Q PL BOP --->>>> Query the bottom of pipe elevation of the leave point Q PA INSU --->>>> Query the insulation thickness at the arrive point Q PGRAD 1 --->>>> Query the slope at ppoint 1 Q ITLE --->>>> Query the length of implied tube (must navigate first by using 'IL TUBE' at a component) Q LBOR --->>>> Query the leave bore Q ABOR --->>>> Query the arrive bore Q APOS --->>>> Query the arrive position Q LPOS --->>>> Query the leave position At Branch Level ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ Q TULEN --->>>> Query the length of tube in a branch 17 .

CONST allows distances and angles to be calculated from the design data and is invaluable when you are writing applications. For example ∑ ∑ Q CONST ANGLE N AND W --->>>> gives 90° CONST A PIN1 TO PIN2 TO PIN3 18 .∑ Q CLLEN --->>>> Query the centerline length through all components Steelwork ∑ ∑ Q ODESP --->>>> Query the design params of the joint owner Q ADESP --->>>> Query the design params of the joint attached beam Q DRPS --->>>> Query the derived position of the beam start Q NWEI -->>>> Query the net weight (considering joint cut outs) Q GWEI --->>>> Query the gross weight (beam before cutting) Q NCOF --->>>> Query the net centre of gravity for the beam Q NSRF --->>>> Query the net surface area Q MIDP --->>>> Query the mid point Q POS PPLINE TOS START WRT /* --->>>> Query TOS of current element (SCTN) Q PPLINE TOS DIR --->>>> Query the direction of the TOS pline on a SCTN ∑ ∑ ∑ ∑ ∑ ∑ ∑ ∑ The Construct Syntax The construct syntax is described more fully in the Design reference manual and it is worth looking at it in more detail.

The following general criteria can be used to define the selection: ∑ ∑ ∑ ∑ A class of elements or element types A logical expression to be satisfied at all selected elements A physical volume in whichall selected elements must lie A point in the hierarchy below which all selected elements must lie Eg VAR !PIPECOMPS COLLECT ALL BRANCH MEMBERS This would create the array !PIPECOMPS and set it to contain the reference numbers of every piping component in the MDB. Eg VAR !ELBO COLL ALL ELBO WITH SPREF EQ /A300B/100 19 .∑ Q CONST DIST FROM P1 to P2 TO P2 OF/BOX1 --->>>> gives a distance CONST DIST FROM PA TO PL OF PREV $S QA=Q ATT --->>>> Create a synonym to query attributes Q EVAR PDMSUSER --->>>> Query the operating system location of user file directory PDMSUSER REPORTING SYNTAX ∑ ∑ ∑ You can create an array which includes a number of elements which all satisfy specific selection criteria. Logical expressions use the WITH and WHERE option. The syntax is: VAR !Array COLLECT selection criteria !Array is the name of the array that will be created to contain the elements selected. a volume is defined by the WITHIN keyword. as defined by yourself. and the hierarchy criteria is defined by the FOR keyword.

On it's own. it might be necessary to build a command by using the query syntax itself. $Q gives a complete list of top level commands in any PDMS module. E. When applied in the middle of a command line. The command: $Q gives a list of all possible commands at any one time. using $Q and $H syntax.G. The results of the expression are then placed in a named array. it lists the options available at that point. there are a lot of commands available to the PDMS user and the list above is only scratching the surface. the command: ∑ SETUP FORM --->>>> Yields an error incomplete command line 20 . Almost all of the command syntax is described in the reference manuals but in some cases you might find it difficult to compose the required command from these alone.Evaluating Selected DB Elements Using the facilities described here you can create an expression and have it evaluated for all elements which satisfy particular selection criteria. In these cases. The command syntax is: VAR !Array EVALUATE (Expression) FOR Select !Array is the name of the array that will be created (expression) is the expression that will be carried out for all elements that match the select criteria Select is the selection criteria Eg VAR !BOXES EVALUATE ( XLEN * YLEN ) FOR ALL BOXES IF ALL ELSE FAILS! As you can see.

$H is a slightly more sophisticated form of $Q. i. Another form of syntax querying is the $H command. E 45 N. Positioning Radial Nozzles Method 1 1.∑ ∑ SETUP FORM $Q --->>>> list_name as required SETUP FORM _FRED $Q --->>>> lists a number of options including: 'BLOCK/ING' 'RESI/ZABLE' 'AT' 'SIZE' 'COPY' and Newline ∑ Each of the words in quotes can be used at this point. The characters before the '/' indicate the minimum abbreviation which may be used for each part of the command. which lists the available options numerically as the following example shows: SETUP $H 1 SETUP $H1 'FORM' SETUP FORM $H UNAME And so on. Create and then position the nozzle to the correct Up coordinate only.e. There may be further options after these words and the same technique can be used to find the way through. The presence of the Newline keyword without the quotes indicates that the return key may be pressed at this point and the command is executed. 21 . P1 should point in the correct direction.

e. i. i. Solid line nozzle shows position after Step 1. The distance is the PROJECTION DISTANCE.2. Dashed line nozzle shows position after Step 2. 22 . Method 2 1. E. Note: If the nozzle’s height is set from face to centerline. E 2’9. From the application menu bar.e. Create and then position the nozzle at the correct Up coordinate and position it to an orthagonal direction the PROJECTION DISTANCE away from the equipment centerline. P1 should point in the orthagonal direction. you might use Position > Relatively (BY) and define the relative movement as the offset from P2 to P1. choose: Position > Move > Distance The direction of movement is the same as P1.

e. DISH origin. or EQUI if required. etc. <!--[if !vml]--><!--[endif]--> 23 . CYLI origin. choose: Orientate > Rotate The rotation axis should pass through any point on the equipment centerline. Change the ‘wrt’ to WORL. From the application menu bar. i.2. ZONE. EQUI origin. SITE.