Rabu, 27 Juli 2011

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

3 komentar:

  1. Nice Post Gan..

    Ane jg lg bljr PDMS gan..
    Klo blh ane req, command line + artinya gan..
    maap klo ngrepotin..

    BalasHapus
  2. Coba kamu visit di http://piping-info.blogspot.com disitu banyak mengenai PDMS. Kalau Command yach artinya perintah-perintah. Saya pun lagi belajar PDMS gan

    BalasHapus
  3. Assalamualaikum Salam sejahtera untuk kita semua, Sengaja ingin menulis
    sedikit kesaksian untuk berbagi, barangkali ada teman-teman yang sedang
    kesulitan masalah keuangan, Awal mula saya mengamalkan Pesugihan Tanpa
    Tumbal karena usaha saya bangkrut dan saya menanggung hutang sebesar
    1M saya sters hampir bunuh diri tidak tau harus bagaimana agar bisa
    melunasi hutang saya, saya coba buka-buka internet dan saya bertemu
    dengan KYAI SOLEH PATI, awalnya saya ragu dan tidak percaya tapi selama 3 hari
    saya berpikir, saya akhirnya bergabung dan menghubungi KYAI SOLEH PATI
    kata Pak.kyai pesugihan yang cocok untuk saya adalah pesugihan
    penarikan uang gaib 4Milyar dengan tumbal hewan, Semua petunjuk saya ikuti
    dan hanya 1 hari Astagfirullahallazim, Alhamdulilah akhirnya 4M yang saya
    minta benar benar ada di tangan saya semua hutang saya lunas dan sisanya
    buat modal usaha. sekarang rumah sudah punya dan mobil pun sudah ada.
    Maka dari itu, setiap kali ada teman saya yang mengeluhkan nasibnya, saya
    sering menyarankan untuk menghubungi KYAI SOLEH PATI Di Tlp 0852-2589-0869
    agar di berikan arahan. Supaya tidak langsung datang ke jawa timur,
    saya sendiri dulu hanya berkonsultasi jarak jauh. Alhamdulillah, hasilnya sangat baik,
    jika ingin seperti saya coba hubungi KYAI SOLEH PATI pasti akan di bantu Oleh Beliau

    BalasHapus