Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

cleGetUserTriggers

cleGetUserTriggers(
[ s_userTriggerSymbol ]
)
=> r_infoObj / t_procName / nil

Description

Retrieves the name of the user-defined callback registered using cleRegUserTriggers.

Arguments

s_userTriggerSymbol

User-defined callback whose name you want to retrieve.

Value Returned

r_infoObj

The object containing the user-defined callbacks. Use the following command to query this information:

r_infoObj~>??

t_procName

Name of the procedure if the user-defined callback is specified.

nil

No user-defined callback is registered.

Examples

Returns nil because no callback is registered for cvInitProc.

cleGetUserTriggers(stringToSymbol("cvInitProc"))
=> nil

Returns name of the procedure registered for the callback postImportProc

cleRegUserTriggers(?postImportProc "myTestPostImportProc")
cleGetUserTriggers(stringToSymbol("postImportProc"))
=> "myTestPostImportProc"

Returns all registered user-defined callbacks.

cleRegUserTriggers(?postInstallProc "myTestPostInstallProc"
?postImportProc "myTestPostImportProc"
?postSipProc "myTestPostSipProc")
cleGetUserTriggers()~>??
=>(postInstallProc "myTestPostInstallProc" postImportProc "myTestPostImportProc"
postOpenProc nil cvInitProc nil checkCvUpdateProc nil rmbMenuProc nil
hierEditSetupProc nil defLayerProc nil postClearAllProc nil postSipProc "myTestPostSipProc"
postCreateProc nil postSubmitProc nil postRejectProc nil postCommitProc nil preOpenScratchProc nil
)

Related Topics

cleRegUserTriggers


Return to top
 ⠀
X