Eplan Platform API
Eplan API / API Reference / Actions / ExportNCData
In This Topic
    ExportNCData
    In This Topic
     Action exports NC data for machines.
     
    

    Parameter Description
    MachineType
    
    Type of machine (integer, mandatory). Possible values:
     • 1 = "NC Steinhauer",
     • 2 = "Rittal - Perforex BC",
     • 3 = "NC DXF",
     • 4 = "Drilling template",
     • 5 = "Rittal - Perforex LC",
     • 6 = "Copper NC",
     • 7 = "Copper DXF",
     • 8 = "Pipe bending"
    
    MachineName
    
    Name of machine which has to be defined in settings under COMPANY.NCLog.[MachineTypeScheme].[MachineName] (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: "Don't care about selection", != 0: "Use fields contained in current selection". Only used 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.
    
    TargetFile
    
    Determines target file name(string, optional). If set, the filename is used as target file name. Otherwise, the default file name is used. This parameter is only applicable for MachineType = 6(Copper NC).
    
    MaterialName
    
    If set and known in machine settings, this material is set for export (string, optional). Only used for Rittal Perforex BC, LC and Copper NC.
    

    Example


    ExportNCData /MACHINETYPE:2 /MACHINENAME:Standard /TARGETDIRECTORY:D:\export /MATERIALNAME:Steel