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

verifGetDocuments

verifGetDocuments(
g_sessionId 
[ g_relative ]
)
=> l_names / nil

Description

Returns the list of files that have been added to the documents directory of the Verifier cellview.

Arguments

g_sessionId

Integer, string number, or window specifying the Verifier session ID. For example, 0, "0", or window(2).

g_relative

Determines whether to add the relative location of the file within the cellview to the document or not. If it is nil then the relative location of the file is not added to the list of file names.

Value Returned

l_names

List of files saved in the documents directory of the Verifier cellview.

nil

The list of files does not exist or cannot be retrieved.

Examples

Opens a Verifier cellview and retrieves the list of document files added to the current session.

uid = verifOpenCellView("test" "sample" "verifier")
=> 0

Gets the documents. In this case, there are none.

verifGetDocuments(sess) 
=> nil

Adds file.txt from the current directory to the session.

verifAddDocument(sess "file.txt") 
=> "documents/file.txt"

Adds spec.pdf from the current directory to the session and returns the list of files added to the documents directory.

verifAddDocument(sess "spec.pdf")
=> "documents/spec.pdf"

Related Topics

verifAddDocument

verifAddImage

verifDocumentExists

verifGetImages

verifImageExists

verifRemoveDocument

verifRemoveImage


Return to top
 ⠀
X