API Help
Eplan.EplApi.DataModel.EObjects Namespace / Cable Class / GetSourcesAndTargets Method / GetSourcesAndTargets(ICollection<StorableObject>,ICollection<StorableObject>) Method
Collection which will be filled with sources of the cable. Can't be null or read-only.
Collection which will be filled with targets of the cable. Can't be null or read-only.

In This Topic
    GetSourcesAndTargets(ICollection<StorableObject>,ICollection<StorableObject>) Method
    In This Topic
    Gets sources and targets of the cable.
    Syntax

    Parameters

    colSources
    Collection which will be filled with sources of the cable. Can't be null or read-only.
    colTargets
    Collection which will be filled with targets of the cable. Can't be null or read-only.
    Exceptions
    ExceptionDescription
    If any parameter is null.
    Thrown if given collection is read-only.
    Thrown when internally used handle is not valid.
    Thrown when an internal error occured. Please refer to the error message.
    Remarks
    Method removes all elements from given collections and fills them with sources and targets of a cable. Please consider that the method outputs device tags of sources and targets without detailed information about connection points. It is the same as in 'Connection overview' standard report.
    See Also