PDMS Commands
PDMS Commands
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 elements origin, p-point, or obstruction in a given direction
with a clearance from another items 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 items physical obstruction, while the TO and FROM options
refer to the items 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@
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
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.
---->>>
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
---->>>
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
sloping lines.) In this case, the tee is orientated and the angle
adjusted to allow p3 to point in the direction specified.
Creating Elements
Deleting Elements
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
At Branch Level
Steelwork
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.
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:
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 29. P1 should point in the
<!--[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
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.
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)
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)