Understanding the dsrepoDeleteCellViewP SKILL API Function

This delete API allows a user to delete in a single cell view.

See Also
dsrepoDeleteCellViewP SKILL API Function Options
dsrepoDeleteCellViewP(
               t_libName
               t_cellName
               t_viewName
               [?comment t_comment]
               [?force  g_force]
               [?silent g_silent]
        )
        => nil / (x_pass x_fail)

If the cell view is locally modified, you must specify ?force t to delete it.

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 dsrepoDeleteCellViewP function deletes a single view, so the returned list is (1 0) if the delete is successful and (0 1) if the delete fails. 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 cell view is open in a design edit window, and the user uses the API call to delete the view, the design edit window automatically closes when the object is deleted.