Pdms Command Line Syntax Advanced
Pdms Command Line Syntax Advanced
Query Syntax:
CE Current element.
BY Used to move (by <direction> <distance> Ex. by s 12’)
FOR Sets you in forward mode. (is not indicated anywhere)
BAC Sets you in backward mode. (is not indicated anywhere)
CONN Connects CE to previous component in members list.
NEX CONN Brings you to next component in members list then connects
it to previous component.
1CONN Connects first component in branch to branch head when in forward mode or
branch tail when in backward mode.
CONN TO NEXT Connects CE to next component in members list.
CONN NEXT Connects CE to previous component then brings you to next
component in members list.
FCONN Forces a connection between 2 incompatible connection types.
Example:
PIN1 AT CE DIR E DIST 3’ Creates pin at current element points it in direction indicated then
moves it by distance indicated.
NEW ELB CHOO ALL Brings up options for creating new component.
CONST DIST PL TO PA OF NEX Gives the distance from p-leave of CE to p-arrive of next
component in members list.
CONST DIST IDP@ TO IDP@ Gives the distance between two specific points selected.
CONST DIR PI1 TO PI2 Gives the direction of pin1 to pin2. Direction can also be
constructed from p-points.
Move Commands:
MOVE U THR NEX Moves component in specified direction through next component.
MOVE U THR PRE Moves component in specified direction through previous component.
Misc. Syntax:
ROTA BY 45 ABOUT PIN1 THRO PIN1 Rotates CE 45 degrees around Construction Pin 1.(PIN1 at
CE to place pin at desired location)
ADD ALL WITHIN VOL CE 3’ Adds to drawlist all items within designated area of
current element.
BOP ONTO U “ELEVATION” WRT/* Example: BOP ONTO U 145’ WRT/*
Sets the bottom of pipe.
ALPHA REQUEST CLEAR Clears input/output request window.
$Q Lists available syntax options when typed in after a command.
The syntax options available for use with selected commands
are listed. Example: BY $Q Lists syntax that be used with the
BY command.
MOVE (PT OR PH) BY (DIR) (DIST) Example: MOVE PT BY E 500
To move PT or PH at branch level.
MOVE (PT OR PH) PLANE (DIR) THR ID@ Example: MOVE PT PLANE E
THR ID@ Moves a PH or PT in indicated direction along a plane to the
indicated item.
MOVE (PT OR PH) PLANE (DIR) THR (DIR) (COORD) Example: MOVE PT PLANE E THR E 500
Moves a PT or PH in indicated direction along a plane to
indicated coordinate.
SYNONYMS
Synonyms are short words that perform a command and are useful for quick input.
The synonym name or word, which is comprised only of letters is placed between
$S and a =.
The replacement text (command) is comprised of all text between the = and the carriage return.
$S NBV = NB XLE 2’ YLE 2’ ZLE 3’ Set NBV to create a new box (called by the synonym
“NB” and define the volume attributes.
You can create synonyms for syntax which are similar to 2 key lisps in autocad, from a pulldown
menu in PDMS also.
You can add as many syntax commands under this heading as you wish.
or you can create a new one for each syntax command every time you load from macros you just
need to repeat steps 1-3 and choose LOAD instead of define.
Construction Commands:
Construction quantities are displayed in the command input and output readout area.
• DISTANCE
• DIRECTION
• ANGLES
• POSITION
The construction commands can use combinations of P-Points and or mapping pins. These
quantities can be written into variable for later use.
The CONSTRUCT DISTANCE command allows you to measure the distance between two design
points.
• 2 P-Points or Pins
• A P-Point of Pin and the closest point on the line or plane.
CONS DIST IDP@ TO IDP@ The measured distance between the two
selected points is displayed.
CONS DIST IDP@ TO PLANE IDP @ The distance from the first nominated point to a plane
PERMENDICULAR to the second point is displayed.
CONS DIST PIN2 TO PLANR PIN1 Measured distance between the intersection of direction of PIN2
and a perpendicular plane passing through PIN1.
Pin2
MEASURED
DISTANCE
Pin1
CONS DIR PIN 1 TO PIN 2 The direction from PIN 1 to PIN 2 is displayed.
CONS DIR PIN 1 TO P4 OF IDBOX@ The direction from PIN 1 to the specified P-Point is
displayed.
The CONSTRUCT POSITION command allows you to calculate the coordinated of a design element,
P-Point or pin.
CONS POS P3 The coordinate at P3 of the current element is displayed in world coordinates.
(Ex. E100’ N50’ U40’)
To Create an Alpha Log to Text Pad: