Understanding the dsrepoDeleteFileP SKILL API Function

The delete API allows a user to delete one or more cell or library level files.

See Also
dsrepoDeleteFileP SKILL API Function Options
dsrepoDeleteFileP(
               tl_fileNames
               [?comment t_comment]
               [?force  g_force]
               [?silent g_silent]
        )
        => nil / (x_pass x_fail)

If any of the files are locally modified, you must specify ?force t to delete the modified files.

You can specify a comment. The comment can be entered directly or using a comment file.

The command returns a list of pass and fail counts; the first integer represents the number of objects successfully deleted and the second integer represents the number of failures. The function raises an error if argument checking fails. In all other failure cases, the function either raises an error or returns nil.

Note: If a file is open in the design edit window, and the user uses the API call to delete the file, the design edit window automatically closes when the object is deleted.