Dialog call:
You have opened a dialog where you can use [...] to select a file and / or directory. In the appropriate field, select the Insert path variable popup menu item.
In this dialog you select the path variable to be inserted into the current field. The variables that can be selected depend on the respective field. Make sure that the cursor is located in the correct field!
Tab Program variables
The and their current values that reference the current EPLAN application (program directory, version, directory , etc.) are listed in this tab.
Overview of the most important path variables:
Path variable
|
Meaning
|
$(BIN)
|
A program directory generated on installation contains the program libraries (*.dll) of the individual .
|
$(CFG)
|
A configuration directory generated on installation containing the xml files of the individual modules.
|
$(CFG_COMPANY)
|
Configuration directory generated on installation, contains the company settings.
|
$(CFG_STATION)
|
Configuration directory generated on installation, contains the station settings.
|
$(CFG_USER)
|
Configuration directory generated on installation, contains the user settings.
|
$(EPLAN)
|
An upper-level main directory generated on installation.
|
$(EPLAN_DATA)
|
A superior directory for , generated on installation.
|
$(LOCALDATE)
|
Current date in the format YYYYMMDD.
|
$(LOCALTIME)
|
Current time in the format HHMMSS.
|
$(MD_DOCUMENTS) ... $(MD_XML)
|
The directories, for example, for documents, XML files, etc. defined in the user settings (File > Settings > User > Management > Directories).
|
$(TMP)
|
The directory used by the operating system for temporary files.
|
Tab Project variables
The project-specific path variables (project name, project directory, , etc.) and their current values are displayed in this tab. The tab only exists where the usage of project-specific path variables makes sense.
Overview of the most important path variables:
Path variable
|
Meaning
|
$(DOC)
|
Project-specific directory for documents.
|
$(IMG)
|
Project-specific directory for images.
|
$(P)
|
Full project directory of the currently selected project.
|
$(PROJECTNAME)
|
Project name of the currently selected project, without directory path and file extension.
|
$(PROJECTPATH)
|
Full project directory of the currently selected project.
|
$(PROJPROP_<>)
|
Project property. In order to identify such a path variable the ID of the respective property is listed in the name.
|
Environment variables tab
This tab lists the environment variables and their current value from the system control that can be used as path variables.
Tips:
- With the path variables for the current date and time $(LOCALDATE) and $(LOCALTIME) you have, for example, the possibility to output files into different automatically created directories without having to create directories manually during automated processing.
- If path variables are used you can access further values of the project by using the path variables for project $(PROJPROP_<ID>).
- You can use these project-specific path variables and the environment variables $(ENVVAR_<Variable_name>) to create and use own path variables. For example, it is then possible to use the EPLAN API to define environment variables with specific values and also to delete them again in automated processing during the runtime.