Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Nailboard Class / AddToWireHarness Method / AddToWireHarness(IEnumerable<I2DFreeDrawing>,OccNbPin) Method
Free objects which will be added to wire harness.
Pin to which the free objects will be assigned.
In This Topic
    AddToWireHarness(IEnumerable<I2DFreeDrawing>,OccNbPin) Method
    In This Topic
    Add selected free drawings to wire harness.
    Syntax
    public void AddToWireHarness( 
       IEnumerable<I2DFreeDrawing> occurrences,
       OccNbPin pin
    )

    Parameters

    occurrences
    Free objects which will be added to wire harness.
    pin
    Pin 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 wire harness of the pin.
    See Also