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

    Parameter NameDescription
    oProjectProject in which cables will be generated.
    strCreateSchemeNameName of the scheme used for generating cables.
    bRegenrateConnectionsIf set to true, connections are generated prior to cable generation.
    Exceptions
    ExceptionDescription
    If a parameter is invalid.
    The internal interface necessary for generating cables could not be created.
    An error occurred during cable generation. 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