Eplan Platform API
Eplan.EplApi.DataModel Namespace / LockingVector Class / EndLockingStep Method
Id of last step to unlock.

In This Topic
    EndLockingStep Method
    In This Topic
    Ends locking step.
    Please use the LockingStep class instead.
    Syntax
    public virtual bool EndLockingStep( 
       int nLockingStepId
    )
    public:
    virtual bool EndLockingStep( 
       int nLockingStepId
    ) 

    Parameters

    nLockingStepId
    Id of last step to unlock.
    Remarks
    When it is not possible to use LockingStep, call this method to end locking steps. It is important to implement correct exception handling mechanism in order to end all started locking steps. It is also important to start and end locking steps in the appropriate order if created recursively.

    If you experience locking problems when trying to execute (internal) actions from the ribbon via API, this can be caused by autolocking. In this case, please use the SafetyPoint class.
    See Also