PDMS Commands
PDMS Commands
DESIGN
DRAFT
PARAGON
ISODRAFT
DESIGN
AFFICHAGE
Réglage
o REPRE DARC 1 Set arc tolerance to 1 degree
o REPRE DARC DEF Set arc tolerance by default (10°)
o REPRE HOLES ON Set hole on
o REPRE HOLES OFF Set hole off
o REPRE PNODE COL YELLOW Set pnod colour Yellow
o REPRE PNODE ON Set pnod on
o REPRES PNODE SIZE 6 Set pnod size 6
o REPRES PROF ON CL OFF Set profile representation SOLID and Cline off
o REPRES SNODE ON Set snod on / off
o REFRESH Refresh the graphic window
o PREC 4 DP Give Precision decimal to 4 digits
o Q REPRES Give the representation status
Couleur
o Q COL ACTive Give the active current colour
o Q COL AIDS Give the actual colour of aids
o Q COL CE Give the active colour of CE
o Q COL VIS Give the visible colour
o Q COL 4 (Etc…) Give the Attributed colour (YELLOW)
o COL ACT BLUE Change active colour to BLUE
o COL CE VIOLET Change CE colour to VIOLET
o COL 39 YELLOW Change colour 39 to YELLOW
o ENHANCE CE TRANSL 0 Display CE SOLID
o ENHANCE CE TRANSL 60 Display CE TO 60% TRANSLUCENCY
o ENHANCE CE COL YELLOW Display CE YELLOW
o
o Q DRAW List the Drawlist display in graphic window.
(Take care! could be long if large drawlist)
(In general CE mean current element).
ADD to Drawlist
o ADD ALL WITHIN VOL CE Add all elements include and crossing the CE
volume box
o ADD ALL WITHIN VOL CE 100 Add all disciplines that overlap CE with an
additional clearance volume +1OOmm
o ADD ALL SCTN WITHIN VOL CE Add only the SCTN include and crossing the CE
volume
o ADD ALL STRU WITH PURP EQ 'PS' Add only SCTN with their Purpose EQ to ’ PS’
o ADD ALL WITHIN VOL CE 500 COL 4 Add ALL within vol CE + 500 colour yellow
o ADD CE Can be followed by AUTO CE to zoom adjusted around CE
o ADD CREF Add branch connected to cref
o ADD CE COL 39 Add CE colour 39
o ADD SITE ADD site (be careful this can take time to load)
o ADD CE Colour Blue TRANSL 75 Add CE colour blue with 75% of transparency
o ADD HREF TREF ……CREF Add connected branch to href tref or also cref with
nozzle or TEE
REMOVE
o REM CE Remove Current element
o REM ALL Remove all element
o REM PIPE Remove pipe only
o REM EQUI Remove equi only
o REM ALL WITHIN VOL CE 100 Rem all include in CE volume box
o ETC……….
MARK
o MARK CE Mark CE name
o UNMARK CE or ALL Unmark CE name can be used with ALL
o MARk CE Mark CE name
o MARk With 'TEMPORARY' CE Tag CE with temporary name ‘TEMPORARY’
o MARk With (NAME OF CATREF) CE Tag CE with the name of Catref
o MARK With (GTYPE) CE
o MARK With 'TITI' CE
o MARK With (STRING(DESP1) + '_' + NAME OF CATREF) CE
o MARK With (STRING(DESP1)) CE
o MARK With (STRING(LOHE)) CE Tag PANEL CE with its thickness
AXE
o AXES CE Add an Aid axe on current element
o AXE AT ID@ Add an Aid axe on element to be digit
o AXE OFF Suppress the display
AIDS
o AID TEXT (NAME OF CATREF) AT AT P1
o
o AID TEXT (STRing(DESP1) + '_' + NAME OF CATREF) AT AT P1
o
o AID TEXT (STRing(MATREF) + '_' + STRing (LOHE) + '_' + NAME OF SPREF) AT AT P1
o
o AID TEXT (STRing(MATREF) + '_' + STRing (TCTL) + '_' + NAME OF CATREF) AT AT PPLI TOS
o
o AID TEXT ('MAT:' + STRing (MATREF)) AT AT PPLI LTOS AID TEXT ( 'LONG:' + STRing (TCTL)) AT
AT PPLI NA AID TEXT ('TYPE:' +NAME OF CATREF) AT AT
PPLI RBOS
o AID TEXT ('THK:' + STRing (LOHE)) AT AT P1 AID TEXT ( 'TYPE:' + STRing (SPREF)) AT AT P2 AID
TEXT ('MAT:' + STRing (MATREF)) AT AT P3
o AID TEXT ('TYPE:' + SUBSTRING(NAME OF CATREF,14)) AT AT P2 AID TEXT ('ELEVATION:' +
STRing (P100 UP IN WORLD)) AT AT P3
These commands has been defined with two (AT AT ) values. Don’t ask me why! ?? This is only I have
founded to get the right result.
o
o AID ARROW AT AT P1 OF CE DIR OPPO PPOINT1 HEI1000
o
o AID ARROW AT AT P100 OF CE DIR AXES PPOINT100 HEI1000
ALPHA REQUEST CLEAR Clear the command line window and its display.
MODIF on DESPARAMS
o DESP n2 500 n6 300 This change the design parameters number 2 and
number 6 with its new value
Move Objects
o MOVE N45E DIST 1500
o MOVE S DIST 1245
o MOVE U THROugh P2 OF PREV BOX
o MOVE ALONG P1 DIST 547
o MOVE N45W TOWARDS ID@ DIST 500
o MOVE N45W TOWARDS IDP@ DIST 500
o MOVE $_DIR WRT WORLD PLANE $_PLAN CLEARANCE $_DIST
$_RELATIVE $_CD.NNAME_NAME
o MOVE ALONG $!SCTNDIR1 PLANE U THR U $_ELEVATION
o MOVE P2 North DIST 500 FROM id@
o MOVE P2 North CLERANCE 100 THRough IDP@ MOVe E WRT CE TO ID@
Move CE wrt its own axe’s East to an
element chosen.
o MOVE U TO ID@(PDMS) Move UP TO A Selected ELEMENT
o MOVE W TO IDPL@(PDMS) Move WEST TO A Selected PLINE
o BY D 1OO Move CE DOWN 100 mm
o BY E 100 Move CE EAST 100 mm
o BY E 2IN WRT CE Move CE E 2"(INCHES) WRT CE
(Determinate... correct CE axis first )
o BY E3.lDIN Move CE E3.1/2"(INCHES)
o BY N lOO Move CE NORTH 100 mm
o BY U lOO Move CE UP 100 mm
o BY X lOO Move CE X (EAST) 100 mm
o BY X lOO WRT/* Move CE X @AS") 100 mm wrt world
o AT IDP@ Move CE to selected PPOINT
o AT IDPL@ Move CE to selected PLINE
o
o Q POS WRT CE TO ID@ Query the distance from CE to identify object
o Q POS IN $V1 Query the distance from CE to $V1 object
o Q POS PIN1 WRT/* Query the position of pin1 wrt world
o Q POS End Query the position end of sctn
o Q POS FITT Query the fitting coordinates (start)
o Q POS IDPL@ Query the Pline coordinates at start of idpline
o Q POS PPLI BOS WRT/* Query the bottom BOS pline coordinates
o Q POS PPLI NA PROP 0.5 Query the neutral axis NA middle of pline
coordinates (position of the pline at (PPLI) at
(0.5 x DER LEN) on the NA
o Q POSS Query position start of the SCTN
o Q POSS POSE Query position start and end of the SCTN
PINS
Utilisation des pins.
o PIN1 AT PPLI BOS PROP 0.5 POS PIN1 at middle of pline BOS
o PIN1 PLAN N THR PIN2 Move the Pin1 through Pin2 with a normal to
plan north
o PIN1 COPY IDP@ Create pin1 according Ppoint choosen
o PIN1 COPY PIN2 Create Pin2 by copy of Pin1
o PIN1 DIR D Orient PIN1 down
o PIN1 DIR U WRT/* THR IDP@ Move PIN1 UP TO A SELECTED PPOJNT
o PIN2 DIR D WRT/* THR IDPL@ Move PIN2 Down to a selected pline
o PIN1 BY D 8 Move PIN1 Down 8mm
o PIN6 OFF Turn PIN6 OFF
o POS PIN3 AT CE Position PIN3 at axis of CE
o Q DIR PIN1 Query Pin1 direction
Query PIPING.
EQUIPEMENT
Object Connection
o CONN IDP@ to IDP@ Connection from idp to idp
o CONN P2 to P3 OF PREV BOX Connection of P2 to P3 of previous box
o Q GCOF Give the gross centre of gravity
o Q GWEI Give the gross weight
ATTRIBUT GENERAL
o AID CLEAR LINE ALL Remove all aid lines
o AXES AT CE Place axe at CE
o AXES AT PA CE Place axe at CE ppoint Parrive
o AXES AT PPLI TOS PROP 1 Place axe at the end of TOS pline
o AXES OFF Remove axe
o CHECK CE Query the consistency of the ce
o FINISH End & savework Pdms session
o FLIP CE Turn 180 degrees the component itself
o GETWORK Get latest model from other users
INCLUDE (To use that command you MUST be on the right getting hierarchy)
o INCLude CIRC 1 OF NOTE /TABLE Transfer with item full name
o INCLude ID@ Select the item to be transferred
o INCLude NAME Include with by its name, you could use$V1
o Q ALL BOX WITH (ATTRIB EAST GT 200 ) Query element with Attrib East
greater than 200
o Q (FROM id@ TOWARD /EQUI2) Query direction of element to be
id@ to /EQUI2.
o Q (FROM CE TO /EQUI2) Query /EQUI2 direction from CE.
Query on all pipe wholly include in the volume box of /Zone with an additional overall
clearance volume of 1500mm.
o Q ALL PIPE EXCLUSIVE WITHIN VOLUME /CV1/BASA 1500
Query with wildcard keyword MATCHWILD. This functionality Give the possibility to
only tape a part of the word search.
o Q ALL PIPE WITH ( MATCHWILD ( NAME, ’/name_of_pipe_or_branch*’))
The first Query command you should know is Q ATT to query all attributes of a component.
o Q ATT Give the whole attributes of a component
o Q DISPLAY Give the tolerance and repre levels
o Q DNST Give the density
o Q East Give the CE East coordinates
o Q ELEM Give the CE element name
o Q IDP @ WRT/* Give the CE P POINT CO-ORDINATES
o Q ITLE Give the LENGTH of implied tube
o Q LASMOD Give the lastest date of modification
o Q LEV Give the CE level
o Q LIST Give the list of possible type in that hierarchy
o Q LOCK Give the lock status (true or false)
o Q MCOUNT Give the number of members
o Q MCOUNT SCTN Give the numbers of members type SCTN
o Q MDB Give the project MDB
o Q MEM Give the CE members
o Q MIDP Give the CE MIDPOINT coordinates
o Q NAM Give the CE name
o Q OBS Give the CE obstruction level ( 0 1 2 )
o Q OLIST Give the possible types of owner for CE
o Q OWN Give the CE owner
o Q PARA Give the CE parameters ie SERIAL SIZES
o Q POS Give the CE coordinates (START)
o Q PRLS Give the DESParam (PROPerties) LIST
o Q PPLS Give the Ppoint list
o Q TYPE Give the CE type ie. SCTN, PANE
o Q HARDTYP Give the hard type coding for CE
o Q SOFTTYP Give the softype of the CE
o Q USER Give the name of the current user
o Q USERMOD Give the last user modify
o Q ZDIST Give the fitting pos along sctn
o
DRAFT
SORT DIM Sort the dimensions in order to use
NEW GLAB COPY PREV DDNAME ID@ New glab copy previous glab and choice the
new design element.
NEW GLAB COPY ID@ DDNAME ID@
NEW SLAB COPY PREV DDNAME ID@
NEW SLAB COPY ID@ DDNAME ID@
NEW LDIM COPY ID LDIM @
NEW DPPT DDNAME ID@
Atext.
o Atext '#OWNER(C13:13)'
Pltext.
o Pltxt 'EL. #POSu+ T.O.S.'
INDICATION DE L'
ELEVATION SUR LIGNE DE RAPPEL D'
UNE COTE
Pltxt 'T.O.G. EL. #P3POSu+#/%U[#P3POSu+ ]%U'
Dim text with 2 mesures (inches and m)
Pltxt 'T.O.S. EL. #POSu+#/%U[#POSu+ ]%U'
Pltxt 'T.O.S. EL. #POSEU+#/%U[#POSEU+ ]%U'
Pltxt 'T.O.S. EL. #DIMPOSU+'
Pltxt 'EL. #PKBOS^POSSU+ B.O.S. '
Various commands
FPT @ Move the 1 point of primitive STRA
TPT @ Move the last point of primitive STRA
PLCL @ Pclearance at @
GAP @ Create gap on dim line
GAP DELETE @ Choose the Gap to delete
GAP Delete ALL Suppress all GAP
o Q RRSF ! "" # !
o Q SIZE $ %& ' ( #! $#!
o Q ADEG )% &# * +, ' -
o Q APOF ) *# $ " - " ( # & " $ .$ ! /#
o Q BSRF ' ! 0" 0 *! " -
o Q CHEIGHT " 1 " )2 & & 2 2"
o Q CPOF ) *# $ " - & ' # .$ ! /
o Q DIR )% ' )" $ # * # -
o Q DPOS ' ( .$ ! " $ # $ # ! 2 "
o Q DTER & 3 % ' ( " ( /" ' .& "
o Q FPT ! " & 0 $ ( .$ # " ) $ 4$ ' ! -
o Q JUST )% 5 !" 0 * 0" -
o Q LEN # 2"
o Q LHEI " 1" "" 2 2"
o Q LSHAPE &6 &' # !"&" !
o Q LVIS ) ! 6 "
o Q MPT ! " & 0 $ ( .$ # " ) $ 4$ ' !
o Q PKEY ' ( . # ! " & " ! * " )" 0 -
o Q POS PLRF ) # " ! ) ) $ 4$ ' !
o Q RCOD $ # "& " $ #
o Q RRSF ) #" ! "" # !
o Q SIZE $ %& ' ( #! $#!
o Q SNAP ! # & . ! " " # ! *$ # %$ 00 -
o Q THPOS )% ( & " )2 # ) $ 4$ ' !
o Q TMRF ) *! ( 6 $ - # & (
o Q TPEN " 1 . )$ $ & "" 6 " !
o Q TPT !" & "& .$ # " ) $ 4$ ' !
o Q VLIMITS ( "!
o Q VRAT ! )& & " $ * 7 " $ 89-
o Q VSCALE )% ! )& * ,9 -
o Q VTYP &"" 6 " !
o Q XYPOS .$ ! " $ # $ # " 2 ! 2 "
o Q XYPOS OF PTRF POSITION OF THE SYMBOL
o Q DIR C/VIEw DIRECTION(ie N )
o Q DMTXT DIM TEXT ATTRIBUTES
o Q DPOS LDlM POSITION ON SHEET
o Q FPT CE FUNCTION
o Q DTER LAYER/LDIM TERM'TR DEFAULT
AVEVA Southern Europe Page 17 sur 24
10 cours Louis Lumière
94300 Vincennes
Téléphone 33+ 1 58 64 14 40
Merci à tous les utilisateurs qui ont contribué à la mise en œuvre de ce document.(Michel D)
Thank to all Pdms users which has contributed to made this document.
COMMANDES PDMS MANUELLES
DESIGN
DRAFT
PARAGON
ISODRAFT
(How can use Collect and Evaluate command)(has been write in French for better
understanding by French people)
Méthodologie pour Utiliser des Commandes
COLLECT et EVALUATE
***OPERATEURS LOGIQUES*****
GT +GRAND
LT + PETIT
EQ =
NEQ PAS =
LE + PETIT OU =
GE + GRAND OU =
AND A prendre comme lien entre deux questions qui doivent être vrais si cumulées.
OR À prendre comme lien entre deux questions pour extraire deux valeurs
NOT Non égal à …
-- Vous recherchez la partie d'un nom d’une position et (10) nombre de caractères fixes (3)
-- Vous testez la partie 2 d'un nom fullname (objet pdms « non nommé » ) et cette partie est
un nombre réel à l’intérieur de la string fullname
Full name = SCTN 52 of SBFRAMEWORK 1 of FRMWORK /SF/CHARP-1/Z1/F1
52 est le terme 2 (65 dans l'exemple pour partie 2 plus grande égale 65 )
REAL(PART(FULLNAME,2,' ')) GE 65 for ce
-- Vous cherchez la partie d'un nom (ABC) avec valeur vraie si trouvée
MATCH(NAME,'ABC') GT 1 vrai si trouvé dans le mot cherché
--
COMP(U) OF POS WRT WORLD Retourne la valeur de la position Up
PART('ABDCEFG',4) Retourne C
Utilisation de COMPOSE
Pos EL. \ (STR (comp(U) of pos wrt /* , 'D1' ))
Test sur Nom de Site dont on retient le 6 caratere pour comparaison si valeur > 3
(REAL(subs(name of site,6,1))) GE 3
La fonction COLLECT
Question : Récupérer toutes les SUBS dont le nom de site est /LD03 et dont le nom contient
le caractère "V".
Var !voil collect all SUBS with ( NAME OF SITE EQ ’/LD03’) AND ( matchwild
( NAME,’/*V*’))
Enhance all from !voil colo 39.
Question : Récupérer toutes les boîtes dont l’échelle en x,y,z est supérieure à 1000.
Var !box collect all BOX with ( xlen GT 1000) AND ( ylen GT 1000) AND ( zlen GT 1000)
remove all BOX from !box
Question : Récupérer tout ce qui est compris dans le volume /CV1/BASA et dont le nom
commence par /CV1/RRI???
Add CE /CV1/BASA colo 2 $*.
ATTENTION pour l’utilisation du volume par le nom, le site doit être présent.
Var !rri collect all with ( matchwild ( NAME,’ /CV1/RRI/*’)) within vol ’/CV1/BASA’
Var !sec collect all with ( matchwild ( NAME,’ /CV1/SEC/*’)) within vol ’/CV1/BASA’
Enhance all from !RRI colo 8.
Enhance all from !SEC colo 16.
Question : Supprimer de l’affichage toutes les boîtes dont l’ATTRIBUT XLEN est plus grand
que 12350
Remove all box with ( XLEN GT 12350 ) from !box.
Question : Addition dans un groupe de pipes dont on veut enlever une branche.
Gadd all BRAN MEM FOR /PIPE2 EXCLUDE BRAN 1 OF /PIPE2
Opérateurs particuliers :
ARRAYWidth - Longueur de la chaîne de caractères contenus dans une variable.
!long = ARRAYWidth ( !collect )
$P $!long
Récupération du mot n dans le contenu d’une variable.
Var !local ’local 2 - local 3 - local 4’
Var !localnom (PART(VTEXT(!local),3))
$P $!localnom Affiche le nom 3 (local 4)
#----------------------------------------------------------------------
Collection avec addition dans la variable !Charp
var !charp append collect all pipe within N103750 E479075 U4950 TO
N87500 E494500 U33500
#----------------------------------------------------------------------
Query sqrt ( pow( comp(x) of pos wrt /* , 2 ) + pow ( comp(y) of pos wrt /* , 2 ))
PARAGON
To only replace only one parameters ie: 100 23 FGD 12 56 without type the whole values
Set the values before loading an object with many DESP or DATA
Model set des para 1 23
Model set des para 2 100
Model set des para 3 ABC
Model set des para 4 10
$M ;;;;;;;;;;;;;;;;;;;;;;;;
Then by default any catalogue component will be defined with 3 or 4 levels of representation