Eplan Platform API
Eplan API / API Reference / Actions / ExportProductionWiring
In This Topic
    ExportProductionWiring
    In This Topic
     Action to export Production Wiring Data for machines according to calling parameters.
     
    

    Parameter Description
    MachineType
    
    Type of machine (integer, mandatory). Possible values:
     • 1 = "Komax",
     • 2 = "CadCabel",
     • 3 = "Schleuniger",
     • 4 = "Steinhauer PWA",
     • 5 = "Metzner",
     • 7 = "WireList",
     • 8 = "Averex", => wird nicht mehr benutzt
     • 9 = "Rittal - Wire Terminal WT" 
    
    MachineName
    
    Name of machine which has to be defined in settings (string, mandatory).
    
    ProjectName
    
    Name of the project (string, optional). If not set, the current project is exported. If project name (including complete path and extension) is set, project is loaded (if needed) and activated.
    
    UseSelection
    
    Specifies whether to use fields contained in the current selection (integer, optional).
     • 0 = The selection will not be considered.
     • Any value other than 0 = The selection of 3D connections is taken into account. The fields contained in current selection of 3D connections is used.
     This parameter only has an effect if the ProjectName parameter is not set.
     Default value: 0
    
    TargetDirectory
    
    Determines target export directory (string, optional). If set, content overrides export directory of settings.
    
    FileName
    
    Determines target export file name (string, optional). If set, content overrides export file name of settings. In Case of KOMAX and Steinhauer PWA export, fixed filename is used. So, this filename parameter will not be considered. 
    
    Language
    
    Language code for export language (string, optional). Default value: "de_DE"
    
    MultipleConnections
    
    Determines whether previously exported wires will be reexported. (bool, optional).
     If true, reexports previously exported wires. If false, exports only those wires never exported before.
     Default value: false.
    

    Example


    ExportProductionWiring /MACHINETYPE:5 /MACHINENAME:Metzner /TARGETDIRECTORY:D:\export /MultipleConnections:1 /UseSelection:0