API Help
Eplan.EplApi.HEServices Namespace / Export3D Class / CopperForNC Method
Project to be exported. Can not be null.
Name of machine which will be used to export. If null or empty then last used in GUI will be used.
Name of material on which bus bar will be made. If name will be invalid then default material is being used for export.
Directory to which files will be written. If the folder does not exist, it will be created. If the user does not have the necessary rights to access the file system, an exception will be thrown. Can not be null or empty.
If true then all project is exported.
Collection of 3d object will be exported. Can be null if bEntireProject

In This Topic
    CopperForNC Method
    In This Topic
    Exports unfolding of bended bus bar as numerical control data.
    Syntax

    Parameters

    oProject
    Project to be exported. Can not be null.
    strMachineName
    Name of machine which will be used to export. If null or empty then last used in GUI will be used.
    strMaterialName
    Name of material on which bus bar will be made. If name will be invalid then default material is being used for export.
    strTargetDirectory
    Directory to which files will be written. If the folder does not exist, it will be created. If the user does not have the necessary rights to access the file system, an exception will be thrown. Can not be null or empty.
    bEntireProject
    If true then all project is exported.
    oCollection
    Collection of 3d object will be exported. Can be null if bEntireProject

    Return Value

    true if export finished with success, otherwise false
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments.
    Thrown when neccessary argument is null.
    The internal interface used for export could not be created.
    No user rights to create files on the file system.
    Remarks
    Function creates files with numerical control data in path passed by parameter strTargetDirectory. Source of this data is hole project or collections of 3d bended bus bars. If parameter bEntireProject is true then oCollection ca be null. If machine name is passed it must be valid what means that the must scheme with this name must exists as node under name "COMPANY.NCLog.CopperNCScheme.*".
    See Also