By means of path variables you can, for example, specify defined values for drive, directory and / or file names. The path variables have been extended for Version 2.8. Path variables for the current date, the current time, for project properties and for environment variables are available.
Benefit:
- With the new path variables for the current date and time you have, for example, the possibility to output files into different automatically created directories without having to create directories manually during automated processing.
- With the new path variables for project properties you can access further values of the project by using the path variables.
- You can use these project-specific path variable and the new environment variables 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.
As a result of these extensions, the path variables of the Select path variable dialog are spread across the three new tabs Program variables, Project variables and Environment variables.
In the Program variables tab most of the previously existing EPLAN path variables as well as the two new path variables $(LOCALDATE) and $(LOCALTIME) are listed. Through these new path variables you can output the values for the current date (in the format YYYYMMDD) and the values for the current time (in the format HHMMSS).
In the Project variables tab the new path variables for the project properties $(PROJPROP_<ID>) are displayed together with the already existing path variables for the project ($(DOC), $(IMG), $(P), $(PROJECTNAME), $(PROJECTPATH)). This tab only exists where the usage of project-specific path variables makes sense.
The environment variables $(ENVVAR_<Variable_name>) from the Control Panel are listed in the Environment variables tab as further path variables.