Professional Documents
Culture Documents
Example
FILE /c:\temp\ceDataListing.txt OVER OUTPUT CE FILE END
Will output CE as dblisting to given file. File will be overwritten
Nb. if item is not significant then its owning significant item will be added completely
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
Example
ENHANCE CE COLOUR RED
Will colorize CE with red colour
Example
ENHANCE CE TRANSLUCENCY 50
Will make CE translucent for 50%
Example
BY N1000
Will move CE by North at 1000mm
Nb.CE will be moved completely with its contents, which will get new coordinates (Position attribute changes), and WRT coordinates of
owner
NB.CE will change its position together with all contents respectively, which will get new coordinates (Position attribute changes)
Example
DELETE ELBO
Will delete CE if it is ELBO
Example:
DELETE ZONE MEMBERS
Will delete members of CE ZONE
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
Example
DESC ‘Pump’
Example
AREA 4
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
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 @
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
Example
ROTATE ABOUT U BY 90
Will rotate CE about U by 90 degree
Example
NEW ZONE
Example
NEW ZONE COPY /AnotherZone
where /AnotherZone is a ZONE that should exist.
Example
NEW EQUI COPY PREV
036.How to savework
SAVEWORK
037.How to getwork
GETWORK
Example
POS P1 OF CE AT N1000 E1000 U100
Will position P1 of CE to given coordinates
Example
Q P1
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
Nb.if there is no PREV element i.e CE is the first element then there is error appears
Nb.if there is no NEXT element i.e CE is the last element then there is error appears
Nb.Element with /ElementName must exists otherwise system will give an error
Nb.Element with /ElementName must exists and has at least one member otherwise system will give an error
Example
GOTO CREF
Nb.Set UDA means UDA that have a value that different from unset or default
Example
DESP NUM3 1000
Will set value 1000 to design parameter number 3
Example
REORDER 3 BEFORE 1
Will move element with sequence number 3 before element with sequence number 1
Example
REORDER 3 AFTER 1
Will move element with sequence number 3 after element with sequence number 1
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
Nb.Elements with names /ElementName1 and /ElementName2 must exists. Group element (GPSET) should be CE.
Nb.Element with name /ElementName1 must be in group. Group element (GPSET) should be CE.
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
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
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
Example
Q SESSION LAST 5
Will output info about last 5 sessions
Example
PIN 1 AT E200 N2000 U100
Will place PIN number 1 at given coordinates
Example
AID TEXT ‘My Text’ AT E0 N0 U0
Will place text ‘My Text’ at the given coordinates
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
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
Example
Q CONST DIST PIN1 to PIN3
Will query distance between PIN number 1 and PIN number 3
Example
PIN 1 OFF
Will remove PIN 1
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)