Product Documentation
Virtuoso ADE Verifier SKILL Reference
Product Version IC23.1, November 2023

slaSaveAndCloseView

slaSaveAndCloseView(
[ ?overrideDM g_overrideDM ]
[ ?autoCheckInNewView g_autoCheckInNewView ]
[ ?checkInComment g_checkInComment ]
)
=> t / nil

Description

Saves the specified view after editing. If a setup library view has been opened with the slaOpenOrCreateView function, the slaSaveAndCloseView function must be invoked after adding or removing components in the setup library assistant to save all the changes in the setupdb. Invoking the slaSaveAndCloseView() function releases or checks in the ADE Verifier license.

Arguments

?overrideDM g_overrideDM

Boolean value that checks if the view can be checked in automatically in a DM setup. When set to the default value of nil, it checks in the view if the DM allows it. In such a case, the view is checked in automatically without a prompt. Otherwise, the view is not checked in and remains unmanaged. The DM settings are overridden when set to t.

?autoCheckInNewView g_autoCheckInNewView

Boolean value that when set to t, ignores the DM settings and checks in the view with or without comments. The default is nil.

?checkInComment g_checkInComment

String value that specifies any comments.

Value Returned

t

The specified view was saved.

nil

The specified view could not be saved.

Examples

The following example saves and closes the open setup library view and checks in or releases the Verifier license.

slaOpenOrCreateView("bertlink" "osc13" "setupLib") 
=> t
slaSaveAndCloseView()
=> t

Related Topics

slaOpenOrCreateView

Setup Library Assistant Functions


Return to top
 ⠀
X