Eplan Platform API
Eplan.EplApi.HEServices Namespace / Backup Class / MasterData Method / MasterData(StringCollection,String,String,String,String,MasterDataType,Double) Method
Selected files whose master data are to be backed up.
String that is written as a comment into the corresponding backup property in the backed up projects.
Source directory
Destination path where the backed up projects are stored.
Name of file in which the backed up data are stored. Because strTargetpath already contains the destination path, the path must be left out when the file name is entered.
An Enum constant, which may have the following values:

Symbols : Backup of symbol libraries.

Macros : Backup of macros.

Forms : Backup of forms.

Articles : Backup of parts data.

Languages : Backup of dictionaries.

StandardSheet : Backup of plot frames.

StationData : Backup of workstation settings.

If the project is to be compressed before being backed up, it is possible to automatically split the destination file into smaller sections to easily send them by e-mail. SplitSize indicates the maximum file size in megabyte. If rdSplitSize = 0, the file is not split up. If eBakMedia parameter = Disk, rdSplitSize is ignored!

In This Topic
    MasterData(StringCollection,String,String,String,String,MasterDataType,Double) Method
    In This Topic
    Backs up master data. Master data include: Symbol libraries, plot frames, forms, macros, parts data, dictionaries, user/workstation data.
    Syntax

    Parameters

    strDataFileSelection
    Selected files whose master data are to be backed up.
    strComment
    String that is written as a comment into the corresponding backup property in the backed up projects.
    strSourcePath
    Source directory
    strTargetPath
    Destination path where the backed up projects are stored.
    strArchiveName
    Name of file in which the backed up data are stored. Because strTargetpath already contains the destination path, the path must be left out when the file name is entered.
    eMdType
    An Enum constant, which may have the following values:

    Symbols : Backup of symbol libraries.

    Macros : Backup of macros.

    Forms : Backup of forms.

    Articles : Backup of parts data.

    Languages : Backup of dictionaries.

    StandardSheet : Backup of plot frames.

    StationData : Backup of workstation settings.

    dSplitSize
    If the project is to be compressed before being backed up, it is possible to automatically split the destination file into smaller sections to easily send them by e-mail. SplitSize indicates the maximum file size in megabyte. If rdSplitSize = 0, the file is not split up. If eBakMedia parameter = Disk, rdSplitSize is ignored!
    Exceptions
    ExceptionDescription
    An error occurs during a data backup operation.
    The interface to the backup system cannot be generated.
    Remarks
    If the specified directory already contains a backup file with the same name, this file is overwritten
    See Also