Read Routines, D3Rxxx
- Last UpdatedJan 05, 2024
- 3 minute read
D3RPRJ - Read Project Data Item
This routine retrieves project code, name, number, description or message from the System Database.
D3RTYP - Read the Marine Type of the Current Element
This routine reads the Marine 'type' attribute of the current element.
D3RPRL - Read the Position of the Current Element
This routine reads the position of the current element relative to a specified co-ordinate system.
D3RORL - Read the Orientation of the Current Element
This routine reads the orientation of the current element relative to a specified co-ordinate system.
D3RNAM - Read Element Name or a Name Attribute
This routine reads the name of the current element or the name of a reference attribute of the current element. It returns a reference number if the requested name does not exist.
D3RREF - Read Element Reference Number or a Reference Number Attribute
This routine reads the reference number of the current element or of a reference attribute of the current element.
D3RINT - Read an Integer Attribute
This routine reads a specified integer attribute of the current element.
D3RIA - Read an Integer Array Attribute
This routine reads a specified integer array attribute of the current element.
D3RREA - Read a Real Attribute
This routine reads a specified real attribute of the current element.
D3RRA - Read a Real Array Attribute
This routine reads a specified real array attribute of the current element.
D3RLOG - Read a Logical Attribute
This routine reads a specified logical attribute of the current element.
D3RLA - Read a Logical Array Attribute
This routine reads a specified logical array attribute of the current element.
D3RRFA - Read a Reference Number Array Attribute
This routine reads a specified reference number array attribute of the current element.
D3RTEX - Read a Text Attribute
This routine reads a specified text attribute of the current element.
D3RWOR - Read a Word Attribute
This routine reads a specified Marine word attribute of the current element.
D3RWA - Read a Word Array Attribute
This routine reads a specified Marine word array attribute of the current element.
D3RPAT - Read PPOINT Attributes
This routine reads the PPoint attributes (position, direction, connection type and bore) for a piping component or equipment primitive, relative to a specified co-ordinate system.
The specified PPoint may be PH, PT, PA, PL, or P<n> (that means, P1, P2 )
D3RUDA - Read Lists of UDA Names, Abbreviations and Types
This routine reads, for a specified element type, parallel lists of UDA names, lengths of minimum valid abbreviations and attribute types.
D3RUNI - Read Unit of Measurement for a Real or Integer UDA
This routine returns a text string indicating the UNIT (of measurement) which applies to the specified UDA. Only real or integer attributes may have a UNIT specified. This routine will generally be used in conjunction with the attribute retrieval routines (D3RINT, D3RIA, D3RREA and D3RRA).
D3RPTX - Read REPORTER Text for a UDA
This routine reads the REPORTER text for a given UDA. REPORTER text may be up to 20 characters long and is used in column headers by the Marine module REPORTER.
D3RDAT - Read Latest MDB Date-Stamp
This routine returns the latest date-stamp for any database in the mdb system.
D3RBDU - Read Bore and Distance Units
This routine returns the bore and distance units defined for the current MDB. It returns two character strings containing the linear units.
D3RBOX - Read Enclosing Box Co-ordinates
This routine reads the co-ordinates of the surrounding box for the current element or its leave tube. This is valid for any database element and is equivalent to the CLASHER command 'QUERY BOX'.