Attribute text table

Top  Previous  Next

Zweck der Attributtext-Darstellung

Die Attributtext-Darstellung verhindert die Mehrfachhaltung der Attributwerte in Form von Texten. Sie erleichtert somit deren Nachführung und bringt zugleich eine Verbesserung der Datenkonsistenz.

 

Allgemeines

Die Attributtext-Tabellen enthalten die Angaben für die Darstellung der Attribute beim Zeichnen am Bildschirm und auf dem Plotter. Die Interpretation der Tabelle geschieht über die Kombination von Objektschlüssel und Drawingkey des Attributtext-Elementes.

 

Mit ihren lokalen Textparametern erzwingt die Tabelle eine selektierte, formatierte und in der Reihenfolge festgelegte Darstellung der Attribute.

 

Mit der Tabelle lässt sich aber auch eine Darstellung einzelner, oder aller Attribute von festgelegten Schluessel-Drawingkey-Kombinationen verhindern.

 

Für Attributwerte die in der Tabelle Deklariert sind, aber noch nicht erfasst wurden, wird bei der formatierten Ausgabe Platz freigehalten.

 

Attributwerte, die erfasst wurden, in der Tabelle aber nicht deklariert sind, werden ignoriert.

 

Ist keine Attributtext Tabelle geladen, oder eine Schluessel-Drawingkey- Kombination in einer geladenen Tabelle nicht vorhanden, so werden die Attribute, die beim Erzeugen des Attributtext-Elements definiert wurden, in der Standardform dargestellt. Die Standardform präsentiert alle Attributwerte auf einer Linie, getrennt durch je ein Leerzeichen.

 

Syntax

Die Felder stehen nacheinander in jeweils einer Zeile der Datei. Wird der Parameter KEY und IND ausgelassen, so handelt es sich um eine Fortführungszeile für dasselbe Objekt.

 

KEY N

KEY ist identisch mit dem Schlüssel des Objektes, das die Attributtext-Elemente enthält.

Wertebereich : [1 .. 32767].

 

IND N

IND entspricht dem Drawingkey DKY des Attributtext-Elements.

Wertebereich : [1 .. 255].

 

Die Kombination KEY und DKY des Attributtext-Elementes identifizieren den Tabelleneintrag.

 

LBL C

Identifikation des darzustellenden Attributes.

Wertebereich : 3 Zeichen aus [" ", $, ., 0-9, A-Z]

 

Der Label LBL muss zwischen '' oder "" stehen. Eine leeres Attributlabel ' ' oder " " schließt eine Darstellung aller Attributwerte für diese KEY-IND- Kombination aus.

 

DKY N

Lokaler Drawinkey, (übersteuert den DKY des Attributtext-Elementes, nicht aber den DKA).

Wertebereich : [1 .. 255]

 

Die Darstellung des Attributwertes am Bildschirm und Plotter hängt davon ab, ob und wie der lokale DKY in der DLT-Tabelle oder Signatur-Tabelle definiert wurde.

 

TXI N

Lokale Textgröße

Wertebereich : [1 .. 32'700]

 

TXM N

Lokaler Textmodus (Textart)

Wertebereich : [1 .. 9]

 

TXL N

Zeilenattribut

Wertebereich : [-32 .. -1, 1 .. 32]

 

wobei : - = neue Zeile

N = Position des ersten Zeichens des Attributwertes (steuert die Leerzeichen zwischen den Attributwerten)

 

TXS N

Abstand zwischen den Zeilen (nur bei negativem TXL aktiviert).

Wertebereich : [1 .. 32700]

 

TXP N

Lokale Textposition im definierten Feld

 

1nn = linksbündig /

2nn = zentriert > im Feld mit der Länge von

3nn = rechtsbündig \ nn Zeichen

 

Wertebereich für nn : [0 .. 32]

 

Bei einer Feldlänge von 0 findet keine Formatierung statt und der Abstand zum vorangegangenen Attributwert wird allein durch den TXL-Parameter bestimmt.

Sind die Attributwerte Länger als das reservierte Feld, so werden diese Texte trotzdem in voller Länge dargestellt. Die geplante Formatierung allfälliger Textblöcke geht dadurch jedoch verloren.

 

Die Länge der Felder wird mit Hilfe der globalen Texthöhe (wie sie bei der Erfassung des Attributtextes angegeben wurde) berechnet. Es ist deshalb ratsam diese der größten lokalen Texthöhe anzupassen.

 

TXC N

Anzahl der Zeichen, die am Anfang oder am Ende des Attributwertes unterdrückt werden. Wobei bei negativem Wert die ersten N Zeichen und bei positivem Wert, die letzten N Zeichen unterdrückt werden.

Wertebereich : [-32 .. 32]

 

FIX1

 

FIX2

 

FIX3

 

FIX4

 

FIX5

 

In diesen maximal 5 Blöcken werden weitere Definitionen untergebracht, die über das erste Zeichen identifiziert werden. Die weiteren Informationen <text> und <count> werden ohne Leerzeichen an das Startzeichen geschrieben. Der gesamte Ausdruck wird in ‚’ geklammert ('+m’ hängt ein m an die Ausgabe an). Die Reihenfolge ist beliebig.

 

'- <text> '

Vor die Ausgabe wird <text> als fester Wert geschrieben.

 

'+ <text> '

Nach der Ausgabe wird <text> als fester Wert angehängt.

 

'F <text> '

Es wird der Text <text> des F-Satzes im Inhalt des Attrributs durch den Text aus dem S-Satz ersetzt

 

'S <text> '

Es wird der Text <text> des F-Satzes im Inhalt des Attrributs durch den Text aus dem S-Satz ersetzt

 

'L <count> '

Es werden <count> Zeichen des Attributinhaltes übriggelassen, der Rest wird unterdrückt. Bei negativem Wert werden die Zeichen vom Textanfang übriggelassen, bei positivem Wert die Zeichen vom Textende. Die Funktion ist ähnlich zum Parameter TXC.

 

Beispiel:

!

!KEY IND LBL DKY TXI TXM TXL TXS TXP TXC FIX1 2 3 4 5

!

!-------------------------------------------------

! 110kV Kabel

!-------------------------------------------------

!

5120 61 'EBN' 61 500 1 1 500 101 0 FKV SMW

'QUE' 61 500 1 1 500 101 0

'MAT' 61 500 1 -1 500 101 1

'BJR' 61 500 1 -1 500 101 -1 -( +)

'LAE' 61 500 1 -1 500 101 0 L-2

'ZUS' 61 500 1 -1 500 101 0

!

 

--------------------OLD_TEXT---------------------

Purpose of the attribute text representation

The attribute text representation prevents the multiple position of the attribute values in the form of texts. She makes easier therefore their postguidance and brings at the same time an improvement of the data consistency.

 

Universal

The attribute text tables contain the information for the representation of the attributes with the drawing on the screen and on the plotter. The interpretation of the table happens about the combination of object key and Drawingkey of the attribute text element.

 

With her local text parametres the table selected, formatted and in the order forces agreed representation of the attributes.

 

However, with the table a representation of single, or all attributes can be also prevented by agreed Schluessel Drawingkey combinations.

 

For attribute values in the table Declared are, but yet were not grasped, place is kept on the formatted issue.

 

The attribute values which were grasped in the table, however, are not declared, are ignored.

 

If no attribute text table is loaded, or a Schluessel Drawingkey combination in a loaded table not available, the attributes which were defined while generating the attribute text element, in the standard form are shown. The standard form presents all attribute values on a line, separate by a blank.

 

Syntax

The fields stand successively in a line in each case of the file. If the parametre KEY and IND is let out, it concerns a continuation line for the same object.

 

N KEY

KEY is identical with the key of the object which contains the attribute text elements.

Value area: [1. 32767].

 

N IND

IND corresponds to the Drawingkey DKY of the attribute text element.

Value area: [1. 255].

 

The combination KEY and DKY of the attribute text element identify the table entry.

 

C LBL

Identification of the attribute to be shown.

Value area: 3 signs from [""$., 0-9, A-Z]

 

The label LBL''"" must or stand between''"". An empty attribute label'' or"" excludes a representation of all attribute values of this KEY IND combination.

 

N DKY

Local Drawinkey, (oversteers the DKY of the attribute text element, but not the DKA).

Value area: [1. 255]

 

The representation of the attribute value on the screen and plotter depends on whether and how the local DKY was defined in the DLT table or signature table.

 

N TXI

Local text size

Value area: [1. 32'700]

 

N TXM

Local text mode (text kind)

Value area: [1. 9]

 

N TXL

Line attribute

Value area: [-32.-1, 1. 32]

 

and: - = new line

N = Position of the first sign of the attribute value (steers the blanks between the attribute values)

 

N TXS

Distance between the lines (only with negative TXL activated).

Value area: [1. 32700]

 

N TXP

Local text position in the defined field

 

1nn = flush left /

2nn = centres> in the field with the length from

3nn = flush right \nn sign

 

Value area for nn: [0. 32]

 

With a field length of 0 no formatting takes place and the distance to the preceding attribute value is determined only by the TXL parametre.

If the attribute values are longer than the aloof field, these texts are shown, nevertheless, in full length. Nevertheless, the planned formatting of possible text blocks gets thereby lost.

 

The length of the fields becomes with the help of the global text height (as it was given with the capture of the attribute text) calculatedly. Therefore, this of the biggest local text height is to be adapted advisable.

 

N TXC

Number of the signs which are suppressed at the beginning or at the end of the attribute value And with negative value the first N sign and with positive value, the last N sign are suppressed.

Value area: [-32. 32]

 

FIX1

 

FIX2

 

FIX3

 

FIX4

 

FIX5

 

In these maximum 5 blocks the other definitions which are identified about the first sign are accommodated. The further information <text> and <count> is written without blank to the start sign. The whole expression becomes in‚’ clipped ('+m' 1 m clings to the issue). The order is any.

 

'- <text >'

Before the issue <>it is written text> as a firm value.

 

'+ <text >'

After the issue <>it is suspended text> as a firm value.

 

'And the following <text >'

The text <text of> the fa sentence is substituted in the contents of the Attrributs with the text from the S. sentence

 

'See <text >'

The text <text of> the fa sentence is substituted in the contents of the Attrributs with the text from the S. sentence

 

'L <count >'

It <>are left count> sign of the attribute contents, the rest is suppressed. With negative value the signs are left from the text beginning, with positive value the signs by the writing. The function is similar to the parametre TXC.

 

Example:

!

! KEY IND LBL DKY TXI TXM TXL TXS TXP TXC FIX1 2 3 4 5

!

!-------------------------------------------------

! 110 kV of cable

!-------------------------------------------------

!

IN 5120, 61 'EBN' 61 500 1 1 500 101 0 FKV SMW

'QUE' 61 500 1 1 500 101 0

'MAT' 61 500 1-1 500 101 1

'BJR' 61 500 1-1 500 101-1 - (+)

'LAE' 61 500 1-1 500 101 0 L-2

'ZUS' 61 500 1-1 500 101 0

!