Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Nailboard Class / AddSources Method
Wire harnesses to add to this Nailboard. All wire harnesses must be from the same type of designer (all from Workspaces or all from Workdesks).
In This Topic
    AddSources Method (Nailboard)
    In This Topic
    Add given wire harness(es) to this Nailboard's sources.
    Syntax
    public void AddSources( 
       IEnumerable<WireHarnessInfo> sources
    )

    Parameters

    sources
    Wire harnesses to add to this Nailboard. All wire harnesses must be from the same type of designer (all from Workspaces or all from Workdesks).
    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.
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    The operation was not successful.
    Remarks
    Adding a source automatically triggers Nailboard update.
    See Also