The Head or Tail Connection Reference Attribute
- Last UpdatedFeb 19, 2025
- 1 minute read
Keywords
HREF TREF
Description
These attributes hold the name of the element to which the Branch or Hanger is connected. They are usually set automatically as a result of a CONNECT PH (or PT) command, but they may also be set explicitly. When they are set, the corresponding attribute (CREF, HREF or TREF) of the item connected to is reset so as to point back to the Branch or Hanger.
Examples |
|
|---|---|
|
TREF /PIPE2 HEAD |
Sets TREF of current element to point to Head of /PIPE2 and setsHREF of /PIPE2 to point back to the current element. |
|
HREF NULREF |
Unsets HREF; ´that means disconnects Head from any other element. |
Command Syntax
>--+-- HRef --.
| |
‘-- TRef --+-- <gid> --+-- HEAD --.
| | |
| |-- TAIL --|
| | |
| ‘----------+
| |
‘-- NULREF --------------+-->
Querying
>-- Query --+-- CE ------.
| |
|-- HEAd ----|
| |
|-- BRANch --|
| |
‘-- TAIl ----+-->
>-- Query --+-- HREF --.
| |
‘-- TREF --+-->