Model Reference Manual
How to Use the Syntax Graphs
:
Standard Syntax Graphs
: Design Element Identity <gid>
Design Element Identity <gid>
This syntax identifies a Design Element. The main syntax graph is <gid>, shown below. The sub-graphs follow.
.-------------------------------.
| |
<gid> >----+-- <nexid> ------------+-------|
| | |
|-- <snoun> -+----------| |
| | | |
| |- <next> -+- OF --’
| | |
| | ‘---------.
| | |
| ‘-- <id> ------------|
| |
|-- <othid> ----------------------|
| |
|-- <id> -------------------------|
| |
|-- <idsp> -----------------------|
| |
‘-- <clos> -----------------------+----->
Direct identification:
By reference to name/reference number <id>, hierarchy <othid>, or to a point selected from display <curid>:
<id> >--+-- name ---.
| |
‘-- refno --+-->
<othid> >--+-- CE ---------.
| |
|-- SAMe -------|
| |
|-- ELEMent ----|
| |
‘-- <curid> ----+-->
<curid> >-- IDentify --+-- <snoun> ---.
| |
|-- Tube ------|
| |
‘--------------+-- @ -->
Indirect identification:
By reference to other elements, parts of elements or adjacent members in the database hierarchy
< nexid> >-+- HEad ----.
| |
|- TAil ----|
| |
|- ILeave --|
| |
|- IArrive -+-- <tubid> ---.
| |
|-- <next> -- <snoun> -----|
| |
|-- OWNer -----------------|
| |
‘-- END -------------------+--->
<tubid> >-+-- TUBe--.
| |
‘-- ROD --+-->
<next> >-+-- LAst -----.
| |
|-- FIrst ----|
| |
|-- PREvious -|
| |
|-- NEXt -----+-- integer --.
| | |
| ‘-------------+-- MEMbers--.
| |
‘-- integer -----------------------------+-- OF ->
<idsp> >---- IDSP --- integer ->
Identification by physical position in the design model:
.----<----.
/ |
<clos> >- CLOSest -*- <snoun> -+- WITH <expr> -.
| |
‘---------------+- UP ----.
|- DOWN --|
|- EAST --|
|- WEST --|
|- NORTH -|
‘- SOUTH -+-.
.----------------------------<--------------------’
‘-+- EXTENT <expr> -.
| |
‘-----------------+- AFTER <expr> -.
| |
‘----------------+- FROM <bpos> -.
| |
‘---------------+->
WITH
specifies rule restricting choice of element (default is no restriction);
EXTENT
specifies how far to search before giving up (default is 10 metres);
AFTER
specifies that search is to start after given distance in given direction (default is zero);
FROM
specifies reference position from which search is initiated (default is CE).
Examples:
/EQUIP10
Named design Element
SAME
Previous Element accessed
OWN
Owner of Current Element
GOTO SPRE
Specification of Current (piping) Element
NEXT 2
Second Next Element at same level
4
Fourth Member of Current Element
LAST 3 MEM
Third Last Member of Current Element
END
Next element up in hierarchy
SITE
Site above Current Element
ZONE 3
Third Zone
NEXT 2 PIPE
Second Next Pipe
PREV BOX
FIRST ZONE OF /SITE 5
PIPE OF /VALV101
FIRST MEM OF BRAN3 OF /PIPE10
HEAD OF FIRST BRAN
CLOSEST VALV EAST
Closest valve to current element in East direction in design model (note that syntax accepts only cardinal directions, which must be entered in full)
CLOS VALV NORTH FROM E100 N200 U300
Closest valve in North direction starting from given position (valves found before this position are ignored)
HSTIFF idsp 6003 of HPANEL /ER2-LP32_2
The HSTIFF with a IDSPU attribute of value 6003.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.