remove

Description

This function removes the given element. Optionally, delete the element from the disk. This function returns true when successful.

Syntax

element.remove( id, deleteDiskFile );

Arguments

id: This the ID for the desired element.
deleteDiskFile: A boolean that indicates remove all files. If this is false, the element is removed from the project and the database in Harmony, but the files remains on the folder.

Related Topics 

Element