Eplan Platform API
Eplan.EplApi.HEServices Namespace / NameService3D Class / RenameDevice Method
Function3D or Plane 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

    Parameter NameDescription
    pFunctionBaseFunction3D or Plane from device which name will be changed.
    pNewNameName that will be set to functions of device.
    bRenameCDPsAlsoIf true then connection of this device (example: wires of cable) also will be renamed.
    bKeepDescribingPropsIf true then describing properties of functions will not be changed.
    Exceptions
    ExceptionDescription
    Invalid parameters were found.
    Thrown if NULL was passed as a required 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