Harness proD API Help
EPLAN.Harness.API.Occurrences.Workdesk Namespace / OccWdTerminal Class / TerminalDesignation Property
Example
In This Topic
    TerminalDesignation Property (OccWdTerminal)
    In This Topic
    Gets terminal designation of this occurrence.
    Syntax
    public TerminalDesignation TerminalDesignation {get;}
    Exceptions
    ExceptionDescription
    Api is not in an initialized state. You can get current state from EPLAN.Harness.API.HpdApi.Status property. If API is uninitialized, you can initialize it by calling EPLAN.Harness.API.HpdApi.Init method. If API is in failed state, you can not resurrect it.
    The object is in invalid state. Obtain a new one.
    The exception that is thrown when you trying to access to already deleted occurrence.
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    Example
    This example shows how to edit the terminal designation of an occurrence..
    // Obtain the occurrence before.
    OccWsTerminal terminal = ...
    
    TerminalDesignation designation = terminal.TerminalDesignation;
    
    designation.ChangeLevelDesignation("A", "1");
    See Also