Creating and deleting a local copy

Condition

If you want to create a local copy of a library element, this element must have been deployed with the fully existing source code, hence e.g. an ST-object with the complete ST-code or an FBD-object with the complete FBD-logic.
This means: It is not possible to create a copy of the following library elements:

Moreover, it is not possible to create a local copy of a →data type in a library. If you want to create a local copy of a library data type, the best practice is to copy the lines with the library data type (from the ST object in the library) to the clipboard and then paste these lines from the clipboard into a new ST object in the project.

How to create one local copy:

  1. Within the →project, select the library element for which you want to create the local copy. Open the context menu and select the command Create local copy.

  2. In the dialog, select a folder where to file the copy, enter the other fields as appropriate (proceed as described under "Creating application in ST ) and click Finish.
    Result: The view containing the projects/resources displays a new object . It is opened in the assigned default editor (see under "Creating new objects and folders").
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The local copy contains comments that quote the library and library element on which the copy is based on. These comments do not affect the copy, the library or the library element.

Now you are able to adjust the local copy to your demands at once.

How to delete the local copy :

Delete the copy in the same way as you delete an object in the project (see "Deleting objects and folders").