Beruflich Dokumente
Kultur Dokumente
EPLAN Software & Service GmbH & Co. KG assumes no liability either for technical or printing errors or for defi-
ciencies in this technical information and cannot be held liable for damages that may result directly or indirectly
from delivery, performance, and use of this material.
This document contains information on the basis of a proprietary system that is protected by copyright laws. All
rights are protected. This document or part of this document may not be copied or reproduced by any other
means without the previous permission of EPLAN Software & Service GmbH & Co. KG.
The software described in this document is subject to a license agreement. Its use and reproduction are only
permitted within the framework of this agreement.
®
EPLAN is a registered trademark of EPLAN Software & Service GmbH & Co. KG.
® ® ® ® ®
MS-DOS / Windows NT / Windows 2000 / Windows XP / Microsoft Windows are registered trademarks of
Microsoft Corporation.
® ® ® ®
Microsoft Excel and Microsoft Access are registered trademarks of Microsoft Corporation.
®
RITTAL is a registered trademark of Rittal Werk Rudolf Loh GmbH & Co. KG.
®
Clip Project is a registered trademark of Phoenix Contact GmbH & Co.
®
INTERBUS is a registered trademark of Phoenix Contact GmbH & Co.
® ® ®
ÖLFLEX , ÖLFLEX-SERVO and ÖLFLEX CLASSIC are registered trademarks of U.I. LAPP GmbH.
®
AutoCAD and Volo™View Express are registered trademarks of Autodesk, Inc.
®
MS-DOS is a registered trademark of Microsoft Corporation.
®
SCAN is a registered trademark of McAfee Associates.
®
PKZIP/PKUNZIP are registered trademarks of PKWARE, Inc.
®
ObjectStore is a registered trademark of eXelon Corporation.
®
D-ISAM is a registered trademark of Informix Software, Inc.
®
Hardlock E-Y-E is a registered trademark of Aladdin Knowledge Systems, Ltd Int.
®
InstallShield is a registered trademark of InstallShield, Inc.
®
PMS is a registered trademark of PMS Compelec GmbH.
®
MicroStation is a registered trademark of Bentley Systems.
All other mentioned product names, trademarks and company names are trademarks or registered trademarks of
their respective owners.
Remark: The hardware requirements indicated by the operating system manufacturers must be consid-
ered. Hardware combinations that according to manufacturer’s specification cause malfunctions may
also have an effect on the operation of EPLAN. Therefore an accurate basic installation of hardware, op-
erating system and hardware drivers (e. g. graphics board driver etc.) is essential for a smooth operation
of EPLAN. Prerequisite. The main conditions and areas of application specified by the hardware manufac-
turers therefore also apply to the operation of EPLAN.
2 / 50
Table of Contents
EPLAN Command Line Parameters ................................................. 5
Command syntax ....................................................................................... 5
General command line parameters............................................................ 5
Automatic Actions for Command Line Operation........................... 7
Overview of the General EPLAN Command Line Parameters........ 9
Automatic Action: backup .............................................................. 10
Automatic Action: check ................................................................ 14
Automatic Action: compress.......................................................... 16
Automatic Action: devicelist .......................................................... 17
Automatic Action: edit .................................................................... 18
Automatic Action: EplApiModuleAction........................................ 20
Automatic Action: ExecuteScript................................................... 20
Automatic Action: export................................................................ 21
Automatic Action: generate............................................................ 27
Automatic Action: import ............................................................... 29
Automatic Action: label .................................................................. 35
Automatic Action: MfImportToolbarAction ................................... 37
Automatic Action: OpenWorkspaceAction ................................... 38
Automatic Action: partslist............................................................. 38
Automatic Action: print................................................................... 40
Automatic Action: ProjectAction ................................................... 42
Automatic Action: projectmanagement......................................... 42
Automatic Action: ProjectOpen ..................................................... 43
Automatic Action: reports .............................................................. 43
Automatic Action: Restore ............................................................. 44
Automatic Action: SaveWorkspaceAction .................................... 45
3 / 50
Automatic Action: search ............................................................... 45
Automatic Action: selectionset ...................................................... 47
Automatic Action: translate............................................................ 48
Automatic Action: XSDPreviewAction........................................... 50
4 / 50
EPLAN Command Line Parameters
Like many other programs, EPLAN can also be started using a non-
graphical user interface. We provide you with appropriate command-line
parameters which you can then use from the Windows input prompt,
from a different console, or with the Windows Execute command (Start
> Execute).
Command syntax
W3u.EXE action /parameter1:value1 /parameter2:value2
/parameter3:value3
EPLAN provides you with several automatic actions which you can use
to execute complete tasks from the command line without needing to see
a dialog.
5 / 50
Example:
Using an automatic action named print, you can print the pages of a
project or the entire project. Possible parameters of this action are, e.g.:
"<Drive>:\Programs\EPLAN\<Variants>\<Version>\BIN\W3u.exe"
/NoSplash /Frame:0 /Auto print /TYPE:PAGES /PROJECTNAME:
"<Drive>:\Programs\EPLAN\<Variants>\Projects\EPLAN\
EPLAN-DEMO.elk" /PAGENAME:=EB3+ET1/1
6 / 50
Automatic Actions for Command Line
Operation
When calling EPLAN from the command line, you have the option of us-
ing some automatic actions. Using these standard actions, you can exe-
cute complete program functions without needing to interact as a user.
7 / 50
Action name Description
ProjectAction
Runs an action for a specified project and clo-
ses the project after this.
projectmanagement
Loads a file with project information into the
project management.
restore
Restores a project or master data from back-
up.
SaveWorkspaceAction
Saves the current user interface settings as
workspace.
search
Searches for objects (devices, properties,
texts, etc.) in a project.
selectionset
Retrieves values (name, path, file extension)
from selected pages or a selected project.
Translates a project, deletes the translation
translate from the project, or exports a missing word
list.
XSDPreviewAction
Opens or closes a page or macro preview
window.
If the parameter for the project name (/PROJECTNAME) is not given for an
automatic action, the last project opened will be used.
8 / 50
Overview of the General EPLAN Command Line
Parameters
The following general command line parameters are evaluated by
EPLAN:
Parameter Description
/NoSplash
No splash screen is displayed when the system
starts up.
Opens EPLAN with the specified dialog language
(e.g., /Language:en_US in English). The dialog
language specified in the settings dialog remains
/Language:<Value> unchanged.
EPLAN can only be opened in the specified lan-
guage if this language has also been installed and
licensed on your system.
/Quiet
No dialogs are displayed while a command is being
executed.
Determines the main window of EPLAN.
• /Frame:0 => The EPLAN main window will
not be displayed.
/Frame:<Value> • /Frame:1 => The EPLAN main window will
be displayed in the original size and position.
• /Frame:2 => The EPLAN main window will
be minimized.
• /Frame:3 => The EPLAN main window will
be maximized.
9 / 50
/Setup
All settings are set to the default values of the in-
stallation.
Archive name.
ARCHIVENAME Name of the file where the backed up data is to be
saved (without path information).
10 / 50
Parameters Description
Type of saving:
BACKUPMEDIA
EMAIL: Project is sent by e-mail.
DISK: Project is backed up to a hard drive, disk-
ette, etc.
11 / 50
Parameters Description
Type of backup:
BACKUP: Project is backed up
SOURCEOUT: Project is filed off
BACKUPMETHOD ARCHIVE: Project is archived. Must not be set
when "BACKUPMEDIA" parameter is "EMAIL".
SOURCEOUT_PACK: Project is packed first (zip-
ped) and then filed off
SOURCEPATH
Source directory, only applies to backup of master
data.
12 / 50
Parameters Description
Example:
Back up project:
backup /TYPE:PROJECT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/DESTINATIONPATH:U:\temp /ARCHIVENAME:my_prj.zw2
/COMMENT:Hello /BACKUPMETHOD:BACKUP /BACKUPMEDIA:DISK
/SPLITSIZE:0.0 /BACKUPAMOUNT:BACKUPAMOUNT_ALL
/COMPRESSPRJ:0 /INCLEXTDOCS:1 /INCLIMAGES:1
13 / 50
Back up plot frame without full path:
backup /TYPE:MASTERDATA /FILENAME:ESS_A3DP.fn1
/SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp
/ARCHIVENAME:my_MasterData /COMMENT:"Hello world"
/BACKUPMEDIA:DISK /SPLITSIZE:0.0 /MDTYPE:STANDARDSHEET
Back up all files (*.*) in specified source directory whose file exten-
sions include 'sh':
backup /TYPE:MASTERDATA /FILENAME:*sh
/SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp
/ARCHIVENAME:my_MasterData /COMMENT:"Hello world"
/BACKUPMEDIA:DISK /SPLITSIZE:0.0 /MDTYPE:STANDARDSHEET
14 / 50
Parameters Description
Example:
Check project with scheme: Offline
check /TYPE:PROJECT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/VERIFICATIONSCHEME:Offline
Check most recently used project with most recently used scheme
check /TYPE:PROJECT
Check page
check /TYPE:PAGES
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/PAGENAME:=AP+ST1/6
15 / 50
Check pages of the recently used project (scheme page_scheme
must be available)
check /TYPE:PAGES /USEPAGEFILTER:1
16 / 50
Example:
Compress a project.
compress /PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/CONFIGSCHEME:config_scheme /FILTERSCHEME:filter_scheme
IMPORTFILE
The directory and the file name of the device list to be
imported must be specified here.
EXPORTFILE
The directory and the file name of the device list to be
exported must be specified here.
17 / 50
Parameters Description
Example:
import:
devicelist /TYPE:IMPORT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/IMPORTFILE:C:\EPLAN\deviceListe.xml
export:
devicelist /TYPE:EXPORT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/EXPORTFILE:C:\EPLAN\deviceListe2.xml
delete:
devicelist /TYPE:DELETE
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
18 / 50
Parameters Description
PAGENAME
Name of the page to be opened (optional). Required if
X, Y have been specified as parameters.
X
X coordinate (optional). Parameter is only valid if the
PAGENAME parameter is available.
Y
Y coordinate (optional). Parameter is only valid if the
PAGENAME parameter is available.
Example:
Open project:
edit /PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
Open page:
edit /PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/PAGENAME:=AP+ST1/7
19 / 50
Automatic Action: EplApiModuleAction
Parameters Description
unregister
Assembly file title of the add-in to be de-
registered.
Example:
Action call to load an add-in.
W3u.exe EplApiModuleAction /register:"C:Program Files
\EPLAN\electric P8\1.7.5\bin\Eplan.EplAddin.MyAddin3.dll"
Example:
W3u.exe ExecuteScript /ScriptFile:"C:\Program Files
\EPLAN\electric
P8\1.7.5\Scripts\EPLAN\SimpleScriptWithParameters.cs
/Param1:Hello /Param2:EPLAN /Param3:" API developer!"
20 / 50
Automatic Action: export
Parameters Description
21 / 50
Parameters Description
22 / 50
Parameters Description
23 / 50
Parameters Description
24 / 50
Parameters Description
FASTWEBVIEW
If set to 1, fast web display will be enabled in
the PDF.
25 / 50
Example:
Export a project in PXF format
export /TYPE:PXFPROJECT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/EXPORTFILE:C:\temp\myPxfDEMO_D
26 / 50
Export several pages in DXF/DWG format
export /TYPE:DXFPAGE
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_d.elk
/DESTINATIONPATH:C:\temp /EXPORTSCHEME:dxf_scheme
/USEPAGEFILTER:1
27 / 50
Parameters Description
28 / 50
Example:
Connection generation
generate /TYPE:CONNECTIONS
/PROJECTNAME:C:\Projects\EPLANDEMO2_D.elk
Cable generation
generate /TYPE:CABLES /KEEPOLDNAMES:0 /STARTVALUE:5
/STEPVALUE:2 /ONLYAUTOCABLES:0
29 / 50
Parameters Description
30 / 50
Parameters Description
PXFPROJECT: Path and name of the
file to be imported.
DXFPAGE,DWGPAGE: Path and na-
me of the file to be imported.
31 / 50
Parameters Description
32 / 50
Parameters Description
33 / 50
Parameters Description
Example:
Import PXF project:
import /TYPE:PXFPROJECT /IMPORTFILE:C:\Projects\DEMO_D.epj
/PROJECTNAME:C:\Projects\EPLAN\Imported_DEMO_D.elk
34 / 50
/SOURCEMACROPATH:C:\EPLAN4\M\EPLAN
/DESTINATIONPATH:C:\Projects\EPLAN\Macros
35 / 50
Parameters Description
Sorting scheme.
SORTSCHEME
Default value: Most recently used sorting scheme If
this parameter is not available, no sorting can be
performed.
RECREPEAT
Optional: Number of repetitions per label (>=1).
Default value: 1
36 / 50
Example:
label /PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/CONFIGSCHEME:config_scheme /FILTERSCHEME:filter_scheme
/SORTSCHEME:sort_scheme /LANGUAGE:en_US
/DESTINATIONFILE:c:temp\labeling.txt /RECREPEAT:3
/TASKREPEAT:2
Example:
MfImportToolbarAction /File:"?" /Replace:Yes
37 / 50
Automatic Action: OpenWorkspaceAction
Parameters Description
Workspacename
name of the workspace which should be opened (a
string)
Example:
OpenWorkspaceAction /Workspacename:"?"
38 / 50
Parameters Description
SQLFILTERPART
Optional: Sql filter for advanced users.
Default value= 1=1
Example:
Export:
partslist /TYPE:EXPORT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/FORMAT:XPalCSVConverter /EXPORTFILE:d:\temp\PartsList.csv
39 / 50
Import:
partslist /TYPE:IMPORT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/FORMAT:XPalCSVConverter /IMPORTFILE:d:\temp\PartsList.csv
PRINTERNAME
Name of printer (optional).
Default value: Printer set on your computer.
PRINTCOLLATE
Sorted order (optional, 0 = No, 1 = Yes).
Default value: 1
PRINTREVERSE
Reverse order (optional, 0 = No, 1 = Yes).
Default value: 0
40 / 50
Parameters Description
NUMBER
Number of copies.
Default: 1
DESTINATIONFILE
Path and name of the output file.
Default value: Printer set or specified
Example:
Print page
print /TYPE:PAGES
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/PAGENAME:=AP+ST1/6 /PRINTERNAME:my_printer /NUMBER:2
Print project
print /TYPE:PROJECT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/PRINTCOLLATE :0 /PRINTREVERSE:1
/DESTINATIONFILE:U:\tempprint
41 / 50
Automatic Action: ProjectAction
Parameters Description
NOCLOSE
if "1" used project will not be closed afterwards (Optional).
On default project will be closed afterwards.
42 / 50
Example:
projectmanagement /TYPE:READPROJECTINFO
/PROJECTNAME:"C:\Projects\EPLAN projcets\DEMO2_D.elk"
/FILENAME:C:\Files\ProjectInfo.xml
Example:
ProjectOpen /Project:C:EPLANProjectsDEMO.elk ProjectOpen
/Project:"C:EPLANmy own ProjectsDEMO.elk"
TYPE
Type of task to be performed:
PROJECT: update all project reports.
43 / 50
Example:
reports /TYPE:PROJECT
/PROJECTNAME:C\Projects\EPLAN\DEMO2_D.elk
ARCHIVENAME
Archive name. Name of the archive to be re-
stored.
Example:
Restore project:
restore /TYPE:PROJECT /ARCHIVENAME:U:\temp\my_prj.zw1
/PROJECTNAME:U:\temp\w3_proj.elk /UNPACKPROJECT:0
44 / 50
Automatic Action: SaveWorkspaceAction
Parameters Description
Workspacename
name of the workspace which should be saved (a
string)
Example:
SaveWorkspaceAction /Workspacename:"?"
45 / 50
Parameters Description
CASESENSITIVE
Match case (optional, 1 = Yes, 0 = No).
Default value: Last setting.
46 / 50
Parameters Description
Example:
search /TYPE:TEXTS
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/SEARCHITEM:Hallo /CASESENSITIVE:1 /WHOLETEXT:0
/LOGICPAGES:1 /SEARCHDB:0
search /TYPE:PAGEDATA
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
/SEARCHITEM:Drive /CASESENSITIVE:0 /WHOLETEXT:0
/LOGICPAGES:1 /EVALUATIONPAGES:1 /NOTPLACEDFUNCTIONS:1
/SEARCHDB:1
47 / 50
Example:
Return currently selected project:
selectionset /TYPE:PROJECT
48 / 50
Parameters Description
Example:
Translate project
translate /TYPE:TRANSLATEPROJECT
/PROJECTNAME:C:\Projects\EPLAN\DEMO2_D.elk
49 / 50
Automatic Action: XSDPreviewAction
Parameters Description
PROJECTNAME
name of the project; if the path is missing, the default
value is used (see $(MD_PROJECTS))
SHOW
1: the preview of the page/macro will be opened; 0: the
preview will be closed
Example:
preview of a page:
XSDPreviewAction /PROJECTNAME:DEMO2_D /PAGENAME:=AP+ST1/1
XSDPreviewAction /PROJECTNAME:C:ProjectsEPLANDEMO2_D
/PAGENAME:=AP+ST1/2
XSDPreviewAction /PROJECTNAME:$(MD_PROJECTS)DEMO2_D
/MACRONAME:$(MD_MACROS)st1.emp
50 / 50