Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / CableDrawing Class / AddToCableUnit Method
Free objects which will be added to cable unit.
Control point to which the free objects will be assigned.
In This Topic
    AddToCableUnit Method (CableDrawing)
    In This Topic
    Add selected free drawings to cable unit.
    Syntax

    Parameters

    occurrences
    Free objects which will be added to cable unit.
    controlPoint
    Control point to which the free objects will be assigned.
    Exceptions
    ExceptionDescription
    The object is in invalid state. Obtain a new one.

    Internal error of HpD or HpD API.

    IMPORTANT: Throwing this exception changes HpD Api's state to Failed.

    This file is not opened.
    You can not perform this action on a document opened as read only.
    Argument is null.
    The operation was not successful.
    Remarks
    Objects are added to the Cable unit of the controlPoint.
    See Also