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

gdmupdate

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

Description

Makes files in the workarea available for reading. Co-managed files are updated in the same grouping in which they were checked in; co-managed behavior applies only if G_gdmSpec consists of library elements.

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 gdmupdate shell command.

Arguments

G_gdmSpec

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

q_gdmSpecList

A gdmSpecList object containing gdmSpec objects.

g_version

The version of the files to update. If you specify this argument, do not specify g_name.

g_name

The name associated with the files; specified as a string. This is equivalent to an RCS tag name or a TDM release name.

If you specify this argument, you must specify nil as the value of the g_version argument.

x_gdmOptions

One of the following integers:

1: Forces an update even if there are modified files in the workarea. Modified files in the workarea are overwritten and any unmanaged files within the comanaged set are deleted.

0: Indicates no options are set. Default.

g_xtra

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

Value Returned

t

The files were updated.

nil

An error occurred and the files were not updated.

Related Topics

gdmCreateSpec


Return to top
 ⠀
X