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

gdmsetdefver

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

Description

Sets g_version as the default version of the library, cell, view, directory, or file that G_gdmSpec represents.

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

Arguments

G_gdmSpec

The gdmSpec object of the library, cell, view, directory, or file whose default version you want to set.

q_gdmSpecList

A gdmSpecList object containing gdmSpec objects.

g_version

The version to set as the default version of the files; specified as a string.

g_name

The name, such as an RCS tag, that identifies a set of files. If you specify this argument, the default version is applied only to this set of files.

x_gdmOptions

This argument is currently ignored. The default is the integer 0.

g_xtra

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

Value Returned

t

The default version was set for the files.

nil

An error occurred and the default version was not set for the files.

Related Topics

gdmCreateSpec

gdmsetdefver


Return to top
 ⠀
X