Eplan Platform API
Eplan.EplApi.DataModel Namespace / StorableObject Class / SmartLock Method

In This Topic
    SmartLock Method
    In This Topic
    Tries to lock the current object.
    Syntax
    public void SmartLock()
    public:
    void SmartLock(); 
    Exceptions
    ExceptionDescription
    Thrown on failure.
    Remarks
    If the object is a Placement, its page is locked as well.
    If the object is a Eplan.EplApi.DataModel.E3D.Placement3D, its installation space is locked.
    If the object is a Function, all its connections and connection definition points are locked.
    If the object is a Page, all placements from this page are locked.
    Throws a Eplan.EplApi.Base.LockingException on failure.
    See Also