You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

This document describes the usage of the Remove Button localized in Unused Objects tab.

How to Use

Access the Run-UseCount-Unused Objects tab and click the Refresh button to get the current unused object list.


All Objects that are found, are unused. After this, select the object that you want to remove and click in “remove…”. You can select multiples objects to remove more than one or all unused objects.


When does it Works?

When there is an object that is not in use. It can be either a Tag, a Device, or even a Report page that is not being used.

 

When does it not work?

It does not work if the desired object is being used, either by something on the screen, or by a line of code or script.

 

This functionality identifies the Tags being passed as a reference by the .Link property?

No, it is very important to pay attention to the Tags that are being passed by the Link property. Our software warns you that it is highly not recommended to delete in this situation, since you do not have to undo the changes. (see previous image)

 

If the object is used as an expression, for example the TK.GetObjectValue, will it recognize the use? 

No, just like the “.Link” reference described before, the expression TK.GetObjectValue needs extra attention, because even if the object is in use, it will appear as if it were not in use. It is why we always recommend using the <Object>.GetName() method and not the “Object Name” as a typed text.

  • No labels