Eplan Platform API
Eplan.EplApi.HEServices Namespace / CableService Class / CreateAutoCable Method / CreateAutoCable(Project,String,Boolean) Method
Project in which cables will be generated.
Name of the scheme used for generating cables.
If set to true, connections are generated prior to cable generation.

In This Topic
    CreateAutoCable(Project,String,Boolean) Method
    In This Topic
    Automatically generate cables in the given project.
    Syntax

    Parameters

    oProject
    Project in which cables will be generated.
    strCreateSchemeName
    Name of the scheme used for generating cables.
    bRegenrateConnections
    If set to true, connections are generated prior to cable generation.
    Exceptions
    ExceptionDescription
    Invalid parameters found.
    \Internal interface necessary for cable generation could not be created.
    Cable generation has reported an error. Please read the exception message.
    Remarks
    If the user scheme given in strCreateSchemeName does not exist, an ArgumentException will be thrown. If you pass an empty string to strCreateSchemeName, the last-used scheme will be used which is currently set in GUI.
    See Also