Hari ini aku mencoba untuk menulis mengenai apa yang kutemui dan apa yang kuhadapi selama melakukan perjalanan dari Chow Kit ke Bukit Bintang. Dimana hari-hari rute kerjaku yach seperti ini berangkat pagi dan pulang malam. Dan kisah yang mungkin bisa diangkat dalam blog ini.
Dan mudah-mudahan bisa menjadi renungan buat kita semua bahwa kita hidup ini untuk apa dan apa yang harus kita buat untuk kehidupan kita baik di dunia maupun di akhirat.
Cerita pertama coba saya angkat dan mungkin tak panjang ceritanya. Dimana saya pernah ke Toilet di Pavilion Mall Bukit Bintang dan saat saya keluar mau masuklah seorang Bapak-bapak duluan dan disusul di belakangnya seorang laki-laki yang menyerupai wanita (banci) mau masuk juga ke dalam toilet laki-laki dan saat itu memang dia berjalan dengan teman wanitanya. jadi saat mereka mau masuk ke dalam toilet, si cewek masuk ke dalam toilet wanita sedang si laki-laki menyerupai wanita ini hendak masuk ke dalam toilet pria. Dan saat mau masuk , dia ditahan oleh bapak-bapak dari Arab tadi , dan dia bilang "This is for men and woman there" selama 2 kali si bapak mengucapkan dengan nada serius ke laki-laki yang menyerupai wanita ini dan si pria ini diam saja sambil tersipu malu. Dan akhirnya bapak itu sadar bahwa orang yang dilarangnya masuk ke dalam toilet laki-laki adalah benar laki-laki sambil mengamati leher di jakun si pria tadi.
Kalau di pikir-pikir kenapa pria mau menjadi wanita sedangkan dia dilahirkan sebagai laki-laki. Dan apakah si pria yang bermasalah ini menjadi pencinta pria juga. Mudah-mudahan tidak. Kebanyakan alasan adalah si pria ini semenjak kecil bermain dengan anak-anak cewek dan dia tidak diterima di perkumpulan anak laki-laki. dimana kumpulan anak laki-laki, dia harus kuat dan berani , dan kemungkinan si pria bermasalah ini kebanyakan bermain dengan perempuan dan kadang mengerjakan pekerjaan rumah misalnya membantu memasak, mencuci dan membersihkan rumah. Dan atau mungkin banyak statiun2 TV di Indonesia menyiarkan adegan-adegan pria bermasalah (banci) di dalam acara komedi sehingga membuat banyak pria yang kemungkinan tidak bermasalah jadi bermasalah agar mungkin dapat diterima dalam pergaulan atau bisa menjadi bintang film atau sinetron dan berakting sebagai banci..
Saya nggak tahu dan saya hanya share bahwa pria menjadi wanita setelah dewasa itu akibat kebiasaan sejak kecil yang mengerjakan pekerjaan wanita. sehingga secara tidak langsung dapat membentuk jiwa mereka yang saat itu labil menjadi seperti itu. Dan tidak ada manusia setengah laki-laki atau setengah perempuan, yang ada hanyalah laki-laki ya laki-laki 100% dan perempuan ya perempuan 100%.
Cerita kedua mengenai larangan merokok..
sewaktu pulang kerja saya singgah ke Pavilion Mall dan nampak banyak anak2 berpakaian ala marching band sedang meniup terompet atau menyiapkan segala sesuatu untuk parade. Rupanya sedang mau ada acara parade marching band. Dan saya heran kok acaranya dilaksanakan sekitar pukul 8.30 PM dan kenapa diadakan parade di bukit bintang. rupanya ada faktor kesengajaan untuk menarik para wisatawan untuk menyaksikan parade tersebut dan saya akui Malaysia sangat pandai meracik setiap event agar dapat menarik para wisatawan untuk berkunjung ke Malaysia khususnya di Kuala Lumpur.
Kembali ke cerita larangan merokok, saat saya tengah menanti acara dimulai dan tengah asyik menunggu parade lewat di jalan di mana saya berdiri di tepi. terciumlah bau asap rokok yang tak enak diterima oleh hidung dan tak terasa aromanya semakin kuat rupanya saat saya tengok ke belakang , ada 2 orang lelaki asing sedang merokok dan dengan gaya cueknya tetap merokok. Dan saya ingat iklan di TV 3 bahwa bilamana kita ingin memberhentikan perokok yang ada di depan kita, ankat 2 jari dan letakkan di hidung, dan itu tanda bahwa kita keberatan kalau dia merokok di dekat kita tapi masalahnya mereka lelaki asing dan tak pernah melihat acara TV 3 jadi rada sulit untuk menerangkan ke mereka.
Akhirnya aku pun mulai tutup hidungku dengan tanganku dan kulihat para wanita yang berdiri di dekat ku pun mulai gelisah karena tercium asap rokok dan mulailah mereka menengok para perokok tadi dengan pandangan cemberut dan aku pun menoleh juga kebelakang tapi pandanganku biasa saja dan kulihat 2 orang laki-laki ini badannya besar2 tapi aku cuek saja dan tetap menutup hidungku saat mereka merokok. Dan nampaknya kedua orang tersebut marah dengan sikap saya tersebut dan akhirnya rokok tersebut dimatikannya dan akhirnya mereka mencolek tanganku dan berkata "Kamu nggak perlu menutup hidungmu lagi karena rokokku sudah kubuang " sambil menengok dengan nada marah. Dan aku yach cuek saja dan kujawab "Thank you sir.." Walau sebenarnya aku takut karena bakal berkelahi dengan 2 orang tadi, tapi aku cuek sajalah dan tetap berdiri disebelah mereka karena mereka pun lelaki asing dan kalau ketahuan berantem bakal di penjara dan kurasa mereka menyangka aku orang Malaysia jadi mereka pikir-pikir untuk berantem dengan aku. Alhamdulillah akhirnya mereka cuma berdiri disampingku dan tak menengok-nengok ke aku lagi. Dan saat mereka lengah aku pelan-pelan keluar dari sana dan pindah ke loaksi lainnya.
Padahal kalau dipikir sebenarnya mereka tahu bahwa rokok itu haram hukumnya. Tapi kalau bicara mengenai rokok pastilah nggak akan pernah ketemu. Walau diharamkan tetap saja orang2 yang kecanduan rokok tetap merokok. Jadi kadang kita yang bukan perokok terpaksa mengalah bila ada orang merokok di depan kita dan jadi perokok pasip lebih parah bahayanya daripada perokok aktif. Tapi itulah dunia kadang orang tak perduli dengan lingkungan sekitar walau ada orang lain yang dirugikan akan tindakan mereka.
Saya rasa hanya itu dulu cerita hari ini dan esok mudah-mudahan ada cerita menarik yang bisa saya share buat dibaca dan kalau bisa ditelaah demi rasa pengertian terhadap sesama manusia.
Salam
Kuala Lumpur 27 July 2011
Mencari nafkah bekerja jadi construction engineer dan mengeluti hobby meracik kopi. Meracik kopi baik arabika dengan robusta ataupun meracik kopi arabika dengan arabika , atau lainnya. Mengoleksi kopi dan menyeduhnya dengan pilihan seduhan yang berbeda. kunjungi outlet kami di Tokopedia.com/lajukelacoffee
DIJUAL TANAH DI GANG SETIA PLAJU PALEMBANG
▼
Wednesday, July 27, 2011
PDMS COMANDO UDARA
Ini adalah PDMS command kedua yang saya mau share di forum ini. Kebetulan saya baru dapat dari internet dan saya share lagi di dalam blog saya ini.
Tapi itulah kondisinya lebih buruk dari yang tadi karena tidak saya edit lagi..
Mohon maaf karena bila kurang jelas , para pembaca harus membaca lagi lebih detail apa maunya kata-kata dibawah ini.
COPY - W TEXP COPY PRE BY X 10, Y 10
LIST -
Q ATT
PLOT -
UTILITIED-DXF CE-CONFIGURABLE
ROTATE -
ADEGREES 90
POSTION -
AT @
CHECK EL. -
Q POS IN/*
TEXT LEADER LINEON/OFF DRAFT-LIBLICATION, CREAT-GENERAL LABLES POSTION
ATTACHMENT
TAG BLOCK REMOVE -
LLEADER FALSE LFRAME FALSE
TAG BLOCK NAME EDIT -
Q SORF
//
SORF NULREF
PIPE DELETED -
CLICK VIEW LAYER-MODIFY-DRAWLIST-PIPE DELETED
TAG COPY -
SELECT OLD TAG-Q DDNAME-SELECT NEW TAG NEW SLAB COPY PREDD
TAG LEADER LINE DELETE Q ATT-LEADER TRUE-FALSE
NEW TEXT
CLICK VIEW LAYER-NEW VNOT-NEW TEXTP-BTEXT`JB'-AT@
JB INSERT
CLICK VIEW LAYER-NEW VNOT-NEW SLAB-TMRF/FJB-
CLICK JB.Q NAME-DDNAME/JB------CLICK SLAB
JB SYMBOL CHANGE -
Q TMRF-TMRF /FJB
TMRF/LCP, TMRF/RIO
TAG BLOCK INSERT -
CLICK VIEW LAYER-NEW VNOT-NEW SLAB-Q TMRF-TMRF NULREF-
TMRF
(XCV)
/CONVLV1-CLICK OLD TAG Q DDNAME-DDNAME/XCV-8718-SAME
CLICK SLAB CLICK DDNAME/XCV-----ENTER
TAG BLOCK INSERT -
CLICK VIEW LAYER-NEW VNOT-NEW SLAB-Q TMRF JBI
(PV,LV)
CLICK OLD TAG Q DDNAME-SELECT TAG BLOCK-SAME-SELECT TAG
BLOCK
CHECK TRAY WIDTH -
Q ATT , Q HBORE
CHECK TRAY EL. - Q HBORE Q TBORE
ALPHA LOG / file name (TO OPEN FILE)
$R6 (RECORD ACTIVITY)
-
--- RUN MACRO ----
$R0 (TO STOP RECORDING)
ALPHA LOG END (TO CLOS FILE)
=======================================================================
PARAGON
-------
PROJECT
- TRG
USERNAME
- SYSTEM
PASSWORD
- XXXXXX
MDB
- TRGCAT
MODULE
- PARAGON
WORLD
!
F
I – INST
C – CONTROL VALVE
J
B – JOHN BROWN
M – RATING 150#(FGB), P=300#(FGD), U-600#(FAUB), W-800#, X-900#(FAXB), Z-1500#.
A – FLANGE FINISH , A – RF , C - FF
F – INLET SIZE
F – OUTLET SIZE
STRUCTURE COMMANDS
1. AXES AT POSE/S (end or start)
2. Q POSE WRT/*
3. EXTE END BY D 500 WRT/*
4. EXTE START BY U 500 WRT/*
5. EXTE END/START THRO ID@
6. EXTE END/START THRO IDPL@ (PL-Pline)
7. Q CUTL (To see length of section)
8. Q POS PPLINE BOS IN/* (BOS TOS NA)
9. ADD ALL STR
10. REM ALL STR
11. Q ATT
12. BY U//D/E/W/N/S 500
13. Q DRNS DRNE
14. DRNSTART S 45 E (Direction and angle)
15. DRNEND S 45 W (Direction and angle)
EQUIPMENT COMMANDS
1. ADD ALL EQUI
2. REM ALL EQUI
3. MOVE U THROU IDP@
4. MOVE E THROU IDP@
5. MOVE W THROU IDP@
6. MOVE N THROU IDP@
7. MOVE S THROU IDP@
8. REPR HOLES ON/OFF UPDATE
9. REPR OBST ON/OFF UPDATE
10. To Copy New Equipment
a. VAR1 NAME
b. NEW EQU COPY $V1 (To Include Equipment in another zone)
11. BY U//D/E/W/N/S 500
12. NEW BOX COPY PRE
13. NEW BOX XLEN 400 YLEN 250 ZLN 150
14. NEW CYL COPY PRE
15. NEW PYRE COPY PRE
16. NEW NOZZ COPY PRE
17. NEW BOX COPY PRE ROT BY 90 ABOUT Z THRO IDP@
OTHERS COMMANDS
1. For copy equip/sub equipment from one project to another project.
a. FILE /FILE NAME.TXT
b. OUTPUT CE
c. TERM
2. For pest equipment / sub equipment from one project to another project.
a. $M FILE NAME.TXT
3. For Undo Command
a. MDB NOUPDATE
b. EXIT
4. Mdb Update
a. MDB UPDATE
b. USER PROMQAMQA/MQA
c. /SUFN
d. EXIT
5. UNCLAIM CE
6. UNCLAIM ALL
7. ALPHA REQ CLEAR (To clear the command screen)
8. CREATE NEW ZONE/SITE/EQUI
9. ADD ALL WITHIN VOL CE 100
10. Q ORI (To see the orientation)
11. ALPHA LOG /C:/ANANT.TXT (To make command line file)
ALFA LOG END
12. SAVEWORK
13. Q US (User name)
14. Q MDB (Multiple data base)
15. Q REF
16. RECREATE DISPLAY /ABC.TXT (For save Display)
17. $M ABC.TXT (For restore Display)
18. Q UNITS
19. Q DISPLAY
20. Q BANNER (To Check the version number)
21. Q BANNER FULL
22. Q TEAM (PDMS user name)
23. Q USER (Logging name)
24. Q DBNAME (To check DB name)
25. Q DBTYPE
26. Q DBFNUMBER
27. Q DBFILE
28. Q LASTMOD
29. Q SESSMOD
30. Q SESSMODI
31. Q USERMODI
32. Q LASTMODI HIER
33. Q DRAW
34. Q DRAW COUNT
35. Q DRAW FULL
36. STATUS
37. SYSTAT (Gives you information about the current active Status of the project)
38. recre disp /gggg over (U can save as a display or u can do like this)
$m gggg
39. FILE /C:/AAA OVER
OUTPUT NEW CEV
TERM ENTER
$M /C:/AAA
PIPING COMMANDS
1. ADD ALL PIP
2. REM ALL PIP
3. MOVE U THROU IDP@
4. 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)
43. Q ANGLE (For change the angle)
44. THRO NEXT (To connect element to next component)
45. Q LTLE (To cheek pipe length)
46. Q MEM
47. Q RTEX OF DETREF (To see element type and detail)
48. CONN IDP@ TO IDP Q CE
49. Q PL (For Direction and position)
50. BRA CONN PH TO FIST MEM
51. BRA CONN PT TO NOZZ ID@
52. BRA CONN PT TO LAST
53. RAD 500 (Control Valve Radius)
54. HEI 500 (Control Valve Height)
55. BACK (Backward)
56. FORW (Forward)
57. For Drain pipe
a. ADD ATT (For isometric note)
b. Q ATT
c. TCONN OPEN
d. Q STEXT
e. STEXT ‘DRAIN POINT’
58. For Slope Line /Rotated Elbow
a. FORWARDS (Select in piping components)
b. DIR TOW NEXT
c. BACKWARDS (Select in piping components)
d. DIR TOW NEXT
59. MTOC DOTD (Do not want in bill of material) You can see the Doted DOTD
60. MTOC ON (Want in bill of material)
61. MTOC OFF (Don’t Want in bill of material)
62. Q PA BOP/TOP (To see the pipe BOP/TOP)
63. Q LSTUBE (To Change the spec Brake)
64. Q PSPEC (To see the pipe spec)
65. CONN PH TO P3 OF ID@ ( AND SELECT THE PIPE P3)
66. CONN PT TO LAS MEM
PDMS Syntax Examples
Position>Move>Distance
Moves the element’s origin by a given distance in a given direction.
Ex.
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 through a picked element, p-point, or coordinate.
Ex.
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, p-point, or obstruction.
Ex.
MOVE E DIST 10’ FROM /P-101
MOVE E CLEARANCE 10’ FROM /P-101
The options INFRONT, BEHIND, ONTO, and UNDER refer to a picked or named item’s physical obstruction, while the TO and FROM options refer to the item’s origin. INFRONT and TO refer to the near side while BEHIND and FROM refer to the far side of an item.
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, p-point, or coordinate.
Ex.
MOVE ALONG E PLANE N45W THRO ID@
· AT E3’ N30’ U10’ -- Position the current element at a specific coordinate (must specify all three coordinates)
· BY E6’6 -- Move the current element a relative distance in a given direction
· TO U12’6 -- Move a piping component to one specified zone coordinate along constrained centerline
· Q ATT -- Query all attributes of current element
· Q NAME -- Query name (or any specific attribute may be used) of the current element
· Q REFNO -- Query the reference number of the current element
· Q POS -- Query position wrt owner of the current element
· Q POS WRT ZONE -- Query position wrt zone of current element
· Q CE - Query the name attribute (or reference name) of current element
· Q MEM -- Query members of current element
· Q OWN -- Query the name of the owner of the current element
· NEXT -- Go to next element in list
· PRE -- Go to previous element in list
· SAME -- Go to the previous current element
· $Q -- Lists all valid commands
· MOVE $Q -- Lists all options for the MOVE command
· NAME /ANYNAME -- Set the name attribute of the current element
· DESC ‘ANY TEXT STRING’ -- Set the Description attribute of the current element to a text string.
· $S QA=Q ATT -- Create synonym to query attributes
· Q POS PPLINE TOS START WRT WORL -- Query TOS of current element (SCTN)
· Q EVAR PDMSUSER -- Query the operating system location of user file directory (%PDMSUSER%)
· NEW STRU -- Create new structure element (Note: CE must be a owner level (ZONE) or below
· NEW SUBS /MAIN-DECK -- Create new substructure element and set the name attribute
· POS E20’ N10’ U5’ -- Position CE at specified owner coordinates
· POS E20’ N10’ U5’ WRT /* -- Position CE at specified world coordinates
· 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 Ppoint of another primitive
Setting PDMS attributes
In principle, any attribute can be set by specifying the attribute name and value you want it to
take. 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.
· /NAME - Move to an element by name
· =23/506 - Move to an element by its reference number
· END - Move up the database hierarchy by 1 level
· 6 - Move to the sixth element in the list of the current element
· NEXT - Move to the next element in the list at the same level
· NEXT 2 - Move to the second element after the current element
· NEXT ELBO - Move to the next elbo in the current list by passing any other elements
· PREV - Move to the previous element in the list
· PREV 4 - Move four elements back from ce
· SAME - Go to the previous current element
NOTE: NEXT and PREV commands work on the list according to the modes Forwards or Backwards. In backwards mode, the list is considered to be reversed so these commands have the effect of working from the opposite end of the list.
Query Commands
· Q ATT - Query all the attributes of the current element
· Q POS - Query the position of the current element
· Q POS IN SITE (or Q POS WRT SITE) - Query the position of the current element relative to the site position
NOTE: Normally, the Q POS command gives the position relative to the element's owner.
· Q NAME - Query the name of the current element. This may either begin with '/' character. '/PIPING' or may be by a list position name (full name) such as:
ELBO 2 OF /P1/B1
· Q REF - Query the database unique reference number i.e. = 234/702. This is the best way of ensuring that you get to the element you want. Names can change but reference numbers are fixed so you always get the same element.
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. To position relative to some other element, wrt can be added, as shown above.
· BY N500 -->> Move the element north from it's current position by 500mm (This is relative movement.)
· 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.
· 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. The following commands are specific to piping because they use the implied direction of the previous component to determine the position. 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. All of the following commands will move components along this line.
· DIST 300 --->>>> Position the current element 300mm away from the previous component. The direction is taken as the leave direction of the previous component.
· CLEAR 400 --->>>> Position the current element with a clearance of 400m between it and the previous element. For most types of component, this command gives a tube spool length equal to the clearance value. For some components such as level operated valves the clearance is likely to take the lever length as the obstruction length of the valve, so in this case the clearance might be more unpredictable.
· THRO N500 TO N500 --->>>> Position the origin of the CE along constrained centerline through N500 in ZONE coordinates.
· 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.
· CONNect --->>>> Position the arrive point at the leave point of the previous component and orientate the component to suit.
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.
· ORI Y IS E45N --->>>> Specify that the Y axis is pointing E45N. When only one axis is specified, the other tries to get to it's default, so in this case, Z will default to UP.
· ORI P1 IS N --->>>> Rather than specifying an axis, this command specifies that a particular ppoint is to be orientated in the direction specified.
Orientation Commands (Piping)
· ORI --->>>> This command orientates the arrive of the element in the opposite direction to the leave of the previous element. It does not change the position.
· CONNECT --->>>> Perform an ORI, then position the arrive at the leave of previous.
· DIR S --->>>> This is a special command which is allowed to change the angle of a component. It first performs an ori, then adjusts the angle to ensure that the leave direction is in the direction specified.
· ORI AND P3 IS U --->>>> Used for valves, tees, etc., this command performs an ori and then points the ppoint in the required direction. It does not change the angle.
· DIR AND P3 IS U --->>>> This is another special command which is only used on tees with variable angles. (Usually for sloping lines.) In this case, the tee is orientated and the angle adjusted to allow p3 to point in the direction specified.
Creating Elements
· NEW BOX --->>>> To create anything in PDMS, 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.
· NEW EQUI /T-1101 --->>>> Create EQUI element and set the name attribute
· NEW ELBO CHOOSE --->>>> For piping components, you need to create the element and then link it to the catalogue via the spref attribute. The CHOOSE command allows you to select components from the specification by picking them from a displayed menu.
· CHOOSE ALL ---->>>> Allows you to see more detail about the component than CHOOSE on it's own.
Deleting Elements
· DELETE ELBO --->>>> To delete an element, the syntax is DELETE followed by the TYPE of element you are deleting.
· DELETE BRAN MEM --->>>> This deletes the members of an element (i.e. BRAN in this example) without deleting the element itself.
PSEUDO ATTRIBUTES
In order to get specific information directly from the database, a number of keyword or pseudo
attributes have been introduced. Pseudo attributes are not attributes as such, but they have
the ability to extract data when queried. 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.
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
· 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
· 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. 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
· 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, as defined by yourself. The syntax is:
VAR !Array COLLECT selection criteria
!Array is the name of the array that will be created to contain the elements selected.
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. Logical expressions use the WITH and WHERE option; a volume is defined by the WITHIN keyword; and the hierarchy criteria is defined by the FOR keyword.
Eg VAR !ELBO COLL ALL ELBO WITH SPREF EQ /A300B/100
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. The results of the expression are then placed in a named array.
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, there are a lot of commands available to the PDMS user and the list above is only scratching the surface. 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. In these cases, it might be necessary to build a command by using the query syntax itself, using $Q and $H syntax.
The command: $Q gives a list of all possible commands at any one time. On it's own, $Q gives a complete list of top level commands in any PDMS module. When applied in the middle of a command line, it lists the options available at that point.
E.G. the command:
· SETUP FORM --->>>> Yields an error incomplete command line
· 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. There may be further options after these words and the same technique can be used to find the way through. The characters before the '/' indicate the minimum abbreviation which may be used for each part of the command. 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.
Another form of syntax querying is the $H command. $H is a slightly more sophisticated form
of $Q, which lists the available options numerically as the following example shows:
SETUP $H
1
SETUP $H1
'FORM'
SETUP FORM $H
UNAME
And so on.
Positioning Radial Nozzles
Method 1
1. Create and then position the nozzle to the correct Up coordinate only. P1 should point in the correct direction, i.e. E 45 N.
2. From the application menu bar, choose:
Position > Move > Distance
The direction of movement is the same as P1. The distance is the PROJECTION DISTANCE.
Note: If the nozzle’s height is set from face to centerline, you might use
Position > Relatively (BY)
and define the relative movement as the offset from P2 to P1.
Solid line nozzle shows position after Step 1. Dashed line nozzle shows position after Step 2.
Method 2
1. 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, i.e. E 2’9. P1 should point in the orthagonal direction, i.e. E.
2. From the application menu bar, choose:
Orientate > Rotate
The rotation axis should pass through any point on the equipment centerline, i.e. CYLI origin, DISH origin, EQUI origin, etc. Change the ‘wrt’ to WORL, SITE, ZONE, or EQUI if
required.
The Database Listing form is displayed when you select Utilities>DB Listing or Query>DB Changes from the main bar menu. This form lets you output all or part of the database, including element attributes, as a text file.
A simple procedure to create a DB listing:
<!--[if !supportLists]-->1) <!--[endif]-->Select Utilities > DB Listing
<!--[if !supportLists]-->2) <!--[endif]-->Navigate to the element that you want to list.
<!--[if !supportLists]-->3) <!--[endif]-->Select Add > CE from the DB Listing form.
<!--[if !supportLists]-->4) <!--[endif]-->Destination should be File. Accept the default filename, or give a path and filename of your choice, i.e. C:\temp\P1501A.txt.
<!--[if !supportLists]-->5) <!--[endif]-->Press the Apply button at the lower left corner of the DB Listing form.
<!--[if !supportLists]-->6) <!--[endif]-->Open the file in the text editor of your choice, i.e. NotePad, WordPad, etc., and edit any attributes such as names, positions, etc. Search and Replace can be used to change names throughout the file. Remember, names must be unique. Don’t forget to save the file.
<!--[if !supportLists]-->7) <!--[endif]-->In PDMS, navigate to the level of a legal owner (or below) of the element type that you have listed.
<!--[if !supportLists]-->8) <!--[endif]--> Display > Command Line
<!--[if !supportLists]-->9) <!--[endif]-->Key in: $M C:\TEMP\P1501A.TXT
It can be used in three different modes:
DB Listing: This outputs a listing of the specified parts of the database in its current state.
DB Changes: This outputs a listing of the changes to the specified parts of the database as a macro which can be run in to return the database to the state it was in at the given time or session. You can edit the macro file so that only the required elements are changed.
DB Differences: This outputs a listing of the specified parts of the database, with the old and new elements and attributes changed or added since the given time or session.
The mode affects which gadgets are active on the form. The mode is changed using the options under Control on the menu at the top of the form.
Destination:
You can send the output to the Screen or a File. If you select File, fill in a valid filename to output to the $PDMSUSER directory, or input a valid pathname to output to a different directory. Select New for a new file, or Overwrite or Append if the file exists: if you do not, you will be prompted to specify which one you want. If you select Screen, the Command Input & Output window will be displayed, ready to display the information when you press Apply.
Browse displays a file browser.
Elements:
This shows the list of elements that will be reported on when the Apply button is pressed. Clicking on any element in this list will navigate to that element.
Changes since
Differences since
DB Listing:
The active gadgets in this frame depend on the form mode, which is shown by the frame title. None of the gadgets are active in DB Listing mode. In DB Changes and DB Differences modes, you can select:
Savework, which will report on changes since the last Savework.
TimeDate, which will report on changes since the time and date given.
Time format is HH:MM on a 24 hour clock, e.g. 16:15.
Date format is DD Mon Year, e.g. 9 Feb 1998 or 30 Aug 97
Session, which will report on changes since the given session number. Set the other gadgets in this frame to the time, date, session number and session user of the last saved session of the current DB.
Extract, which is only active when the current element is in an extract database. will report on changes since the given session number. When you choose this option, the options in the Since Extract frame will become active, see below.
You can type in the session number, or change it using the + and - buttons.
Remember that each DB has its own sessions. The current DB is shown by Database Name at the bottom of the frame.
Note that TimeDate and Session are related: changing one will affect the other settings, and also display the correct Session User.
The More button shows a form with the Session comment for the given session.
Highlight Changes:
This button is only active when the form is in DB Changes or DB Differences mode in DESIGN. If switched on, the changed elements will be highlighted in all
the 3D graphics views in the colour specified by Colour>Changes. This option is useful after a Getwork to see the changes that other users have made.
Since Extract
The first drop-down list in the Since Extract frame will become activewhen you choose the Since Extract option in the DB Changes/Differences frame. It shows all the databases in the extract hierarchy above the current extract, with the Master at the top of the list.
The options on the next drop-down list are:
Only which compares the current database with the selected extract ancestor database
Latest which compares the database with the latest version of the selected extract ancestor database.
Session which compares the database with the selected ancestor extract since session nn of that extract.
Date which compares the database with the selected ancestor extract since the given date in a session of the ancestor extract.
The Apply button is only active when there are elements in the Elements list.
The Dismiss button dismisses the form and clears the Elements list.
Tapi itulah kondisinya lebih buruk dari yang tadi karena tidak saya edit lagi..
Mohon maaf karena bila kurang jelas , para pembaca harus membaca lagi lebih detail apa maunya kata-kata dibawah ini.
COPY - W TEXP COPY PRE BY X 10, Y 10
LIST -
Q ATT
PLOT -
UTILITIED-DXF CE-CONFIGURABLE
ROTATE -
ADEGREES 90
POSTION -
AT @
CHECK EL. -
Q POS IN/*
TEXT LEADER LINEON/OFF DRAFT-LIBLICATION, CREAT-GENERAL LABLES POSTION
ATTACHMENT
TAG BLOCK REMOVE -
LLEADER FALSE LFRAME FALSE
TAG BLOCK NAME EDIT -
Q SORF
//
SORF NULREF
PIPE DELETED -
CLICK VIEW LAYER-MODIFY-DRAWLIST-PIPE DELETED
TAG COPY -
SELECT OLD TAG-Q DDNAME-SELECT NEW TAG NEW SLAB COPY PREDD
TAG LEADER LINE DELETE Q ATT-LEADER TRUE-FALSE
NEW TEXT
CLICK VIEW LAYER-NEW VNOT-NEW TEXTP-BTEXT`JB'-AT@
JB INSERT
CLICK VIEW LAYER-NEW VNOT-NEW SLAB-TMRF/FJB-
CLICK JB.Q NAME-DDNAME/JB------CLICK SLAB
JB SYMBOL CHANGE -
Q TMRF-TMRF /FJB
TMRF/LCP, TMRF/RIO
TAG BLOCK INSERT -
CLICK VIEW LAYER-NEW VNOT-NEW SLAB-Q TMRF-TMRF NULREF-
TMRF
(XCV)
/CONVLV1-CLICK OLD TAG Q DDNAME-DDNAME/XCV-8718-SAME
CLICK SLAB CLICK DDNAME/XCV-----ENTER
TAG BLOCK INSERT -
CLICK VIEW LAYER-NEW VNOT-NEW SLAB-Q TMRF JBI
(PV,LV)
CLICK OLD TAG Q DDNAME-SELECT TAG BLOCK-SAME-SELECT TAG
BLOCK
CHECK TRAY WIDTH -
Q ATT , Q HBORE
CHECK TRAY EL. - Q HBORE Q TBORE
ALPHA LOG / file name (TO OPEN FILE)
$R6 (RECORD ACTIVITY)
-
--- RUN MACRO ----
$R0 (TO STOP RECORDING)
ALPHA LOG END (TO CLOS FILE)
=======================================================================
PARAGON
-------
PROJECT
- TRG
USERNAME
- SYSTEM
PASSWORD
- XXXXXX
MDB
- TRGCAT
MODULE
- PARAGON
WORLD
!
F
I – INST
C – CONTROL VALVE
J
B – JOHN BROWN
M – RATING 150#(FGB), P=300#(FGD), U-600#(FAUB), W-800#, X-900#(FAXB), Z-1500#.
A – FLANGE FINISH , A – RF , C - FF
F – INLET SIZE
F – OUTLET SIZE
STRUCTURE COMMANDS
1. AXES AT POSE/S (end or start)
2. Q POSE WRT/*
3. EXTE END BY D 500 WRT/*
4. EXTE START BY U 500 WRT/*
5. EXTE END/START THRO ID@
6. EXTE END/START THRO IDPL@ (PL-Pline)
7. Q CUTL (To see length of section)
8. Q POS PPLINE BOS IN/* (BOS TOS NA)
9. ADD ALL STR
10. REM ALL STR
11. Q ATT
12. BY U//D/E/W/N/S 500
13. Q DRNS DRNE
14. DRNSTART S 45 E (Direction and angle)
15. DRNEND S 45 W (Direction and angle)
EQUIPMENT COMMANDS
1. ADD ALL EQUI
2. REM ALL EQUI
3. MOVE U THROU IDP@
4. MOVE E THROU IDP@
5. MOVE W THROU IDP@
6. MOVE N THROU IDP@
7. MOVE S THROU IDP@
8. REPR HOLES ON/OFF UPDATE
9. REPR OBST ON/OFF UPDATE
10. To Copy New Equipment
a. VAR1 NAME
b. NEW EQU COPY $V1 (To Include Equipment in another zone)
11. BY U//D/E/W/N/S 500
12. NEW BOX COPY PRE
13. NEW BOX XLEN 400 YLEN 250 ZLN 150
14. NEW CYL COPY PRE
15. NEW PYRE COPY PRE
16. NEW NOZZ COPY PRE
17. NEW BOX COPY PRE ROT BY 90 ABOUT Z THRO IDP@
OTHERS COMMANDS
1. For copy equip/sub equipment from one project to another project.
a. FILE /FILE NAME.TXT
b. OUTPUT CE
c. TERM
2. For pest equipment / sub equipment from one project to another project.
a. $M FILE NAME.TXT
3. For Undo Command
a. MDB NOUPDATE
b. EXIT
4. Mdb Update
a. MDB UPDATE
b. USER PROMQAMQA/MQA
c. /SUFN
d. EXIT
5. UNCLAIM CE
6. UNCLAIM ALL
7. ALPHA REQ CLEAR (To clear the command screen)
8. CREATE NEW ZONE/SITE/EQUI
9. ADD ALL WITHIN VOL CE 100
10. Q ORI (To see the orientation)
11. ALPHA LOG /C:/ANANT.TXT (To make command line file)
ALFA LOG END
12. SAVEWORK
13. Q US (User name)
14. Q MDB (Multiple data base)
15. Q REF
16. RECREATE DISPLAY /ABC.TXT (For save Display)
17. $M ABC.TXT (For restore Display)
18. Q UNITS
19. Q DISPLAY
20. Q BANNER (To Check the version number)
21. Q BANNER FULL
22. Q TEAM (PDMS user name)
23. Q USER (Logging name)
24. Q DBNAME (To check DB name)
25. Q DBTYPE
26. Q DBFNUMBER
27. Q DBFILE
28. Q LASTMOD
29. Q SESSMOD
30. Q SESSMODI
31. Q USERMODI
32. Q LASTMODI HIER
33. Q DRAW
34. Q DRAW COUNT
35. Q DRAW FULL
36. STATUS
37. SYSTAT (Gives you information about the current active Status of the project)
38. recre disp /gggg over (U can save as a display or u can do like this)
$m gggg
39. FILE /C:/AAA OVER
OUTPUT NEW CEV
TERM ENTER
$M /C:/AAA
PIPING COMMANDS
1. ADD ALL PIP
2. REM ALL PIP
3. MOVE U THROU IDP@
4. 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)
43. Q ANGLE (For change the angle)
44. THRO NEXT (To connect element to next component)
45. Q LTLE (To cheek pipe length)
46. Q MEM
47. Q RTEX OF DETREF (To see element type and detail)
48. CONN IDP@ TO IDP Q CE
49. Q PL (For Direction and position)
50. BRA CONN PH TO FIST MEM
51. BRA CONN PT TO NOZZ ID@
52. BRA CONN PT TO LAST
53. RAD 500 (Control Valve Radius)
54. HEI 500 (Control Valve Height)
55. BACK (Backward)
56. FORW (Forward)
57. For Drain pipe
a. ADD ATT (For isometric note)
b. Q ATT
c. TCONN OPEN
d. Q STEXT
e. STEXT ‘DRAIN POINT’
58. For Slope Line /Rotated Elbow
a. FORWARDS (Select in piping components)
b. DIR TOW NEXT
c. BACKWARDS (Select in piping components)
d. DIR TOW NEXT
59. MTOC DOTD (Do not want in bill of material) You can see the Doted DOTD
60. MTOC ON (Want in bill of material)
61. MTOC OFF (Don’t Want in bill of material)
62. Q PA BOP/TOP (To see the pipe BOP/TOP)
63. Q LSTUBE (To Change the spec Brake)
64. Q PSPEC (To see the pipe spec)
65. CONN PH TO P3 OF ID@ ( AND SELECT THE PIPE P3)
66. CONN PT TO LAS MEM
PDMS Syntax Examples
Position>Move>Distance
Moves the element’s origin by a given distance in a given direction.
Ex.
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 through a picked element, p-point, or coordinate.
Ex.
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, p-point, or obstruction.
Ex.
MOVE E DIST 10’ FROM /P-101
MOVE E CLEARANCE 10’ FROM /P-101
The options INFRONT, BEHIND, ONTO, and UNDER refer to a picked or named item’s physical obstruction, while the TO and FROM options refer to the item’s origin. INFRONT and TO refer to the near side while BEHIND and FROM refer to the far side of an item.
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, p-point, or coordinate.
Ex.
MOVE ALONG E PLANE N45W THRO ID@
· AT E3’ N30’ U10’ -- Position the current element at a specific coordinate (must specify all three coordinates)
· BY E6’6 -- Move the current element a relative distance in a given direction
· TO U12’6 -- Move a piping component to one specified zone coordinate along constrained centerline
· Q ATT -- Query all attributes of current element
· Q NAME -- Query name (or any specific attribute may be used) of the current element
· Q REFNO -- Query the reference number of the current element
· Q POS -- Query position wrt owner of the current element
· Q POS WRT ZONE -- Query position wrt zone of current element
· Q CE - Query the name attribute (or reference name) of current element
· Q MEM -- Query members of current element
· Q OWN -- Query the name of the owner of the current element
· NEXT -- Go to next element in list
· PRE -- Go to previous element in list
· SAME -- Go to the previous current element
· $Q -- Lists all valid commands
· MOVE $Q -- Lists all options for the MOVE command
· NAME /ANYNAME -- Set the name attribute of the current element
· DESC ‘ANY TEXT STRING’ -- Set the Description attribute of the current element to a text string.
· $S QA=Q ATT -- Create synonym to query attributes
· Q POS PPLINE TOS START WRT WORL -- Query TOS of current element (SCTN)
· Q EVAR PDMSUSER -- Query the operating system location of user file directory (%PDMSUSER%)
· NEW STRU -- Create new structure element (Note: CE must be a owner level (ZONE) or below
· NEW SUBS /MAIN-DECK -- Create new substructure element and set the name attribute
· POS E20’ N10’ U5’ -- Position CE at specified owner coordinates
· POS E20’ N10’ U5’ WRT /* -- Position CE at specified world coordinates
· 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 Ppoint of another primitive
Setting PDMS attributes
In principle, any attribute can be set by specifying the attribute name and value you want it to
take. 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.
· /NAME - Move to an element by name
· =23/506 - Move to an element by its reference number
· END - Move up the database hierarchy by 1 level
· 6 - Move to the sixth element in the list of the current element
· NEXT - Move to the next element in the list at the same level
· NEXT 2 - Move to the second element after the current element
· NEXT ELBO - Move to the next elbo in the current list by passing any other elements
· PREV - Move to the previous element in the list
· PREV 4 - Move four elements back from ce
· SAME - Go to the previous current element
NOTE: NEXT and PREV commands work on the list according to the modes Forwards or Backwards. In backwards mode, the list is considered to be reversed so these commands have the effect of working from the opposite end of the list.
Query Commands
· Q ATT - Query all the attributes of the current element
· Q POS - Query the position of the current element
· Q POS IN SITE (or Q POS WRT SITE) - Query the position of the current element relative to the site position
NOTE: Normally, the Q POS command gives the position relative to the element's owner.
· Q NAME - Query the name of the current element. This may either begin with '/' character. '/PIPING' or may be by a list position name (full name) such as:
ELBO 2 OF /P1/B1
· Q REF - Query the database unique reference number i.e. = 234/702. This is the best way of ensuring that you get to the element you want. Names can change but reference numbers are fixed so you always get the same element.
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. To position relative to some other element, wrt can be added, as shown above.
· BY N500 -->> Move the element north from it's current position by 500mm (This is relative movement.)
· 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.
· 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. The following commands are specific to piping because they use the implied direction of the previous component to determine the position. 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. All of the following commands will move components along this line.
· DIST 300 --->>>> Position the current element 300mm away from the previous component. The direction is taken as the leave direction of the previous component.
· CLEAR 400 --->>>> Position the current element with a clearance of 400m between it and the previous element. For most types of component, this command gives a tube spool length equal to the clearance value. For some components such as level operated valves the clearance is likely to take the lever length as the obstruction length of the valve, so in this case the clearance might be more unpredictable.
· THRO N500 TO N500 --->>>> Position the origin of the CE along constrained centerline through N500 in ZONE coordinates.
· 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.
· CONNect --->>>> Position the arrive point at the leave point of the previous component and orientate the component to suit.
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.
· ORI Y IS E45N --->>>> Specify that the Y axis is pointing E45N. When only one axis is specified, the other tries to get to it's default, so in this case, Z will default to UP.
· ORI P1 IS N --->>>> Rather than specifying an axis, this command specifies that a particular ppoint is to be orientated in the direction specified.
Orientation Commands (Piping)
· ORI --->>>> This command orientates the arrive of the element in the opposite direction to the leave of the previous element. It does not change the position.
· CONNECT --->>>> Perform an ORI, then position the arrive at the leave of previous.
· DIR S --->>>> This is a special command which is allowed to change the angle of a component. It first performs an ori, then adjusts the angle to ensure that the leave direction is in the direction specified.
· ORI AND P3 IS U --->>>> Used for valves, tees, etc., this command performs an ori and then points the ppoint in the required direction. It does not change the angle.
· DIR AND P3 IS U --->>>> This is another special command which is only used on tees with variable angles. (Usually for sloping lines.) In this case, the tee is orientated and the angle adjusted to allow p3 to point in the direction specified.
Creating Elements
· NEW BOX --->>>> To create anything in PDMS, 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.
· NEW EQUI /T-1101 --->>>> Create EQUI element and set the name attribute
· NEW ELBO CHOOSE --->>>> For piping components, you need to create the element and then link it to the catalogue via the spref attribute. The CHOOSE command allows you to select components from the specification by picking them from a displayed menu.
· CHOOSE ALL ---->>>> Allows you to see more detail about the component than CHOOSE on it's own.
Deleting Elements
· DELETE ELBO --->>>> To delete an element, the syntax is DELETE followed by the TYPE of element you are deleting.
· DELETE BRAN MEM --->>>> This deletes the members of an element (i.e. BRAN in this example) without deleting the element itself.
PSEUDO ATTRIBUTES
In order to get specific information directly from the database, a number of keyword or pseudo
attributes have been introduced. Pseudo attributes are not attributes as such, but they have
the ability to extract data when queried. 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.
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
· 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
· 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. 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
· 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, as defined by yourself. The syntax is:
VAR !Array COLLECT selection criteria
!Array is the name of the array that will be created to contain the elements selected.
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. Logical expressions use the WITH and WHERE option; a volume is defined by the WITHIN keyword; and the hierarchy criteria is defined by the FOR keyword.
Eg VAR !ELBO COLL ALL ELBO WITH SPREF EQ /A300B/100
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. The results of the expression are then placed in a named array.
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, there are a lot of commands available to the PDMS user and the list above is only scratching the surface. 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. In these cases, it might be necessary to build a command by using the query syntax itself, using $Q and $H syntax.
The command: $Q gives a list of all possible commands at any one time. On it's own, $Q gives a complete list of top level commands in any PDMS module. When applied in the middle of a command line, it lists the options available at that point.
E.G. the command:
· SETUP FORM --->>>> Yields an error incomplete command line
· 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. There may be further options after these words and the same technique can be used to find the way through. The characters before the '/' indicate the minimum abbreviation which may be used for each part of the command. 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.
Another form of syntax querying is the $H command. $H is a slightly more sophisticated form
of $Q, which lists the available options numerically as the following example shows:
SETUP $H
1
SETUP $H1
'FORM'
SETUP FORM $H
UNAME
And so on.
Positioning Radial Nozzles
Method 1
1. Create and then position the nozzle to the correct Up coordinate only. P1 should point in the correct direction, i.e. E 45 N.
2. From the application menu bar, choose:
Position > Move > Distance
The direction of movement is the same as P1. The distance is the PROJECTION DISTANCE.
Note: If the nozzle’s height is set from face to centerline, you might use
Position > Relatively (BY)
and define the relative movement as the offset from P2 to P1.
Solid line nozzle shows position after Step 1. Dashed line nozzle shows position after Step 2.
Method 2
1. 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, i.e. E 2’9. P1 should point in the orthagonal direction, i.e. E.
2. From the application menu bar, choose:
Orientate > Rotate
The rotation axis should pass through any point on the equipment centerline, i.e. CYLI origin, DISH origin, EQUI origin, etc. Change the ‘wrt’ to WORL, SITE, ZONE, or EQUI if
required.
The Database Listing form is displayed when you select Utilities>DB Listing or Query>DB Changes from the main bar menu. This form lets you output all or part of the database, including element attributes, as a text file.
A simple procedure to create a DB listing:
<!--[if !supportLists]-->1) <!--[endif]-->Select Utilities > DB Listing
<!--[if !supportLists]-->2) <!--[endif]-->Navigate to the element that you want to list.
<!--[if !supportLists]-->3) <!--[endif]-->Select Add > CE from the DB Listing form.
<!--[if !supportLists]-->4) <!--[endif]-->Destination should be File. Accept the default filename, or give a path and filename of your choice, i.e. C:\temp\P1501A.txt.
<!--[if !supportLists]-->5) <!--[endif]-->Press the Apply button at the lower left corner of the DB Listing form.
<!--[if !supportLists]-->6) <!--[endif]-->Open the file in the text editor of your choice, i.e. NotePad, WordPad, etc., and edit any attributes such as names, positions, etc. Search and Replace can be used to change names throughout the file. Remember, names must be unique. Don’t forget to save the file.
<!--[if !supportLists]-->7) <!--[endif]-->In PDMS, navigate to the level of a legal owner (or below) of the element type that you have listed.
<!--[if !supportLists]-->8) <!--[endif]--> Display > Command Line
<!--[if !supportLists]-->9) <!--[endif]-->Key in: $M C:\TEMP\P1501A.TXT
It can be used in three different modes:
DB Listing: This outputs a listing of the specified parts of the database in its current state.
DB Changes: This outputs a listing of the changes to the specified parts of the database as a macro which can be run in to return the database to the state it was in at the given time or session. You can edit the macro file so that only the required elements are changed.
DB Differences: This outputs a listing of the specified parts of the database, with the old and new elements and attributes changed or added since the given time or session.
The mode affects which gadgets are active on the form. The mode is changed using the options under Control on the menu at the top of the form.
Destination:
You can send the output to the Screen or a File. If you select File, fill in a valid filename to output to the $PDMSUSER directory, or input a valid pathname to output to a different directory. Select New for a new file, or Overwrite or Append if the file exists: if you do not, you will be prompted to specify which one you want. If you select Screen, the Command Input & Output window will be displayed, ready to display the information when you press Apply.
Browse displays a file browser.
Elements:
This shows the list of elements that will be reported on when the Apply button is pressed. Clicking on any element in this list will navigate to that element.
Changes since
Differences since
DB Listing:
The active gadgets in this frame depend on the form mode, which is shown by the frame title. None of the gadgets are active in DB Listing mode. In DB Changes and DB Differences modes, you can select:
Savework, which will report on changes since the last Savework.
TimeDate, which will report on changes since the time and date given.
Time format is HH:MM on a 24 hour clock, e.g. 16:15.
Date format is DD Mon Year, e.g. 9 Feb 1998 or 30 Aug 97
Session, which will report on changes since the given session number. Set the other gadgets in this frame to the time, date, session number and session user of the last saved session of the current DB.
Extract, which is only active when the current element is in an extract database. will report on changes since the given session number. When you choose this option, the options in the Since Extract frame will become active, see below.
You can type in the session number, or change it using the + and - buttons.
Remember that each DB has its own sessions. The current DB is shown by Database Name at the bottom of the frame.
Note that TimeDate and Session are related: changing one will affect the other settings, and also display the correct Session User.
The More button shows a form with the Session comment for the given session.
Highlight Changes:
This button is only active when the form is in DB Changes or DB Differences mode in DESIGN. If switched on, the changed elements will be highlighted in all
the 3D graphics views in the colour specified by Colour>Changes. This option is useful after a Getwork to see the changes that other users have made.
Since Extract
The first drop-down list in the Since Extract frame will become activewhen you choose the Since Extract option in the DB Changes/Differences frame. It shows all the databases in the extract hierarchy above the current extract, with the Master at the top of the list.
The options on the next drop-down list are:
Only which compares the current database with the selected extract ancestor database
Latest which compares the database with the latest version of the selected extract ancestor database.
Session which compares the database with the selected ancestor extract since session nn of that extract.
Date which compares the database with the selected ancestor extract since the given date in a session of the ancestor extract.
The Apply button is only active when there are elements in the Elements list.
The Dismiss button dismisses the form and clears the Elements list.
PDMS COMMANDO LAUT
Disini saya coba untuk menurunkan beberapa comment pada PDMS module yang selama ini saya search di Internet dan mudah-mudahan bisa membantu teman-teman untuk berbagi ilmu dengan teman-teman yang lain.
Karena kebanyakan orang Indonesia belum pandai mempelajari PDMS.
Kalau kebutuhan di Malaysia, setiap orang engineer harus bisa /tahu apa itu PDMS baik itu piping engineer, mechanical engineer atau structure engineer dan bila dia seorang designer , mutlak dia kuasai PDMS.
Sorry PDMS Command di bawah ini tidak saya rapikan karena kalau saya harus rapikan sudah barang tentu perlu sekitar 4 jam untuk men update nya. sedang masih banyak lagi cerita PDMS yang mau saya share.
Command Syntax
BACK While routing pipe, switches to backward mode
FORW While routing pipe, switches to forward mode
Q MODE Queries whether you are in forw or backward mode
NEXT Navigates to the next item
PREV Navigates to the previous item
OWNER Navigates to the owner of the CE
BRAN Navigates up to branch level
PIPE Navigates up to pipe level
BY E 12 Moves CE East 12 inches
Q ATT Queries attributes of CE
Q POS Queries the position
NEW PIPE /NAME Creates a new pipe named NAME
NEW BOX Creates a new box
XLEN 1’ Sets xlen to 1’
NEW BOX COPY PREV Creates a new box that is a copy of the CE
DELETE item Deletes item ie DELETE PIPE
Q HREF Queries the head ref of a branch
Q TREF Queries the tail ref of a branch
Q CREF Queries the connection to a tee, olet, etc.
GOTO HREF Navigates to the head ref of a branch
GOTO TREF Navigates to the tail ref of a branch
GOTO CREF Navigates to connected item of a tee, olet, etc.
CONN PH TO FIRST MEM Connects the branch head to the first member
CONN PT TO LAST MEM Connects the branch tail to the last member
CONN PH TO ID TEE @ Connects branch head to identified tee
ADD CE Adds the current element to the drawlist
ADD HREF Adds the head ref to the drawlist
ADD TREF Adds the tail ref to the drawlist
ADD CREF Adds item connected to tee, olet, etc to the drawlist
CONN P1 to IDP@ Nav. To nozz
Q POS IN /* Queries position at center of CE
Q DTXR Queries specification of CE
ADD ALL INST WITH MATCHWILD(NAME,'*SN1-FA-41*')
If you want to know the length of the TUBI element, navigate to the ELBO before the TUBI and type the following in the Design
command window:
CE IL TUB OF CE
Q ATT
repre command syntax
I've made some quick-keys (synonyms) for these commands that help out alot!
REPRE HOLES ON
REPRE DARC 1MM
REPRE UPDATE
REPRE SNODE OFF
REPRE PNODE OFF
These are all quick syntax for the Settings>Graphics>Representation form that I hate having to call up to change things...
Let me know if this is useful
You could use the sintax help form to see tha commnd sintax:
show !!syntaxHelp
$H is also Helpful in place of $Q
/EQUIP10 Named design Element
SAME Previous Element accessed
OWN Owner of Current Element
GOTO SPRE Specification of Current (piping) Element
NEXT 2 Second Next Element at same level
4 Fourth Member of Current Element
LAST 3 MEM Third Last Member of Current Element
END Next element up in hierarchy
SITE Site above Current Element
ZONE 3 Third Zone
NEXT 2 PIPE Second Next Pipe
PREV BOX
FIRST ZONE OF /SITE 5
PIPE OF /VALV101
FIRST MEM OF BRAN3 OF /PIPE10
HEAD OF FIRST BRAN
CLOSEST VALV EAST
Closest valve to current element in East direction in design
model (note that syntax accepts only cardinal directions,
which must be entered in full)
CLOS VALV NORTH FROM E100 N200 U300
Closest valve in North direction starting from given position
(valves found before this position are ignored)
P3 P-point 3 of Current Element
PL OF PREV Leave P-point of previous element
PH Branch Head P-point
HT OF /HANG5 Hanger Tail P-point of named Hanger
IDP @ Cursor pick
E1000 East 1000
Z10 Up 10
E30 D10 S20 East 30 Down 10 South 20
E0 IN SITE East 0 in Site
E East
E45N East 45 North
W-33D West 33 Up
Y North
N45E33D North 45 East 33 Down
N10E10 North 45 East
N45E Axis direction
PL Design point direction
TOW E0 WRT SITE From Current Element Origin to SITE origin
FROM PIN6 TO PIN7 From Pin 6 to Pin 7
ALL Selects all elements
ALL FRMW Selects all framework elements
ALL BRANCH MEMBERS Selects all piping components
ITEMS OF EQUI /VESS1 Selects all primitives below /VESS1
(/PIPE1 /PIPE2) Selects just /PIPE1 and /PIPE2
ALL WITH (XLEN GT 1000) Selects all elements where XLEN is greater than 1000mm
ALL WITHIN W8000N17000U1000 TO W1400N13500U1200
Selects all elements within the defined volume
ALL PIPE WITHIN VOLUME /PIPE1 1500
Selects all piping elements within a volume defined as a box drawn around /PIPE1, with a
clearance of 1500mm between the edges of /PIPE1 and the volume box.
ALPHA COMMANDS CLEAR (ALPHA COMM CLEA)
Clears the text from the COMMANDS region only.
ALPHA REQUESTS CLEAR (ALPHA REQ CLEA)
Clears the text from the REQUESTS region only.
Q BANner
Q BANner FULL
This will cause PDMS to redisplay the banner which was shown when
you first entered Design. For example:
Design Mk11.3.1 (WINDOWS-NT 4.0) (29 Feb 2000 : 22.40)
(the FULL option will also display data about the software components
used by Design).
Q DBNAME Gives name of current DB; e.g. TEST/DESI
Q DBTYPE Gives type of current DB; e.g. DESI
Q DBFNUMBER Gives file number for current DB; e.g. 6
Q DBFILE Gives pathname for current DB file; e.g. \usr\pdms\projects\SAM\sam006
Q LASTMOD Gives date for last modification to current element.
Q SESSMOD Gives session number for last modification to current element.
Q USERMOD Gives name of user who last modified current element.
Q LASTMOD HIER Gives dates for last modifications to current element and its members.
Q LASTMOD XLEN Gives date for last modification to XLEN attribute of current element..
Q HISTORY DIAM Gives all sessions in which DIAM attribute was modified.
Q HISTORY[2] DIAM gives second most recent session in which DIAM attribute was
modified.
Q SESSCOMM 58 Gives comment text associated with session 58
Q SESSUSER 58 Gives name of user responsible for session 58.
Q SESSDATE 58 Gives date and time at which session 58 was created.
ADD /P100A /P100A is added to the Draw List
ADD CE The current element will be added to the Draw List
ADD /ZONE1 /ZONE2 COLOUR 5
/ZONE1 and /ZONE2 will be added in colour 5. If you wish to add items in other colours, you must
use separate commands.
Q DRAW Queries the contents of the Draw List
Q DRAW COUNT Queries the number of items in the Draw List
Q DRAW FULL Queries the contents of the Draw List and the colour with which each Draw List member was added
Q DRAW r COLOUR Queries the colour number of the referenced item, r. It returns unset if the item is not in the Draw List.
Q DRAW r TRANSLUENCY Queries the translucency number of thereferenced item, r. It returns unset if the
item is not in the Draw List.
AUTOCOLOUR ALL EQUI COLOUR 4
All Equipment items to be added in colour 4
AUTOCOLOUR ALL EQUI COLOUR 4 TRANSLUCENCY 25 EDGES ON
All Equipment items to be added in colour 4 with 25% translucency and edges drawn.
AUTOCOLOUR ALL BRAN WITH (HBORE GT 100) COLOUR 10
All Branches with head bores greater than 100 to be added in colour 10.
AUTOCOLOUR ALL SCTN COLOUR (:COLOUR OF SPRE)
All Sections to be added as defined by the UDA:COLOUR derived via their SpecRefs.
AUTOCOLOUR ALL COLOUR (:COLOUR)
Uses the UDA :COLOUR to denote the colour for all displayed elements. If you enter this as the
final rule, it will provide a default colour if all other rules prove false.
AUTOCOLOUR ON
Colours will be chosen according to autocolour rules. If Off (the default), colour specified in the
ADD command will be used.
AUTOCOLOUR DYNAMIC ON
Updates autocolour each time an attribute changes. (Use with care!)
AUTOCOLOUR RESET
Clears all current autocolour rules.
AUTOCOLOUR REMOVE 2
Removes the second rule from the current list.
AUTOCOLOUR REORDER 2 TO 4
Moves rule number 2 to position 4 in the list.
The predefined colour mixes which you may specify by name are as
follows:
Colour Red Green Blue Colour Red Green Blue
black 0 0 0 springgreen 0 100 50
white 100 100 100 green 0 80 0
whitesmoke 96 96 96 forestgreen 14 56 14
ivory 93 93 88 darkgreen 18 31 18
grey 66 66 66 cyan 0 93 93
lightgrey 75 75 75 turquoise 0 75 80
darkgrey 32 55 55 aquamarine 46 93 78
darkslate 18 31 31 blue 0 0 80
red 80 0 0 royalblue 28 46 100
brightred 100 0 0 navyblue 0 0 50
coralred 80 36 27 powderblue 69 88 90
tomato 100 39 28 midnight 18 18 31
plum 55 40 55 steelblue 28 51 71
deeppink 93 7 54 indigo 20 0 40
pink 80 57 62 mauve 40 0 60
salmon 98 50 44 violet 93 51 93
orange 93 60 0 magenta 87 0 87
brightorange 100 65 0 beige 96 96 86
orangered 100 50 0 wheat 96 87 70
maroon 56 14 42 tan 86 58 44
yellow 80 80 0 sandybrown 96 65 37
gold 93 79 20 brown 80 17 17
lightyellow 93 93 82 khaki 62 62 37
lightgold 93 91 67 chocolate 93 46 13
yellowgreen 60 80 20 darkbrown 55 27 8
The default colour assignments are:
Colour No Colour
Active design orange
Current element yellow
Visible design lightgrey
Clashing element red
Obstructing element tomato
Aids blue
1 grey
2 red
3 orange
4 yellow
5 green
6 cyan
7 blue
8 violet
9 brown
10 white
11 pink
12 mauve
13 turquoise
14 indigo
15 black
16 magenta
Examples:
COL 5 DARKGREEN
Colour 5 will be changed to dark green
COL 3 MIX RED 50 GRE 50 BLU 5
Colour 3 will change to the specified mix of red, green and blue
PIN 5 C0PY IDP @
Pin 5 will be placed at the same position and orientation as the p-point or pin hit by the cursor.
PIN 5 CONNECT TO PH
Pin 5 will be placed at the Branch Head, but pointing in the opposite direction to HDIR (Head
direction). This command must be given at BRANCH level. Pin 5 can be an existing pin or a
new one.
PIN 6 BY E3000 N2000
Pin 6 is moved by the given directions and distances
PIN 6 DIST 600
Pin 6 is moved along its own direction by the given amount
PIN 6 THR /NOZZ5
Pin 6 is moved along its own direction until it intersects a plane through /NOZZ5
PIN 6 DISTANCE 600 INFRONT ID @
Pin 6 is moved along its direction until it is 600 distance units in front of the item picked with the
cursor.
Constructs
Note: Use the Constructs options on the Utilities menu in preference to these older facilities.
CONS POS P2 OF FLAN 4 OF BRAN /PIPE1-1 TO PLANE PIN 7
The intersection between the specified point and the plane perpendicular to pin 7 is shown.
VAR 5 CONS POS PL TO LINE PA OF NEXT
The closest point on the line from PLEAVE to the intersection of the two lines is placed in Variable 5.
CONS POS PIN5 TO PLA PIN6
The intersection between the direction of pin 5 and the plane perpendicular to pin 6 is written out into the request region.
CONS DIR PL
The direction of the line is output in World coordinates into the request region.
CONS DIST PA TO PL
The dimension from the first to the second p-point of the current element is written out into the Request region.
VAR 5 CONS DIST PL TO LIN PA OF NEXT
The minimum distance between PLEAVE of the current element and the specified line will be be placed in Variable 5
CONS ANG PIN1 TO PIN2 TO PIN3
The angle between the three specified points is written out into the Request region.
CONS ANGL PL LIN PA OF NEXT
The angle between the lines from the two specified p-points is written out into the request region.
CONS LINE JOIN P0 TO P1
Constructs a line joining the two p-points, displaying the line description in the request region.
CONS PLANE P3 DIST 900
The plane perpendicular to the specified point and 900 from it is written out into the request region.
CONS PLANE PL THROUGH /NOZZ5
The plane perpendicular to the specified point and intersecting /NOZZ5 is written out into the request region.
CONS PLANE PA DIST 500 BEH /COL19
A plane perpendicular to the specified point will be defined and written out into the request region. The plane will be positioned 500 to the far side of /COL19.
Creating Elements
NEW ZONE /Z1
The Zone element is created as a member of the current Site. The Zone is now the current element. Its NAME attribute is /Z1.
NEW TEE
If the current element is the fourth member in a Branch member list, the Tee element is inserted as the fifth member. The Tee is now the current element.
NEW EQUIP /1301
If the current element is a Box owned by another EQUIP which is Member 2 of Zone /Z1, the new Equipment element is inserted as member 3 of the Zone and named /1301. The new Equipment is now the current element.
NEW GASKET
If this command is given when the current element is the Branch Head, the Gasket is inserted as the first member of the Branch and is now the current element.
NEW VALVE BEF (At a Branch Component)
The Valve will be inserted before the current element in the current list.
NEW ZONE BEF 2 (At Site level)
The Zone will be inserted before member 2 of the Site.
NEW BOX (At a CYLI which is a member of a STRU)
A new BOX will be inserted as the next member of the STRU (after the CYLI in member list order).
NEW BOX (At a SUBS which is a member of a STRU)
A new BOX will be inserted as a member of the SUBS (at the top of the member list).
NEW INST SPREF /Tag No
Add Instrumentation according tag No.
Copying and Renaming
COPY MEM OF /EQUIP10 (At another EQUIP element.)
If the current element is an Equipment, all the offspring of /EQUIP10 are copied into the
current element. The attributes of the current element do not change.
COPY /P1/PIPE RENAME /P1 /P2
The attributes and offspring of /P1/PIPE are copied into the current element. Where /P1
is found as the name or part of the name, it is renamed as /P2 in the current element and
its offspring.
COPY MEM 4 TO 10 OF PREV BRAN
The attributes and offspring of the fourth element in the current element’s member list
are copied into the tenth element in the member list of the previous BRAN element in
the current member list.
Naming Design Elements
NAME /ZONE5D
The current element is given the specified name provided it has not been used elsewhere.
UNN
The current element loses its name (it is still identifiable by its automatically allocated reference number).
REN ALL /Z1 /Z2
All occurrences of /Z1 in the names of the current element and its offspring will be changed to /Z2.
Locking Elements Against Alteration and Deletion
Keywords: LOCK UNLOCK
Description: Locking a design element prevents it from being modified or deleted. The LOCK command allows either a single element to be controlled, or all its offspring too. (A complete Site can be locked if required.) This provides you with personal security control over your area of work.
(General security restrictions affecting the whole Project are established in the ADMINISTRATION module of PDMS.)
Examples:
LOCK ALL
The current element and all its offspring are locked.
UNLOCK
The current element is unlocked.
The Position and Orientation Attributes
Q POS Returns the current element position in its owner co ordinates
Q ORI WRT SITE Returns the current element orientation in Site coordinates
Q POS IDP@ WRT WORLD
Returns the position of the Design point hit by the cursor in World coordinates
CHECK CE
Check the current element for data inconsistencies.
ADD CE
Add the current element to the display.
Going to an Implied Tube or Rod
Keywords: IARRIVE ILEAVE HEAD TAIL TUBE ROD
Description: You can navigate to implied tube or rod within a branch or hanger (although if the derived length is less than 1mm, the system does not consider it to exist).
To make an implied rod or tube the current element, you must also indicate whether the head, tail, arrive or leave tube or rod is intended.
Example:
IARRIVE TUBE OF /PIPE1
Go to arrive of implied tube of /PIPE1.
Other Navigation Commands
Keywords: FIRST LAST NEXT PREVIOUS MEMBER END TYPE
Description: Navigate to the specified position in the members list. Most can be
used with the OF keyword to go to members of other elements.
Examples:
FIRST BRANCH OF ZONE /Z25A
LAST NOZZLE OF PREVIOUS 3 EQUIPMENTS
FIRST ZONE OF /SITE 5
PIPE 2 OF /Z100A
ELBOW 1 OF NEXT BRANCH
Connecting the Head or Tail
Keywords: CONNECT
Description: The CONNECT command, when applied to Branches (or Hangers), sets up the Head or Tail to match exactly the item to which it has been connected. For example, if the Head is connected to a 3-inch flanged-faced nozzle at E3000 and pointing North, the CONNECT command will set all the Head attributes (HBOR, HCON, HPOS and HDIR) to corresponding values. In addition, the Head and Nozzle are logically ‘tied together’ by two attributes which ‘point’ to each other - the Nozzle CREF will point to the Branch, and the Branch HREF (Head Reference) will point to the Nozzle.
The final effect of CONNECT, which only applies to Heads, is that the Tube (or Rod) that may be required between the Head and the first Component is automatically selected.
A Branch Head or Tail can connect to the following items:
• A Nozzle
• The Head or Tail of another Branch
• A ‘free’ p-point of a multi-way Component in another Branch (e.g. a Tee)
Examples:
CONN PH TO /1205-N5 (Where /1205-N5 is a Nozzle)
The Head attributes of the current element (Branch or Hanger) are set to match the position, orientation, bore and connection type of the Nozzle (see Figure 3-1).
CONN PT TO LAST MEM
The Tail attributes of the current element will be set to match the Leave Point of the last Component (that is not an Attachment point).
CONN PT TO /100-A8/T2 (Where /100-A8/T2 is a TEE)
The Tail attributes of the current element will be set to match the free p-point on the specified TEE (see Figure 3-1).
CONN PT TO P4 OF /VF205 (Where /VF205 is a VFWA.)
The Tail attributes of the current element will be set to match the specified
CONN PH TO PT OF /100-A8/1 (Where /100-A8/1 is another Branch)
The Head attributes of the current element will be set to match the Tail of the specified Branch.
CONN PH TO ID NOZZ@
As in the first example, but with the Nozzle identified by cursor selection. Note: Before a CONNECT command is given, the Branch Specification attribute must be set. Connection to elements not within the designer’s jurisdiction (Read Only) will cause an inter-DB connection macro to be created automatically (see Part 1 of the DESIGN Reference Manual).
The Head or Tail Connection Reference Attribute
Keywords: HREF TREF Description: These attributes hold the name of the element to which the Branch or Hanger is connected. They are usually set automatically as a result of a CONNECT PH (or PT) command, but they may also be set explicitly. When they are set, the corresponding attribute (CREF, HREF or TREF) of the item connected to is reset so as to point back to the Branch or Hanger.
Examples: TREF /PIPE2 HEAD Sets TREF of current element to point to Head of /PIPE2 and setsHREF of /PIPE2 to point back to the current element. HREF NULREF Unsets HREF; i.e. disconnects Head from any other element.
Positioning Head or Tail in Free Space
Keywords: HPOS HBOR HDIR HCON TPOS TBOR TDIR TCON
Description: It is sometimes necessary to terminate a Branch (or Hanger) in free space; for instance, where a Branch reaches the Battery Limits. Where this termination ends with a length of TUBE (or ROD) and no Head or Tail connection can be made, it is necessary to set the Head/Tail attributes individually.
Examples:
HPOS E10 N5 U5
The Head position is set as specified in owner coordinates.
HDIR N WRT WORLD
The Head direction is set as specified in World coordinates.
HBOR 80
The Head Bore is set as specified.
HCON OPEN
The Head Connection Type is set as specified.
Note: If a data consistency error is to be avoided, the HCONN or TCONN of a free end must be set to one of the following: OPEN, CLOS, VENT, DRAN
Head or Tail Positioning Using End Components
Keywords: POSITION PH PT THROUGH DISTANCE
Description: These commands allow the Head or Tail position to be set by using the end Component in that Branch or Hanger. This will normally occur when the Tail is to finish with a piece of variable length Tube. This command treats the Tail position as a pseudo-Component and places it at the specified point along the previous Component’s Leave p-point direction. If the Head is to be positioned in this way, Backwards Routing Mode must be in force.
Examples:
POS PT DISTANCE 1000 The TPOS attribute will be set to the position 1000 from the leave p-point of the last Branch member (i.e. previous Component). POS PH THROUGH E3000 (In BACKWARDS mode) The HPOS attribute will be set to the intersection between the line from the Arrive p-point of the Previous Component and the perpendicular plane through E3000 N0 U0 in owner coordinates.
Moving the Head or Tail
MOVE PT DIST -2000
Moves the Tail by 2000 from its current position, in the opposite direction to PT.
MOVE PT BY E2000 S500
Moves the Tail by 2000 East and 500 South from its current position
To save modification if server already expunge :
ALPHA FILE /Filename OUTPUT /* CHANGES
To Reload :
$m /Filename
Karena kebanyakan orang Indonesia belum pandai mempelajari PDMS.
Kalau kebutuhan di Malaysia, setiap orang engineer harus bisa /tahu apa itu PDMS baik itu piping engineer, mechanical engineer atau structure engineer dan bila dia seorang designer , mutlak dia kuasai PDMS.
Sorry PDMS Command di bawah ini tidak saya rapikan karena kalau saya harus rapikan sudah barang tentu perlu sekitar 4 jam untuk men update nya. sedang masih banyak lagi cerita PDMS yang mau saya share.
Command Syntax
BACK While routing pipe, switches to backward mode
FORW While routing pipe, switches to forward mode
Q MODE Queries whether you are in forw or backward mode
NEXT Navigates to the next item
PREV Navigates to the previous item
OWNER Navigates to the owner of the CE
BRAN Navigates up to branch level
PIPE Navigates up to pipe level
BY E 12 Moves CE East 12 inches
Q ATT Queries attributes of CE
Q POS Queries the position
NEW PIPE /NAME Creates a new pipe named NAME
NEW BOX Creates a new box
XLEN 1’ Sets xlen to 1’
NEW BOX COPY PREV Creates a new box that is a copy of the CE
DELETE item Deletes item ie DELETE PIPE
Q HREF Queries the head ref of a branch
Q TREF Queries the tail ref of a branch
Q CREF Queries the connection to a tee, olet, etc.
GOTO HREF Navigates to the head ref of a branch
GOTO TREF Navigates to the tail ref of a branch
GOTO CREF Navigates to connected item of a tee, olet, etc.
CONN PH TO FIRST MEM Connects the branch head to the first member
CONN PT TO LAST MEM Connects the branch tail to the last member
CONN PH TO ID TEE @ Connects branch head to identified tee
ADD CE Adds the current element to the drawlist
ADD HREF Adds the head ref to the drawlist
ADD TREF Adds the tail ref to the drawlist
ADD CREF Adds item connected to tee, olet, etc to the drawlist
CONN P1 to IDP@ Nav. To nozz
Q POS IN /* Queries position at center of CE
Q DTXR Queries specification of CE
ADD ALL INST WITH MATCHWILD(NAME,'*SN1-FA-41*')
If you want to know the length of the TUBI element, navigate to the ELBO before the TUBI and type the following in the Design
command window:
CE IL TUB OF CE
Q ATT
repre command syntax
I've made some quick-keys (synonyms) for these commands that help out alot!
REPRE HOLES ON
REPRE DARC 1MM
REPRE UPDATE
REPRE SNODE OFF
REPRE PNODE OFF
These are all quick syntax for the Settings>Graphics>Representation form that I hate having to call up to change things...
Let me know if this is useful
You could use the sintax help form to see tha commnd sintax:
show !!syntaxHelp
$H is also Helpful in place of $Q
/EQUIP10 Named design Element
SAME Previous Element accessed
OWN Owner of Current Element
GOTO SPRE Specification of Current (piping) Element
NEXT 2 Second Next Element at same level
4 Fourth Member of Current Element
LAST 3 MEM Third Last Member of Current Element
END Next element up in hierarchy
SITE Site above Current Element
ZONE 3 Third Zone
NEXT 2 PIPE Second Next Pipe
PREV BOX
FIRST ZONE OF /SITE 5
PIPE OF /VALV101
FIRST MEM OF BRAN3 OF /PIPE10
HEAD OF FIRST BRAN
CLOSEST VALV EAST
Closest valve to current element in East direction in design
model (note that syntax accepts only cardinal directions,
which must be entered in full)
CLOS VALV NORTH FROM E100 N200 U300
Closest valve in North direction starting from given position
(valves found before this position are ignored)
P3 P-point 3 of Current Element
PL OF PREV Leave P-point of previous element
PH Branch Head P-point
HT OF /HANG5 Hanger Tail P-point of named Hanger
IDP @ Cursor pick
E1000 East 1000
Z10 Up 10
E30 D10 S20 East 30 Down 10 South 20
E0 IN SITE East 0 in Site
E East
E45N East 45 North
W-33D West 33 Up
Y North
N45E33D North 45 East 33 Down
N10E10 North 45 East
N45E Axis direction
PL Design point direction
TOW E0 WRT SITE From Current Element Origin to SITE origin
FROM PIN6 TO PIN7 From Pin 6 to Pin 7
ALL Selects all elements
ALL FRMW Selects all framework elements
ALL BRANCH MEMBERS Selects all piping components
ITEMS OF EQUI /VESS1 Selects all primitives below /VESS1
(/PIPE1 /PIPE2) Selects just /PIPE1 and /PIPE2
ALL WITH (XLEN GT 1000) Selects all elements where XLEN is greater than 1000mm
ALL WITHIN W8000N17000U1000 TO W1400N13500U1200
Selects all elements within the defined volume
ALL PIPE WITHIN VOLUME /PIPE1 1500
Selects all piping elements within a volume defined as a box drawn around /PIPE1, with a
clearance of 1500mm between the edges of /PIPE1 and the volume box.
ALPHA COMMANDS CLEAR (ALPHA COMM CLEA)
Clears the text from the COMMANDS region only.
ALPHA REQUESTS CLEAR (ALPHA REQ CLEA)
Clears the text from the REQUESTS region only.
Q BANner
Q BANner FULL
This will cause PDMS to redisplay the banner which was shown when
you first entered Design. For example:
Design Mk11.3.1 (WINDOWS-NT 4.0) (29 Feb 2000 : 22.40)
(the FULL option will also display data about the software components
used by Design).
Q DBNAME Gives name of current DB; e.g. TEST/DESI
Q DBTYPE Gives type of current DB; e.g. DESI
Q DBFNUMBER Gives file number for current DB; e.g. 6
Q DBFILE Gives pathname for current DB file; e.g. \usr\pdms\projects\SAM\sam006
Q LASTMOD Gives date for last modification to current element.
Q SESSMOD Gives session number for last modification to current element.
Q USERMOD Gives name of user who last modified current element.
Q LASTMOD HIER Gives dates for last modifications to current element and its members.
Q LASTMOD XLEN Gives date for last modification to XLEN attribute of current element..
Q HISTORY DIAM Gives all sessions in which DIAM attribute was modified.
Q HISTORY[2] DIAM gives second most recent session in which DIAM attribute was
modified.
Q SESSCOMM 58 Gives comment text associated with session 58
Q SESSUSER 58 Gives name of user responsible for session 58.
Q SESSDATE 58 Gives date and time at which session 58 was created.
ADD /P100A /P100A is added to the Draw List
ADD CE The current element will be added to the Draw List
ADD /ZONE1 /ZONE2 COLOUR 5
/ZONE1 and /ZONE2 will be added in colour 5. If you wish to add items in other colours, you must
use separate commands.
Q DRAW Queries the contents of the Draw List
Q DRAW COUNT Queries the number of items in the Draw List
Q DRAW FULL Queries the contents of the Draw List and the colour with which each Draw List member was added
Q DRAW r COLOUR Queries the colour number of the referenced item, r. It returns unset if the item is not in the Draw List.
Q DRAW r TRANSLUENCY Queries the translucency number of thereferenced item, r. It returns unset if the
item is not in the Draw List.
AUTOCOLOUR ALL EQUI COLOUR 4
All Equipment items to be added in colour 4
AUTOCOLOUR ALL EQUI COLOUR 4 TRANSLUCENCY 25 EDGES ON
All Equipment items to be added in colour 4 with 25% translucency and edges drawn.
AUTOCOLOUR ALL BRAN WITH (HBORE GT 100) COLOUR 10
All Branches with head bores greater than 100 to be added in colour 10.
AUTOCOLOUR ALL SCTN COLOUR (:COLOUR OF SPRE)
All Sections to be added as defined by the UDA:COLOUR derived via their SpecRefs.
AUTOCOLOUR ALL COLOUR (:COLOUR)
Uses the UDA :COLOUR to denote the colour for all displayed elements. If you enter this as the
final rule, it will provide a default colour if all other rules prove false.
AUTOCOLOUR ON
Colours will be chosen according to autocolour rules. If Off (the default), colour specified in the
ADD command will be used.
AUTOCOLOUR DYNAMIC ON
Updates autocolour each time an attribute changes. (Use with care!)
AUTOCOLOUR RESET
Clears all current autocolour rules.
AUTOCOLOUR REMOVE 2
Removes the second rule from the current list.
AUTOCOLOUR REORDER 2 TO 4
Moves rule number 2 to position 4 in the list.
The predefined colour mixes which you may specify by name are as
follows:
Colour Red Green Blue Colour Red Green Blue
black 0 0 0 springgreen 0 100 50
white 100 100 100 green 0 80 0
whitesmoke 96 96 96 forestgreen 14 56 14
ivory 93 93 88 darkgreen 18 31 18
grey 66 66 66 cyan 0 93 93
lightgrey 75 75 75 turquoise 0 75 80
darkgrey 32 55 55 aquamarine 46 93 78
darkslate 18 31 31 blue 0 0 80
red 80 0 0 royalblue 28 46 100
brightred 100 0 0 navyblue 0 0 50
coralred 80 36 27 powderblue 69 88 90
tomato 100 39 28 midnight 18 18 31
plum 55 40 55 steelblue 28 51 71
deeppink 93 7 54 indigo 20 0 40
pink 80 57 62 mauve 40 0 60
salmon 98 50 44 violet 93 51 93
orange 93 60 0 magenta 87 0 87
brightorange 100 65 0 beige 96 96 86
orangered 100 50 0 wheat 96 87 70
maroon 56 14 42 tan 86 58 44
yellow 80 80 0 sandybrown 96 65 37
gold 93 79 20 brown 80 17 17
lightyellow 93 93 82 khaki 62 62 37
lightgold 93 91 67 chocolate 93 46 13
yellowgreen 60 80 20 darkbrown 55 27 8
The default colour assignments are:
Colour No Colour
Active design orange
Current element yellow
Visible design lightgrey
Clashing element red
Obstructing element tomato
Aids blue
1 grey
2 red
3 orange
4 yellow
5 green
6 cyan
7 blue
8 violet
9 brown
10 white
11 pink
12 mauve
13 turquoise
14 indigo
15 black
16 magenta
Examples:
COL 5 DARKGREEN
Colour 5 will be changed to dark green
COL 3 MIX RED 50 GRE 50 BLU 5
Colour 3 will change to the specified mix of red, green and blue
PIN 5 C0PY IDP @
Pin 5 will be placed at the same position and orientation as the p-point or pin hit by the cursor.
PIN 5 CONNECT TO PH
Pin 5 will be placed at the Branch Head, but pointing in the opposite direction to HDIR (Head
direction). This command must be given at BRANCH level. Pin 5 can be an existing pin or a
new one.
PIN 6 BY E3000 N2000
Pin 6 is moved by the given directions and distances
PIN 6 DIST 600
Pin 6 is moved along its own direction by the given amount
PIN 6 THR /NOZZ5
Pin 6 is moved along its own direction until it intersects a plane through /NOZZ5
PIN 6 DISTANCE 600 INFRONT ID @
Pin 6 is moved along its direction until it is 600 distance units in front of the item picked with the
cursor.
Constructs
Note: Use the Constructs options on the Utilities menu in preference to these older facilities.
CONS POS P2 OF FLAN 4 OF BRAN /PIPE1-1 TO PLANE PIN 7
The intersection between the specified point and the plane perpendicular to pin 7 is shown.
VAR 5 CONS POS PL TO LINE PA OF NEXT
The closest point on the line from PLEAVE to the intersection of the two lines is placed in Variable 5.
CONS POS PIN5 TO PLA PIN6
The intersection between the direction of pin 5 and the plane perpendicular to pin 6 is written out into the request region.
CONS DIR PL
The direction of the line is output in World coordinates into the request region.
CONS DIST PA TO PL
The dimension from the first to the second p-point of the current element is written out into the Request region.
VAR 5 CONS DIST PL TO LIN PA OF NEXT
The minimum distance between PLEAVE of the current element and the specified line will be be placed in Variable 5
CONS ANG PIN1 TO PIN2 TO PIN3
The angle between the three specified points is written out into the Request region.
CONS ANGL PL LIN PA OF NEXT
The angle between the lines from the two specified p-points is written out into the request region.
CONS LINE JOIN P0 TO P1
Constructs a line joining the two p-points, displaying the line description in the request region.
CONS PLANE P3 DIST 900
The plane perpendicular to the specified point and 900 from it is written out into the request region.
CONS PLANE PL THROUGH /NOZZ5
The plane perpendicular to the specified point and intersecting /NOZZ5 is written out into the request region.
CONS PLANE PA DIST 500 BEH /COL19
A plane perpendicular to the specified point will be defined and written out into the request region. The plane will be positioned 500 to the far side of /COL19.
Creating Elements
NEW ZONE /Z1
The Zone element is created as a member of the current Site. The Zone is now the current element. Its NAME attribute is /Z1.
NEW TEE
If the current element is the fourth member in a Branch member list, the Tee element is inserted as the fifth member. The Tee is now the current element.
NEW EQUIP /1301
If the current element is a Box owned by another EQUIP which is Member 2 of Zone /Z1, the new Equipment element is inserted as member 3 of the Zone and named /1301. The new Equipment is now the current element.
NEW GASKET
If this command is given when the current element is the Branch Head, the Gasket is inserted as the first member of the Branch and is now the current element.
NEW VALVE BEF (At a Branch Component)
The Valve will be inserted before the current element in the current list.
NEW ZONE BEF 2 (At Site level)
The Zone will be inserted before member 2 of the Site.
NEW BOX (At a CYLI which is a member of a STRU)
A new BOX will be inserted as the next member of the STRU (after the CYLI in member list order).
NEW BOX (At a SUBS which is a member of a STRU)
A new BOX will be inserted as a member of the SUBS (at the top of the member list).
NEW INST SPREF /Tag No
Add Instrumentation according tag No.
Copying and Renaming
COPY MEM OF /EQUIP10 (At another EQUIP element.)
If the current element is an Equipment, all the offspring of /EQUIP10 are copied into the
current element. The attributes of the current element do not change.
COPY /P1/PIPE RENAME /P1 /P2
The attributes and offspring of /P1/PIPE are copied into the current element. Where /P1
is found as the name or part of the name, it is renamed as /P2 in the current element and
its offspring.
COPY MEM 4 TO 10 OF PREV BRAN
The attributes and offspring of the fourth element in the current element’s member list
are copied into the tenth element in the member list of the previous BRAN element in
the current member list.
Naming Design Elements
NAME /ZONE5D
The current element is given the specified name provided it has not been used elsewhere.
UNN
The current element loses its name (it is still identifiable by its automatically allocated reference number).
REN ALL /Z1 /Z2
All occurrences of /Z1 in the names of the current element and its offspring will be changed to /Z2.
Locking Elements Against Alteration and Deletion
Keywords: LOCK UNLOCK
Description: Locking a design element prevents it from being modified or deleted. The LOCK command allows either a single element to be controlled, or all its offspring too. (A complete Site can be locked if required.) This provides you with personal security control over your area of work.
(General security restrictions affecting the whole Project are established in the ADMINISTRATION module of PDMS.)
Examples:
LOCK ALL
The current element and all its offspring are locked.
UNLOCK
The current element is unlocked.
The Position and Orientation Attributes
Q POS Returns the current element position in its owner co ordinates
Q ORI WRT SITE Returns the current element orientation in Site coordinates
Q POS IDP@ WRT WORLD
Returns the position of the Design point hit by the cursor in World coordinates
CHECK CE
Check the current element for data inconsistencies.
ADD CE
Add the current element to the display.
Going to an Implied Tube or Rod
Keywords: IARRIVE ILEAVE HEAD TAIL TUBE ROD
Description: You can navigate to implied tube or rod within a branch or hanger (although if the derived length is less than 1mm, the system does not consider it to exist).
To make an implied rod or tube the current element, you must also indicate whether the head, tail, arrive or leave tube or rod is intended.
Example:
IARRIVE TUBE OF /PIPE1
Go to arrive of implied tube of /PIPE1.
Other Navigation Commands
Keywords: FIRST LAST NEXT PREVIOUS MEMBER END TYPE
Description: Navigate to the specified position in the members list. Most can be
used with the OF keyword to go to members of other elements.
Examples:
FIRST BRANCH OF ZONE /Z25A
LAST NOZZLE OF PREVIOUS 3 EQUIPMENTS
FIRST ZONE OF /SITE 5
PIPE 2 OF /Z100A
ELBOW 1 OF NEXT BRANCH
Connecting the Head or Tail
Keywords: CONNECT
Description: The CONNECT command, when applied to Branches (or Hangers), sets up the Head or Tail to match exactly the item to which it has been connected. For example, if the Head is connected to a 3-inch flanged-faced nozzle at E3000 and pointing North, the CONNECT command will set all the Head attributes (HBOR, HCON, HPOS and HDIR) to corresponding values. In addition, the Head and Nozzle are logically ‘tied together’ by two attributes which ‘point’ to each other - the Nozzle CREF will point to the Branch, and the Branch HREF (Head Reference) will point to the Nozzle.
The final effect of CONNECT, which only applies to Heads, is that the Tube (or Rod) that may be required between the Head and the first Component is automatically selected.
A Branch Head or Tail can connect to the following items:
• A Nozzle
• The Head or Tail of another Branch
• A ‘free’ p-point of a multi-way Component in another Branch (e.g. a Tee)
Examples:
CONN PH TO /1205-N5 (Where /1205-N5 is a Nozzle)
The Head attributes of the current element (Branch or Hanger) are set to match the position, orientation, bore and connection type of the Nozzle (see Figure 3-1).
CONN PT TO LAST MEM
The Tail attributes of the current element will be set to match the Leave Point of the last Component (that is not an Attachment point).
CONN PT TO /100-A8/T2 (Where /100-A8/T2 is a TEE)
The Tail attributes of the current element will be set to match the free p-point on the specified TEE (see Figure 3-1).
CONN PT TO P4 OF /VF205 (Where /VF205 is a VFWA.)
The Tail attributes of the current element will be set to match the specified
CONN PH TO PT OF /100-A8/1 (Where /100-A8/1 is another Branch)
The Head attributes of the current element will be set to match the Tail of the specified Branch.
CONN PH TO ID NOZZ@
As in the first example, but with the Nozzle identified by cursor selection. Note: Before a CONNECT command is given, the Branch Specification attribute must be set. Connection to elements not within the designer’s jurisdiction (Read Only) will cause an inter-DB connection macro to be created automatically (see Part 1 of the DESIGN Reference Manual).
The Head or Tail Connection Reference Attribute
Keywords: HREF TREF Description: These attributes hold the name of the element to which the Branch or Hanger is connected. They are usually set automatically as a result of a CONNECT PH (or PT) command, but they may also be set explicitly. When they are set, the corresponding attribute (CREF, HREF or TREF) of the item connected to is reset so as to point back to the Branch or Hanger.
Examples: TREF /PIPE2 HEAD Sets TREF of current element to point to Head of /PIPE2 and setsHREF of /PIPE2 to point back to the current element. HREF NULREF Unsets HREF; i.e. disconnects Head from any other element.
Positioning Head or Tail in Free Space
Keywords: HPOS HBOR HDIR HCON TPOS TBOR TDIR TCON
Description: It is sometimes necessary to terminate a Branch (or Hanger) in free space; for instance, where a Branch reaches the Battery Limits. Where this termination ends with a length of TUBE (or ROD) and no Head or Tail connection can be made, it is necessary to set the Head/Tail attributes individually.
Examples:
HPOS E10 N5 U5
The Head position is set as specified in owner coordinates.
HDIR N WRT WORLD
The Head direction is set as specified in World coordinates.
HBOR 80
The Head Bore is set as specified.
HCON OPEN
The Head Connection Type is set as specified.
Note: If a data consistency error is to be avoided, the HCONN or TCONN of a free end must be set to one of the following: OPEN, CLOS, VENT, DRAN
Head or Tail Positioning Using End Components
Keywords: POSITION PH PT THROUGH DISTANCE
Description: These commands allow the Head or Tail position to be set by using the end Component in that Branch or Hanger. This will normally occur when the Tail is to finish with a piece of variable length Tube. This command treats the Tail position as a pseudo-Component and places it at the specified point along the previous Component’s Leave p-point direction. If the Head is to be positioned in this way, Backwards Routing Mode must be in force.
Examples:
POS PT DISTANCE 1000 The TPOS attribute will be set to the position 1000 from the leave p-point of the last Branch member (i.e. previous Component). POS PH THROUGH E3000 (In BACKWARDS mode) The HPOS attribute will be set to the intersection between the line from the Arrive p-point of the Previous Component and the perpendicular plane through E3000 N0 U0 in owner coordinates.
Moving the Head or Tail
MOVE PT DIST -2000
Moves the Tail by 2000 from its current position, in the opposite direction to PT.
MOVE PT BY E2000 S500
Moves the Tail by 2000 East and 500 South from its current position
To save modification if server already expunge :
ALPHA FILE /Filename OUTPUT /* CHANGES
To Reload :
$m /Filename