Eplan Platform API
Eplan.EplApi.HEServices Namespace / CableService Class / RenumberCables Method / RenumberCables(Function[],String,Boolean,Boolean,Int32,Int32) Method
An array of functions (cables, shildings) to number.
Name of the scheme used for cable numbering.
Keep existing cable DTs. If set to true, already existing cable DTs will not be changed, only cables with "?" character in the identifier will be numbered.
If set to true, the existing identifier will not be changed.
Start value for the device tag counter.
The device tag counter will be incremented by this value.

In This Topic
    RenumberCables(Function[],String,Boolean,Boolean,Int32,Int32) Method
    In This Topic
    Method for numbering cables in a project.
    Syntax

    Parameters

    oCables
    An array of functions (cables, shildings) to number.
    strNumberingSchemeName
    Name of the scheme used for cable numbering.
    bKeepOldNames
    Keep existing cable DTs. If set to true, already existing cable DTs will not be changed, only cables with "?" character in the identifier will be numbered.
    bKeepIdentifier
    If set to true, the existing identifier will not be changed.
    nStartValue
    Start value for the device tag counter.
    nStepValue
    The device tag counter will be incremented by this value.
    Exceptions
    ExceptionDescription
    Invalid parameters found.
    The internal interface necessary for numbering could not be created.
    An error occurred during numbering. Please read the exception message..
    An error occurred when used scheme name doesn't exist
    Remarks
    If the user scheme given in strNumberingSchemeName 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