DE EN OpenLibraryGlobals.GSM

Informations / Information

Status of developing:
stable

Actual version:
0.62 - 13.12.2013

Language:
German, English

Licensing:
freeware

Environment:
ArchiCAD (13)/14+

Target group:
Users, GDL developers

Author(s):
Frank Beister

Documents / Dokumente

 TitleModified DateSizeDescription Clicks
OpenLibraryGlobals.lcf4/15/201739.93 KBZIP-Archiv Bibliothekencontainer/LibraryContainerDownload2842
Wanddurchbruch.PDF6/1/2010807.40 KBDokumentation zur prinzipiellen Wirksamkeit der globalen Einstellungen. Vollständige Matrix.Download6470
Windows materials.lcf3/20/20132.92 KBContainer file for window object modification. And adding new materials.Download4758
Allgemeinlicht 13 pro5/10/20106.18 KBModifiziertes Lichtobjekt. Original (c) GraphisoftDownload5098
Wanddurchbruch 13 plus5/10/20108.41 KBModifizierte Version des Wanddurchbruchs 13. (c) GraphisoftDownload5555

Description / Beschreibung

This object creates a new section in the model settings of a project. All values set and stored in each project view are available for objects, which are made to use these gloabl settings. The object offers in a well known user interface global settings for different object types.

The unmodified object can be bundled with an shipped with own GDL projects.

News + History

Version 0.64

Added level of detail parameter for facade objects.
 

Door/Window parameter

Parameter to set door/window marker text size. Parameter to toggle door handles on/off. 

visible stair labels

Parameter to show text in stair objects. 

Parameter for markers and stairs

Changed UI pages. Stairs and Markers added, Layouts removed. Added parameters for marker type, size and pen. Parameter for text rotation in stair labels. 

Parameter for zone stamp

Switch to display detailed zone stamp informations. In the moment 1 and 0 only. 

Version 0.56

OLG version now requestable: "OLG_version".
Added parameter to adjust visibility of window bars differentiated by floor plan, s/e and 3D. 

Uploaded v0.55

Finished project data folder path. Ready for ArchiCAD 17. Request of string arrays does now work with AC 17+ 

Version 0.55 beta

Added two additional window materials. Changed UI to make path to project-info-XML the main path to project data folder. Not finished 

Published version 0.53.

Integrated supply of autotext content done. The text is inserted manualy or linked to a XML file (export of project info). Examples see below 

v0.50 Fontnames

Added reading and selecting fontnames to create tiny MVO and project based fontname lists. Deaktivated, because LIBRARYGLOBAL isn't able o rquest arrays. :( 

Version 0.51 - internal

Added import of project-info-XML-file to make autotext content available in GDL. Ran into trouble with opening not existing folder with file-i/o addon. Fixing pending. Import works quiet well. Array limitation for custom values as well as by font names. 

Version 0.49

Fixed some translation caused errors. 

Object label text

Parameter to switch on/off labeling text in plain objects. 

Breakthroughs

Added a separate switch to turn on/off Text of breakthroughs. [Does not work with the modified GS-Breakthrough object yet.] 

Update

Updated version 0.45. Fix in FT marker checkbox settings. 

Door markers

Marker settings for door markers added. Preparation for customized door and window marker. 

Documentaion of breaktrogh

Complete documentation of the modified opening in relation to the original GS object. All combination of projected and symbolic walls and openings in floor plan and elevation. 

Version 0.42 austria text and wall breakthrough buttons

Added some country specific text for austria. Added 2 parameters for showing wall breakthroughs and niches. 

Version 0.40

Added settings for list headers. Added some graphics. 

Version 0.35

Listen erweitert/sortiert. Parameter für Fenster, Fenstermarker + Leuchten eingefügt. 

Release 0.31

Übersetzung ins Englische und Vorbereitung der österreichischen und schweizerischen Version. Erzeugen einer Containerversion. 

GDL für eigene Objekte / GDL for own objects

Choose the setting parameter you want to request and add the following lines to the GDL script of your object:

Language settings / Spracheinstellung

Example to request language settings of MVO:


!»» Sprache / Language
! (1:Germany, 2:Austria, 3:Switzerland, 4:Great Britain, 5:USA, 6:Australia, 7:France)
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_language", sprache)

IF stsOLG>0 THEN
  TEXT2 00"Language setting: " + STR(sprache,1,0)
  ELSE
  PRINT "This MVO setting is not available.\nDiese Modelleinstellung ist nicht verfügbar."
  ENDIF

Context / Kontext

!»» Context
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_current_context", OLG_val)
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_current_context_TXT", OLG_valT)
IF stsOLG>0 THEN TEXT2 00"Context: " + OLG_valT

Plantype / Planart

!»» Plantype
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_plantype", OLG_val)
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_plantype_TXT", OLG_valT)
IF stsOLG>0 THEN TEXT2 00"Plan type: " + OLG_valT

Solid +empty fill / Feste + Leere Schraffur

Example to request basic fill types:


!»» Request FILL types

stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_fill_solid", solidFILL)
IF solidFILL>0 THEN FILL solidFILL

stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_fill_empty", emptyFILL)
IF emptyFILL>0 THEN FILL emptyFILL

Window materials by MVO

What you have to do making windows react on global material settings:

Download the "window material.lcf" in document section and add it to your project library. The file contains two invisible macro objects. One to create 6 new materials and a second to make window object modification easier.

First of all: This method is a little trick. Some special named materials are added to your project. This is done by the lcf above automaticly. Afterwards you have to modify this window objects, you want to use. By embedding a tiny script they will filter these selected materials for its components (like sash, frame, sill) and will substitute it by the materials currently set in the MVO settings.

Open the window object file (shift-cmd-O) you want to modify and add the following lines at the beginning of the master skript. Afterwards save the object as a new object with new name into your embedded, office or project library you have loaded to your project. You could overwrite the original objects too, but this should only do experienced or courageous users. The modification does not do anything with the original object, if you are not using the special materials.


! =============================================================================
! Substitute "OLG window materials" by global MVO settings

! with OpenLibraryGlobals object. Download from here:
! http://www.opengdl.org/Default.aspx?tabid=4750
! =============================================================================

IF GLOB_CONTEXT=3 OR GLOB_CONTEXT=4 OR GLOB_CONTEXT=6 OR GLOB_CONTEXT>40 THEN
    CALL "OLG replace materials.gsm",
        PARAMETERS gs_sash_mat=gs_sash_mat, gs_sash_mat2=gs_sash_mat2,
            gs_frame_mat=gs_frame_mat, gs_frame_mat2=gs_frame_mat2,
            gs_glass_mat=gs_glass_mat, 
            gs_panes_mat=gs_panes_mat, gs_panes_mat2=gs_panes_mat2, 
            gs_sill_mat=gs_sill_mat, gs_board_mat=gs_board_mat,
        RETURNED_PARAMETERS gs_sash_mat, gs_sash_mat2,
            gs_frame_mat, gs_frame_mat2,
            gs_glass_mat, 
            gs_panes_mat, gs_panes_mat2, 
            gs_sill_mat, gs_board_mat
    ENDIF

Global light switch / Globaler Lichtschalter

Special setting for lamp objects:


!»»» Parameterliste:
!   OLG_light, type integer


!»»» Master script:

IF OLG_light>2 THEN
  stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_lght2", OLG_val)
  ELSE
  stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_lght1", OLG_val)
  ENDIF
IF (OLG_light=1 OR OLG_light=3AND stsOLG>0 THEN C = OLG_val
IF (OLG_light=2 OR OLG_light=4AND stsOLG>0 THEN C = OLG_val AND C


!»»» Parameter script:

VALUES "OLG_light" 0,1,2,3,4


!»»» Interface script:

IF stsOLG>0 THEN
  ui_infield{3"OLG_light"0,0,  8020,  ! X-, Y-Position, X-,Y-Size
    2"",  0,0,  0,0,0,0,  ! type, unused
    """wie Objekteinstellung",0,
    """Zentraler Schalter 1 (Modelleinstellungen)" ,1,
    """Zentraler Schalter 1 + Objektschalter (Modelleinstellungen)" ,2,
    """Zentraler Schalter 2 (Modelleinstellungen)" ,3,
    """Zentraler Schalter 2 + Objektschalter (Modelleinstellungen)" ,4  UI_TOOLTIP 'Auswahl des gültigen Schalters'
  ENDIF

Request font name list

OLG offers the option to select a smaller list of fontnames, which are usually used in your project. The following script requests this list and offers in a value list for your font name paramer "fontname".


 !»» Zeichensatzliste aus Modelleinstellungen
!»» Selected fontname list in MVO
DIM OLG_fontnames[]
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ef_fontnames", OLG_fontnames)
IF stsOLG>0 AND VARDIM1(OLG_fontnames)>0 THEN
    VALUES "Fontname" OLG_fontnames,CUSTOM
    ENDIF

Settings for break throughs / Einstellungen für Wanddurchbrüche

OLG has special settings for the visibility of break throughs. A simple break through object could base on this example:


!»»» Parameterlist:
!   OLG2D, type boolean, "Sichtbarkeit nach Modelleinstellung in 2D"
!   OLG3D, type boolean, "Sichtbarkeit nach Modelleinstellung in 3D"


!»»» 2D Script

tlr=0.001
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_breakthrough_2D", show2D)
IF stsOLG>0 and NOT(show2D) and OLG2D THEN
  WALLHOLE2 40,
    91,00,0,0,
    -tlr,0,0, tlr,0,00,tlr,0, -tlr,0,0
  END
  ELSE
  IF WIDO_REVEAL_SIDE THEN ADD2 0,WALL_THICKNESS-WIDO_SILL ELSE ADD2 0,WIDO_SILL
  WALLHOLE2 40,
    91,00,0,0,
    -A/2,0,0 , A/2,0,0A/2,-B,0, -A/2,-B,0
  IF AC_WallContours=1 or AC_WallContours=2 THEN
    WALLLINE2 -a/2,0, -a/2,-WALL_THICKNESS
    WALLLINE2  a/2,0,  a/2,-WALL_THICKNESS
    ENDIF
  DEL 1
  ENDIF


!»»» 3D Script

tlr=0.001
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_breakthrough_3D", show3D)
IF stsOLG>0 and NOT(show3D) and OLG3D THEN
  WALLHOLE 4,0+2, -tlr,0,0, tlr,0,00,tlr,0, -tlr,0,0
  END
  ENDIF


!»»» Interface script (bitmap is part of the OpenLibraryGlobals):

RM=244 : uiBH=30
ui_outfield "Darstellung in 2D:" 0,2+uiBH/2-8,100,16
ui_infield{3"OLG2D", RM-uiBH, 2,
    uiBH, uiBH,
    6"",  00,   uiBH,uiBH,25,25,
    "globe.tif""Aus",0,
    "globe.tif""An" ,1  UI_TOOLTIP '2D-Darstellung gemäße Einstellugen in OpenLibraryGlobals in der "Modelldarstellung"'

ui_outfield "Darstellung in 3D:" 0,2+uiBH/2-8,100,16
ui_infield{3"OLG3D", RM-uiBH, 2,
    uiBH, uiBH,
    6"",  00,   uiBH,uiBH,25,25,
    "globe.tif""Aus",0,
    "globe.tif""An" ,1  UI_TOOLTIP '3D-Darstellung gemäße Einstellugen in OpenLibraryGlobals in der "Modelldarstellung"'

Window marker settings / Einstellungen Fenstermarker

Special modificated window marker can be adjusted by MVO:
!»» Marker settings
! (1:"ID" 2:"Linie" 4:"Brüstungshöhe" 8:"Abmessungen" 16:"Brandschutz"
! 32:"Schallschutz" 64:"Wärmeschutz" 128:"Sonnenschutz" 256:"freier Text")
stsOLG = LIBRARYGLOBAL("OpenLibraryGlobals""ef_win_marker", OLG_marker)

IF stsOLG>0 THEN
  IF bittest(olg_marker,1THEN print "show ID" ELSE END
  IF bittest(olg_marker,2THEN print "show line" ELSE END
  IF bittest(olg_marker,3THEN print "show sill" ELSE END
  IF bittest(olg_marker,4THEN print "show dimension" ELSE END
  IF bittest(olg_marker,5THEN print "show firerating" ELSE END
  IF bittest(olg_marker,6THEN print "show acousticrating" ELSE END
  IF bittest(olg_marker,7THEN print "show insulation" ELSE END
  IF bittest(olg_marker,8THEN print "show sun protection" ELSE END
  IF bittest(olg_marker,9THEN print "show free text" ELSE END
  ELSE
  PRINT "This MVO setting is not available.\nDiese Modelleinstellung ist nicht verfügbar."
  ENDIF

Reading autotext / Autotexte auslesen

Example to request imported or referenced AUTOTEXT content from MVO (version 0.52+):
!»» Request AUTOTEXT "Projektname"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""PROJECTNAME", projectinfo_PROJECTNAME)
IF NOT(stsOLG) THEN projectinfo_PROJECTNAME=""


!»» Request AUTOTEXT "Projektnummer"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""PROJECTNUMBER", projectinfo_PROJECTNUMBER)
IF NOT(stsOLG) THEN projectinfo_PROJECTNUMBER=""


!»» Request AUTOTEXT "Projektstatus"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""PROJECTSTATUS", projectinfo_PROJECTSTATUS)
IF NOT(stsOLG) THEN projectinfo_PROJECTSTATUS=""


!»» Request AUTOTEXT "Bearbeitungsdatum"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""DATEOFISSUE", projectinfo_DATEOFISSUE)
IF NOT(stsOLG) THEN projectinfo_DATEOFISSUE=""


!»» Request AUTOTEXT "Bauplatz Komplette Adresse"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITEFULLADDRESS", projectinfo_SITEFULLADDRESS)
IF NOT(stsOLG) THEN projectinfo_SITEFULLADDRESS=""


!»» Request AUTOTEXT "Bauplatz Adresse 1"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITEADDRESS1", projectinfo_SITEADDRESS1)
IF NOT(stsOLG) THEN projectinfo_SITEADDRESS1=""


!»» Request AUTOTEXT "Bauplatz Adresse 2"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITEADDRESS2", projectinfo_SITEADDRESS2)
IF NOT(stsOLG) THEN projectinfo_SITEADDRESS2=""


!»» Request AUTOTEXT "Bauplatz Adresse 3"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITEADDRESS3", projectinfo_SITEADDRESS3)
IF NOT(stsOLG) THEN projectinfo_SITEADDRESS3=""


!»» Request AUTOTEXT "Bauplatz Ort"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITECITY", projectinfo_SITECITY)
IF NOT(stsOLG) THEN projectinfo_SITECITY=""


!»» Request AUTOTEXT "Bauplatz Kreis"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITESTATE", projectinfo_SITESTATE)
IF NOT(stsOLG) THEN projectinfo_SITESTATE=""


!»» Request AUTOTEXT "Bauplatz PLZ"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITEPOSTCODE", projectinfo_SITEPOSTCODE)
IF NOT(stsOLG) THEN projectinfo_SITEPOSTCODE=""


!»» Request AUTOTEXT "Bauplatz Land"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""SITECOUNTRY", projectinfo_SITECOUNTRY)
IF NOT(stsOLG) THEN projectinfo_SITECOUNTRY=""


!»» Request AUTOTEXT "Schlüsselwörter"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""KEYWORDS", projectinfo_KEYWORDS)
IF NOT(stsOLG) THEN projectinfo_KEYWORDS=""


!»» Request AUTOTEXT "Anmerkungen"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""NOTES", projectinfo_NOTES)
IF NOT(stsOLG) THEN projectinfo_NOTES=""


!»» Request AUTOTEXT "Architekt Name"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTNAME", projectinfo_ARCHITECTNAME)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTNAME=""


!»» Request AUTOTEXT "Architekt Position"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTPOSITION", projectinfo_ARCHITECTPOSITION)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTPOSITION=""


!»» Request AUTOTEXT "Architekt Büro"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTCOMPANY", projectinfo_ARCHITECTCOMPANY)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTCOMPANY=""


!»» Request AUTOTEXT "CAD-Techniker"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CADTECHNICIAN", projectinfo_CADTECHNICIAN)
IF NOT(stsOLG) THEN projectinfo_CADTECHNICIAN=""


!»» Request AUTOTEXT "Architekt Komplette Adresse"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTFULLADDRESS", projectinfo_ARCHITECTFULLADDRESS)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTFULLADDRESS=""


!»» Request AUTOTEXT "Architekt Adresse 1"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTADDRESS1", projectinfo_ARCHITECTADDRESS1)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTADDRESS1=""


!»» Request AUTOTEXT "Architekt Adresse 2"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTADDRESS2", projectinfo_ARCHITECTADDRESS2)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTADDRESS2=""


!»» Request AUTOTEXT "Architekt Adresse 3"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTADDRESS3", projectinfo_ARCHITECTADDRESS3)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTADDRESS3=""


!»» Request AUTOTEXT "Architekt Ort"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTCITY", projectinfo_ARCHITECTCITY)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTCITY=""


!»» Request AUTOTEXT "Architekt Kreis"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTSTATE", projectinfo_ARCHITECTSTATE)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTSTATE=""


!»» Request AUTOTEXT "Architekt PLZ"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTPOSTCODE", projectinfo_ARCHITECTPOSTCODE)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTPOSTCODE=""


!»» Request AUTOTEXT "Architekt Land"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTCOUNTRY", projectinfo_ARCHITECTCOUNTRY)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTCOUNTRY=""


!»» Request AUTOTEXT "Architekt E-Mail"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTEMAIL", projectinfo_ARCHITECTEMAIL)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTEMAIL=""


!»» Request AUTOTEXT "Architekt Telefon"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTPHONE", projectinfo_ARCHITECTPHONE)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTPHONE=""


!»» Request AUTOTEXT "Architekt Fax"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTFAX", projectinfo_ARCHITECTFAX)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTFAX=""


!»» Request AUTOTEXT "Architekt Web"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ARCHITECTWEB", projectinfo_ARCHITECTWEB)
IF NOT(stsOLG) THEN projectinfo_ARCHITECTWEB=""


!»» Request AUTOTEXT "Auftraggeber Name"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTNAME", projectinfo_CLIENTNAME)
IF NOT(stsOLG) THEN projectinfo_CLIENTNAME=""


!»» Request AUTOTEXT "Auftraggeber Firma"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTCOMPANY", projectinfo_CLIENTCOMPANY)
IF NOT(stsOLG) THEN projectinfo_CLIENTCOMPANY=""


!»» Request AUTOTEXT "Auftraggeber Komplette Adresse"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTFULLADDRESS", projectinfo_CLIENTFULLADDRESS)
IF NOT(stsOLG) THEN projectinfo_CLIENTFULLADDRESS=""


!»» Request AUTOTEXT "Auftraggeber Adresse 1"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTADDRESS1", projectinfo_CLIENTADDRESS1)
IF NOT(stsOLG) THEN projectinfo_CLIENTADDRESS1=""


!»» Request AUTOTEXT "Auftraggeber Adresse 2"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTADDRESS2", projectinfo_CLIENTADDRESS2)
IF NOT(stsOLG) THEN projectinfo_CLIENTADDRESS2=""


!»» Request AUTOTEXT "Auftraggeber Adresse 3"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTADDRESS3", projectinfo_CLIENTADDRESS3)
IF NOT(stsOLG) THEN projectinfo_CLIENTADDRESS3=""


!»» Request AUTOTEXT "Auftraggeber Ort"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTCITY", projectinfo_CLIENTCITY)
IF NOT(stsOLG) THEN projectinfo_CLIENTCITY=""


!»» Request AUTOTEXT "Auftraggeber Kreis"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTSTATE", projectinfo_CLIENTSTATE)
IF NOT(stsOLG) THEN projectinfo_CLIENTSTATE=""


!»» Request AUTOTEXT "Auftraggeber PLZ"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTPOSTCODE", projectinfo_CLIENTPOSTCODE)
IF NOT(stsOLG) THEN projectinfo_CLIENTPOSTCODE=""


!»» Request AUTOTEXT "Auftraggeber Land"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTCOUNTRY", projectinfo_CLIENTCOUNTRY)
IF NOT(stsOLG) THEN projectinfo_CLIENTCOUNTRY=""


!»» Request AUTOTEXT "Auftraggeber E-Mail"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTEMAIL", projectinfo_CLIENTEMAIL)
IF NOT(stsOLG) THEN projectinfo_CLIENTEMAIL=""


!»» Request AUTOTEXT "Auftraggeber Telefon"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTPHONE", projectinfo_CLIENTPHONE)
IF NOT(stsOLG) THEN projectinfo_CLIENTPHONE=""


!»» Request AUTOTEXT "Auftraggeber Fax"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""CLIENTFAX", projectinfo_CLIENTFAX)
IF NOT(stsOLG) THEN projectinfo_CLIENTFAX=""


!»» Request AUTOTEXT "EcoDesigner Report Kopftext"
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""EDREPORTHEADER", projectinfo_EDREPORTHEADER)
IF NOT(stsOLG) THEN projectinfo_EDREPORTHEADER=""

Reading custom autotext / Individuelle Autotexte auslesen

Custom autotext is available in string arrays. One parameter each for name, ID and value.


!»» Request custom AUTOTEXT
DIM OLG_projectinfo_value[], OLG_projectinfo_name[], OLG_projectinfo_ID[]
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ef_projectinfo_custom", OLG_projectinfo_value)
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ef_projectinfo_customname", OLG_projectinfo_name)
stsOLG=LIBRARYGLOBAL("OpenLibraryGlobals""ef_projectinfo_customID", OLG_projectinfo_ID)

IF stsOLG THEN VALUES "RQ_projectinfo" OLG_projectinfo_ID

!»» Search for custom ID
RQ_projectinfo="CUSTOM1"   ! search string
i=0 : projectinfo_value="" ! result string
WHILE i<stsOLG DO
    i=i+1
    IF OLG_projectinfo_ID[i]=RQ_projectinfo THEN
        projectinfo_value=OLG_projectinfo_value[i]
        projectinfo_name =OLG_projectinfo_name[i]
        i=stsOLG
        ENDIF
    ENDWHILE
Um unsere Webseite für Sie optimal zu gestalten und fortlaufend verbessern zu können, verwenden wir nur essenzielle Cookies.
Durch die weitere Nutzung der Webseite stimmen Sie der Verwendung von Cookies zu.
Weitere Informationen zu Cookies erhalten Sie in unserer Datenschutzerklärung