Makro to print a numeric value by a vectorial font. This allows text output, while modifying the object by moveable hotspots.
This object can not be placed in a project file. It is for programmers usage only!
Makro call out of a 2D script:
CALL "Vektorzahlen.gdl" x,y,0, angle, 0,0, value,digits, width,height,ancor,middle, rotation,context
Makro call out of a 3D script:
CALL "Vektorzahlen.gdl" x,y,z, angle, plane,inclination, value,digits, width,height,ancor,middle, rotation,context
Meaning of the parameters in the needed order to attach:
x,y,z: textposition x,y,z
angle: rotation of the text around the ancor in the text plane
plane: text is part of the XY- (=1), XZ- (=2), YZ- (=3) plane (negative values mirror the text) (3D only)
inclinaion: Inclination of this plane around the ground line through the ancor. (3D only)
value: value to print
digits: fractional digits
width: char width
height: char height
ancor: ancor point (1-9) used as in DEFINE STYLE-commands
middle: factor for secondary font height (middle height) (used by 1 4 3 5 + ,)
rotation: rotation for readability (1=yes, 2=auto)
context: context is 2D (1) or 3D (2) or automatic (0). Negative values produce cordinate axis at the ancor, if the macro "Koordinatenkreuz.GSM" is part of the library.
Makro, das numerische Werte mit einem Vektorzeichensatz ausgibt. Damit sind Textausgaben während der Bewegung mit graphischen Fangpunkten möglich.
Dieses Objekt kann nicht in einem Projekt eingesetzt werden. Es ist nur für die GDL Programmierung verwendbar.
Der Aufruf des Objektes aus einem Skript für 2D:
CALL "Vektorzahlen.gdl" x,y,0, winkel, 0,0, zahl,nach, breit,hoch,anker,mitte, drehung,kontext
Der Aufruf des Objektes aus einem Skript für 3D:
CALL "Vektorzahlen.gdl" x,y,z, winkel, ebene,neigung, zahl,nach, breit,hoch,anker,mitte, drehung,kontext
Die Bedeutung der Variablen in der Reihenfolge ihrer Eingabe:
x,y,z: Verschiebung x,y,z
winkel: Rotation in der Schriftebene um den Ankerpunkt
ebene: Schrift liegt in XY- (=1), XZ- (=2), YZ- (=3) Ebene (neg. ist gespiegelt) (nur für 3D)
neigung: Neigung dieser Ebene um Grundlinie im Anker. (nur für 3D)
zahl: Ausgabewert
nach: Nachkommastellen
breit: Breite Schrift
hoch: Höhe Schrift
anker: Ankerpunkt (1-9) wie bei normalen Schriftdefinitionen
mitte: Faktor für sekundäre Schrifthöhe (bei 1 4 3 5 + ,)
drehung: Drehung zur Lesbarkeit (1=ja, 2=auto)
kontext: Kontext 2D (1) oder 3D (2) oder automatisch (0). Negative Werte erzeugen Koordinatenkreuz an Anker, wenn das Makro "Koordinatenkreuz.GSM" in der Bibliothek geladen ist.