Eplan Platform API
Eplan.EplApi.HEServices Namespace / Generate Class / Cables Method / Cables(Project,String,String,String,Boolean,Boolean,Int32,Int32,Boolean) Method
Project in which cables will be generated.
Name of the scheme for generating cables.
Name of the scheme for cable numbering.
Name of the scheme for automatic cable selection.
If set to true, connections are updated in advance to cable generation.
If set to true, existing cable names are not changed.
Start value of the device tag counter.
Step width, by which the DT counter is increased.
If set to true, the cable selection will only be done for automatically created cables.

In This Topic
    Cables(Project,String,String,String,Boolean,Boolean,Int32,Int32,Boolean) Method
    In This Topic
    Creates cables in the given project. The functionality includes three steps: creating cables, cable numbering, cable selection.
    Syntax

    Parameters

    oProject
    Project in which cables will be generated.
    strCreateSchemaName
    Name of the scheme for generating cables.
    strNumberingSchemaName
    Name of the scheme for cable numbering.
    strAutoSelSchemaName
    Name of the scheme for automatic cable selection.
    bRegenrateConnections
    If set to true, connections are updated in advance to cable generation.
    bKeepOldNames
    If set to true, existing cable names are not changed.
    nStartValue
    Start value of the device tag counter.
    nStepValue
    Step width, by which the DT counter is increased.
    bOnlyAutomaticCables
    If set to true, the cable selection will only be done for automatically created cables.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments, for example a wrong scheme.
    An internal interface necessary for generating cables could not be created.
    An error occurred during cable generation. Please refer to the exception message.
    An error occurrs when used scheme name doesn't exist
    Remarks
    If you pass an empty string to a scheme parameter, the last used scheme will be used which is currently set in GUI. If no scheme does exist under the given scheme name, an exception will be thrown. If no connections were generated, no cables will be generated.
    See Also