Product Documentation
Cadence Application Infrastructure SKILL Reference
Product Version IC23.1, November 2023

gdmdelete

gdmdelete(
{ G_gdmSpec | q_gdmSpecList }
[ x_gdmOptions ]
[ g_xtra ]
)
=> t / nil

Description

Deletes the library, cell, view, directory, or file that G_gdmSpec represents from the workarea and the default configuration.

If G_gdmSpec represents a directory that is not a library element, this function works recursively on the directory only if the GDM_RECURSE option was set when G_gdmSpec was created with gdmCreateSpec.

This function is the SKILL equivalent of the gdmdelete shell command.

Arguments

G_gdmSpec

The gdmSpec object of the library, cell, view, directory, or file to delete.

q_gdmSpecList

A gdmSpecList object containing gdmSpec objects.

x_gdmOptions

One of the following integers:

1: Deletes files from the workarea only.

0: Indicates no options are set. Default.

g_xtra

String containing additional arguments to be passed to the underlying design management system’s delete command.

Value Returned

t

The files were deleted.

nil

An error occurred and the files were not deleted.

Related Topics

gdmCreateSpec

gdmdelete


Return to top
 ⠀
X