Eplan Platform API
Eplan.EplApi.HEServices Namespace / NameService3D Class / RenameDevice Method
Function3D from device which name will be changed.
Name that will be set to functions of device.
If true then connection of this device (example: wires of cable) also will be renamed.
If true then describing properties of functions will not be changed.

In This Topic
    RenameDevice Method (NameService3D)
    In This Topic
    Changes the full names of the found device.
    Syntax

    Parameters

    pFunctionBase
    Function3D from device which name will be changed.
    pNewName
    Name that will be set to functions of device.
    bRenameCDPsAlso
    If true then connection of this device (example: wires of cable) also will be renamed.
    bKeepDescribingProps
    If true then describing properties of functions will not be changed.
    Exceptions
    ExceptionDescription
    Invalid parameters were found.
    Null was passed to a parameter.
    Remarks
    As device we understand not only given Eplan.EplApi.DataModel.E3D.Function3D but also other objects with the same full name. To change only function name use RenameFunction instead.
    See Also