AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
100s Design Simple Single Line Commands
001.How to remove everything from 3D view - to clear drawlist 3
002.How to output CE as data listing text file (Dblisting) 3
003.How to add CE to 3D view 3
004.How to add only CE (without its owner if not significant) 3
005.How to add within some volume 3
006.How temporarily change color of CE 3
007.How temporarily change translucency of current element 4
008.How to remove all previous enhancements 4
009.How to move CE by some offset along given axis 4
010.How to move CE by some offset along several axes at same time 4
011.How to change coordinates of CE WRT World 4
012.How to delete CE permanently (from database) 4
013.How to delete members of CE 4
014.How to query value of any attribute of CE 4
015.How to set new value to attribute with value of <STRING> datatype 5
016.How to set new value to attribute with value of <REAL> datatype 5
017.How to set reference attribute 5
018.How to query distance between two mouse-chosen p-points 5
019.How to query distance between origins of two mouse-chosen elements 5
020.How to query distance between origins of two mouse-chosen element with given type 5
021.How to mark CE with NAME 5
022.How to mark CE with some text 5
023.How to remove marking 5
024.How to query all attributes of CE 5
025.How to query all pseudo-attributes of CE 6
026.How to connect piping component to previous 6
027.How to connect piping component to next 6
028.How to force connect piping component to previous 6
029.How to force connect piping component to next 6
030.How to position any element regarding identified element along some axes 6
031.How to make a spool of given length between CE and previous piping components 6
032.How to rotate CE around some axis by some angle 6
033.How to create element of given type 6
034.How to create element of given type as a copy of existing one 7
035.How to create element of given type as a copy of previous 7
036.How to savework 7
037.How to getwork 7
038.How to claim CE and its hierarchy 7
039.How to lock CE and its hierarchy 7
040.How to unlock CE and its hierarchy 7
041.How to quickly switch on insulation representation to 50% 7
042.How to quickly switch off insulation representation 7
043.How to quickly switch on obstruction representation to 30% 7
044.How to quickly switch off obstruction representation 7
045.How to quickly switch on holes drawn 8
046.How to quickly switch off holes drawn 8
047.How to position primitive by moving its p-point 8
048.How to query piping components arrive p-point connection 8
049.How to query piping components leave p-point connection 8
050.How to query piping components arrive bore 8
051.How to query piping components leave bore 8
052.How to query general data about p-point with some number 8
053How to add CE to the screen and make auto limits for CE 8
054.How to query a list of possible descendants of CE 8
055.How to connect branchs head to first member 8
056.How to connect branchs tail to last member 8
057.How to query general information about mouse-chosen p-point 9
058.How to connect one primitive by its p-point to numbered p-point of another mouse-chosen 9
059.How to navigate to the owner of CE - move one level up in hierarchy 9
060.How to navigate to previous element regarding CE 9
061.How to navigate to next element regarding CE 9
062.How to navigate on element with known name 9
063.How to navigate to the last member within current hierarchy 9
064.How to navigate to the first member within current hierarchy 9
065.How to navigate to the first member of named element 9
066.How to navigate to element name of which is written in reference attribute of CE 9
067.How to get total number of members of CE 10
068.How to query list of UDA attributes of CE 10
069.How to query list of set UDA of CE 10
070.How to set value to design parameter of specified number 10
071.How to copy attributes to CE from another element 10
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
072.How to unname element 10
073.How to query possible owner types for CE 10
074.How to reorder one element before another in same hierarchy 10
075.How to reorder one element after another in same hierarchy 10
076.How to include element from other place of hierarchy into current place 11
077.How to query elements claimed by other users from same database 11
078.How to query element which are claimed by you 11
079.How to add element into group 11
080.How to remove element from the group 11
081.How to find closest element of given type in some direction 11
082.How to list all elements of given type within ce 11
083.How to list all elements where part of name matched to some value 11
084.How to query user who has done last modification of CE 11
085.How to query date of last modification of CE 12
086.How to display changes since some date 12
087.How to try to create an element with given name but if exists then navigate on it 12
088.How to query project status 12
089.How to query CEs database name 12
090.How to output information about last several sessions 12
091.How to set temporary point called PIN for further actions 12
092.How to place PIN at some elements origin 12
093.How to construct aid line 12
094.How to construct aid text 13
095.How to add items within volume of CE plus some additional distance 13
096.How to add specific items within volume of CE plus some additional distance 13
097.How to set dynamic rule 13
098.How to name item 13
099.How to find distance between two PINs 13
100.How to remove PINs 13
Exercise 1 15
Exercise 2 15
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
All commands in this tutorial written in uppercase
Values that user should put is shown with special font annotation
All commands to be typed in command window
All commands can be saved in macro file and be run further in more quick way like quick button
Many commands are applied to Current Element or so called CE - an item selected in hierarchy
Some commands will change CEs attributes (appropriate topic will be marked with Red) so it
needs to involve Savework operation if needed to Save, some commands will not change
attributes
All commands if not specified are applied in Design module
001.How to remove everything from 3D view - to clear drawlist
REM ALL
002.How to output CE as data listing text file (Dblisting)
FILE /path_filename OVER OUTPUT CE FILE END
Where path_filename is filename
Example
FILE /c:\temp\ceDataListing.txt OVER OUTPUT CE FILE END
Will output CE as dblisting to given file. File will be overwritten
003.How to add CE to 3D view
ADD CE
Nb. if item is not significant then its owning significant item will be added completely
004.How to add only CE (without its owner if not significant)
ADD ONLY CE
005.How to add within some volume
ADD ALL type WITHIN volume
Where type is item type (can be suppressed if needed to add all), volume volume
Example
ADD ALL EQUI WITHIN E 4792 S 82260 U 895 to E 18440 S 81240 U 2165
Will add all EQUIpments within given volume
006.How temporarily change color of CE
ENHANCE CE COLOUR color
Where color is a colour name or number
Example
ENHANCE CE COLOUR RED
Will colorize CE with red colour
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
007.How temporarily change translucency of current element
ENHANCE CE TRANSLUCENCY percentage
Where precentage is percent value of translucency
Example
ENHANCE CE TRANSLUCENCY 50
Will make CE translucent for 50%
008.How to remove all previous enhancements
UNENHANCE ALL
009.How to move CE by some offset along given axis
BY axes_name offset_value
Where axes_name is a name of axes and offset_value is a value of offset
Example
BY N1000
Will move CE by North at 1000mm
010.How to move CE by some offset along several axes at same time
BY N1000 E400 U-300
Nb.CE will be moved completely with its contents, which will get new coordinates (Position attribute changes), and WRT coordinates of
owner
011.How to change coordinates of CE WRT World
AT N1000 E2000 U100 WRT WORLD
NB.CE will change its position together with all contents respectively, which will get new coordinates (Position attribute changes)
012.How to delete CE permanently (from database)
DELETE CEElementType
Where CEElementType is type of CE in hierarchy to be deleted
Example
DELETE ELBO
Will delete CE if it is ELBO
013.How to delete members of CE
DELETE CEElementType MEMBERS
Where CEElementType is type of CE in hierarchy members of which to be deleted
Example:
DELETE ZONE MEMBERS
Will delete members of CE ZONE
014.How to query value of any attribute of CE
Q AttributeName
Where AttributeName is name of attribute
Example
Q DESC
Nb.Some attributes are always exist on any element but some depends on CE Type. For example, NAME attribute belongs to every
element and can be queried without errors, but JOISTART can belong to SCTN but not to EQUI. Therefore, if you try to query some
attribute which does not exist on CE then you will get an error
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
015.How to set new value to attribute with value of <STRING> datatype
DESC string_value
Example
DESC Pump
016.How to set new value to attribute with value of <REAL> datatype
AREA real_value
Example
AREA 4
017.How to set reference attribute
CREF /ItemName
or
CREF refno
Where /ItemName or refno is existing element with correct type for this link
Nb.Item with given name or refno must exist otherwise you will get an error
018.How to query distance between two mouse-chosen p-points
Q CONST DIST IDP@ TO IDP@
019.How to query distance between origins of two mouse-chosen elements
Q CONST DIST ID@ TO ID@
020.How to query distance between origins of two mouse-chosen element with given type
Q CONST DIST ID ElementType @ TO ID ElementType @
Where ElementType is a type of element
Example
Q CONST DIST ID SECT @ TO ID EQUI @
021.How to mark CE with NAME
MARK CE
022.How to mark CE with some text
MARK WITH SOME TEXT CE
023.How to remove marking
UNMARK ALL
024.How to query all attributes of CE
Q ATT
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
025.How to query all pseudo-attributes of CE
Q PSATTS
026.How to connect piping component to previous
CONN TO PREV
027.How to connect piping component to next
CONN TO NEXT
028.How to force connect piping component to previous
FCONN TO PREV
Nb.Force connect could be used if connection types are not matched
029.How to force connect piping component to next
FCONN TO NEXT
030.How to position any element regarding identified element along some axes
POS CE BY axis_name value FROM ID@
Where axis_name is name of the axis and value is offset value
Example
POS CE BY N 2000 FROM ID@
031.How to make a spool of given length between CE and previous piping components
POS PA OF CE DIST spool_length FROM PL OF PREV
Where spool_length is required length of spool
Example
POS PA OF CE DIST 1000 FROM PL OF PREV
Will make a spool between two piping components of 1000mm
Nb.Works for piping components
032.How to rotate CE around some axis by some angle
ROTATE ABOUT axisName BY angleValue
Where axis_Name is name of axis and angleValue is angle
Example
ROTATE ABOUT U BY 90
Will rotate CE about U by 90 degree
033.How to create element of given type
NEW ElementType
Example
NEW ZONE
Nb.Newly created element must be created within right place of hierarchy
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
034.How to create element of given type as a copy of existing one
NEW ElementType COPY OtherElement
Where ElementType is type of new element and OtherElement is element which properties to be copied (name of refno)
Example
NEW ZONE COPY /AnotherZone
where /AnotherZone is a ZONE that should exist.
035.How to create element of given type as a copy of previous
NEW ElementType COPY PREV
Example
NEW EQUI COPY PREV
Nb.Previous element and newly created must be the same type
036.How to savework
SAVEWORK
037.How to getwork
GETWORK
038.How to claim CE and its hierarchy
CLAIM CE HIER
039.How to lock CE and its hierarchy
LOCK ALL
040.How to unlock CE and its hierarchy
UNLOCK ALL
041.How to quickly switch on insulation representation to 50%
REPRE INSU ON TRANSL 50
REPRE UPDATE
042.How to quickly switch off insulation representation
REPRE INSU OFF
REPRE UPDATE
043.How to quickly switch on obstruction representation to 30%
REPRE OBST ON TRANSL 30
REPRE UPDATE
044.How to quickly switch off obstruction representation
REPRE OBST OFF
REPRE UPDATE
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
045.How to quickly switch on holes drawn
REPRE HOLES ON
REPRE UPDATE
046.How to quickly switch off holes drawn
REPRE HOLES OFF
REPRE UPDATE
047.How to position primitive by moving its p-point
POS Pn OF CE AT coordinates
Where n is p-point number and coordinates is new coordinated
Example
POS P1 OF CE AT N1000 E1000 U100
Will position P1 of CE to given coordinates
048.How to query piping components arrive p-point connection
Q PA CONN
049.How to query piping components leave p-point connection
Q PL CONN
050.How to query piping components arrive bore
Q PA BORE
051.How to query piping components leave bore
Q PL BORE
052.How to query general data about p-point with some number
Q Pn
Where n is a number of p-point
Example
Q P1
053How to add CE to the screen and make auto limits for CE
ADD CE AUTO CE
054.How to query a list of possible descendants of CE
Q LIST
055.How to connect branchs head to first member
CONN PH TO FIRST MEM
056.How to connect branchs tail to last member
CONN PT TO LAST MEM
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
057.How to query general information about mouse-chosen p-point
Q IDP@
058.How to connect one primitive by its p-point to numbered p-point of another mouse-
chosen
CONN Pn OF CE TO Pn OF ID@
Where n is a number of p-point
Example
CONN P1 OF CE TO P2 OF ID@
Will connect P1 of CE to P2 of mouse-chosen element
059.How to navigate to the owner of CE - move one level up in hierarchy
OWNER
060.How to navigate to previous element regarding CE
PREV
Nb.if there is no PREV element i.e CE is the first element then there is error appears
061.How to navigate to next element regarding CE
NEXT
Nb.if there is no NEXT element i.e CE is the last element then there is error appears
062.How to navigate on element with known name
/ElementName
Nb.Element with /ElementName must exists otherwise system will give an error
063.How to navigate to the last member within current hierarchy
LAST MEM
064.How to navigate to the first member within current hierarchy
FIRST MEM
065.How to navigate to the first member of named element
FIRST MEM OF /ElementName
Nb.Element with /ElementName must exists and has at least one member otherwise system will give an error
066.How to navigate to element name of which is written in reference attribute of CE
GOTO CEReferenceAttribute
Where CEReferenceAttribute is a name of attribute that contain a reference
Example
GOTO CREF
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
067.How to get total number of members of CE
Q MCOUNT
068.How to query list of UDA attributes of CE
Q UDALIS
069.How to query list of set UDA of CE
Q UDASET
Nb.Set UDA means UDA that have a value that different from unset or default
070.How to set value to design parameter of specified number
DESP NUMn Value
Where n is number of DESP, Value is a value
Example
DESP NUM3 1000
Will set value 1000 to design parameter number 3
071.How to copy attributes to CE from another element
COPY /ElementName
Where /ElementName is element that must exists and be the same type as CE
072.How to unname element
UNNAME
Nb.The reference number will still remain
073.How to query possible owner types for CE
Q OLIST
074.How to reorder one element before another in same hierarchy
REORDER n BEFORE m
Where n is sequence number of the element to be moved and m is sequence number of element regarding which
movement to be done
Example
REORDER 3 BEFORE 1
Will move element with sequence number 3 before element with sequence number 1
075.How to reorder one element after another in same hierarchy
REORDER n AFTER m
Where n is sequence number of the element to be moved and m is sequence number of element regarding which
movement to be done
Example
REORDER 3 AFTER 1
Will move element with sequence number 3 after element with sequence number 1
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
076.How to include element from other place of hierarchy into current place
INCLUDE /ElementName
Where /ElementName is element that must exists
Nb.Type of included element must match with list of available type for this hierarchy i.e PIPE cannot be included into branch hierarchy
but into zone hierarchy
077.How to query elements claimed by other users from same database
Q CLAIMLIST OTHER
078.How to query element which are claimed by you
Q CLAIMLIST
079.How to add element into group
GADD /ElementName1 /ElementName2
Nb.Elements with names /ElementName1 and /ElementName2 must exists. Group element (GPSET) should be CE.
080.How to remove element from the group
GREMOVE /ElementName1
Nb.Element with name /ElementName1 must be in group. Group element (GPSET) should be CE.
081.How to find closest element of given type in some direction
Q CLOSEST ElementType dir
Where ElementType is type of element to be searched and dir is direction of searching
Example
Q CLOSEST ELBO UP
Will try to find ELBO in U direction
Nb.Works only for items who have position. Directions are NORTH, SOUTH, UP, DOWN, EAST, WEST. It also possible to use selection
criteria using WITH
082.How to list all elements of given type within ce
Q ALL ElementType FOR CE
Where ElementType is type of element to be searched
Example
Q ALL VALV FOR CE
Will list all valves within CE hierarchy
083.How to list all elements where part of name matched to some value
Q ALL ElementType WITH ( MATCHWILD(NAME, '*value* ') ) FOR CE
Where ElementType is type of element to be searched and value is a string to be searched within Name attrbiute
Example
Q ALL EQUI WITH ( MATCHWILD(NAME, '*E1*') ) FOR CE
Will list all EQUI where part of Name is E1
084.How to query user who has done last modification of CE
Q USERM
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
085.How to query date of last modification of CE
Q LASTM
086.How to display changes since some date
DIFFERENCE SINCE date
Where date is a date for comparison
Example
DIFFERENCE SINCE 12 October 2012
Will display all changes since given date
087.How to try to create an element with given name but if exists then navigate on it
NEW LOCATE ElementType /ElementName
Where ElementType is a type of element to be created
Example
NEW LOCATE EQUI /EquiName
Will try first to create EQUI with given name and if exists already then navigate on it
088.How to query project status
SYSTAT
089.How to query CEs database name
Q DBNAME
090.How to output information about last several sessions
Q SESSION LAST n
Where n is a number of sessions
Example
Q SESSION LAST 5
Will output info about last 5 sessions
091.How to set temporary point called PIN for further actions
PIN n AT pos
Where n is a PIN number and pos is coordinate of this PIN
Example
PIN 1 AT E200 N2000 U100
Will place PIN number 1 at given coordinates
092.How to place PIN at some elements origin
PIN 3 AT /NamedItem
Will place PIN number 3 at the origin of element with name /NamedItem
093.How to construct aid line
AID LINE pos1 TO pos2
Where pos1 and pos2 are coordinates of start and end of the line
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
Example
AID LINE E0 N0 U0 TO E1000 N1000 U0
Will draw aid line between two given coordinates
094.How to construct aid text
AID TEXT SOME TEXT AT pos
Where pos is coordinates of text placement
Example
AID TEXT My Text AT E0 N0 U0
Will place text My Text at the given coordinates
095.How to add items within volume of CE plus some additional distance
ADD ALL WITHIN VOLUME CE dist
Where dist is an additional distance which will be added to the volume box of CE for searching
Example
ADD ALL WITHIN VOLUME CE 1500
Will add all items within volume of CE + 1500mm
096.How to add specific items within volume of CE plus some additional distance
ADD ALL type WITHIN VOLUME CE dist
Where type is type of element for search within volume box of CE
Example
ADD ALL BRAN WITHIN VOLUME CE 1500
Will add all branches found within volume of CE + 1500mm
097.How to set dynamic rule
RULE SET attribute DYNAM ( rule_condition )
Where attribute is attribute of CE which should behave regarding rule_condition
Example
RULE SET POS DYNAM (E2000 FROM /NamedItem )
Will set dependence of CE East position on /NamedItem so if /NamedItem will change its position
then CE will do the same automatically and Easting distance between them will be always 2000
098.How to name item
NAME /NewName
099.How to find distance between two PINs
Q CONST DIST PIN n TO PIN m
Where n and m are PIN numbers.
Example
Q CONST DIST PIN1 to PIN3
Will query distance between PIN number 1 and PIN number 3
100.How to remove PINs
PIN n OFF
Where n is a PIN number.
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
Example
PIN 1 OFF
Will remove PIN 1
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev
Exercise 1
How to create equipment, create two identical cylinders with diameter 200 and height 1000 inside
equipment, connect one cylinder to another with P1 to P2, change diameter of second cylinder to
500 and move whole equipment along north by 1000
Create equipment (you must be at least on ZONE level)
NEW EQUI
Create first cylinder
NEW CYLI
Set diameter
DIAM 200
Set height
HEIG 1000
Create a new cylinder (it becomes CE after creation)
NEW CYLI
Copy attributes from previous
COPY PREV
Back to first cylinder
PREV
Connect P1 of current cylinder to P2 of next cylinder
CONN P1 OF CE TO P2 OF NEXT
Navigate to second cylinder having in mind that now CE is a first cylinder
NEXT
Change its diameter
DIAM 500
Navigate to equipment having in mind that equi is an owner for cylinders and one of them is CE
OWNER
Move along North axes
BY N1000
Exercise 2
Create a copy of the picked equipment (say it is named as /EQUI1)
NEW EQUI COPY ID EQUI @
(pick /EQUI1)
Move the copy by 2000mm along the East axis
BY E 2000
Rename the copy
NAME /EQUI2
Set dynamic rule for distance between equipments equal to 2000mm along the East axis
RULE SET POS DYNAM (E2000 FROM /EQUI1 )
Navigate to /EQUI1 just typing its name
/EQUI1
Move /EQUI1 by 1000mm along the East axis
BY E 1000
Create Pin for /EQUI1
PIN 1 AT POS OF /EQUI1
Create another Pin for /EQUI2
PIN 2 AT POS OF /EQUI2
Check the rule measure distance between Pins
Q CONST DIST PIN 2 TO PIN 1
(result in the Command Window should be 2000mm)
AVEVA PDMS/E3D/Marine
100s Chosen Tips
Author: Sergey Lebedev