Harness proD API Help
EPLAN.Harness.API.Occurrences.Workspace Namespace / OccWsCablesTwist Class / Reconnect Method
The grouped pin to reconnect from.
The grouped pin to reconnect to.
Example
In This Topic
    Reconnect Method (OccWsCablesTwist)
    In This Topic
    Reconnect this twist from one grouped pin to another.
    Syntax
    public void Reconnect( 
       IPinBase from,
       IPinBase to
    )

    Parameters

    from
    The grouped pin to reconnect from.
    to
    The grouped pin to reconnect to.
    Exceptions
    ExceptionDescription
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    The exception that is thrown when there is a problem with the connection of an occurrence.
    Example
    This example shows how to reconnect a cable twist.
    OccWsCablesTwist twist = ...
    
    // The twist is connected to 'fromPin' but you want to connect it to 'toPin'.
    OccWsGroupedPin fromPin = ...
    OccWsGroupedPin toPin = ...
    
    twist.Reconnect(fromPin, toPin);
    See Also